Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/include CNTV_CTL_EL0 is a 64-bit register



details:   https://anonhg.NetBSD.org/src/rev/d0aeec02bd6d
branches:  trunk
changeset: 984032:d0aeec02bd6d
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jun 19 13:38:21 2021 +0000

description:
CNTV_CTL_EL0 is a 64-bit register

diffstat:

 sys/arch/aarch64/include/armreg.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 32704b90c64d -r d0aeec02bd6d sys/arch/aarch64/include/armreg.h
--- a/sys/arch/aarch64/include/armreg.h Sat Jun 19 11:01:23 2021 +0000
+++ b/sys/arch/aarch64/include/armreg.h Sat Jun 19 13:38:21 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: armreg.h,v 1.55 2021/03/09 16:41:43 ryo Exp $ */
+/* $NetBSD: armreg.h,v 1.56 2021/06/19 13:38:21 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -1506,7 +1506,7 @@
 /*
  * Counter-timer Virtual Timer Control register
  */
-static __inline uint32_t
+static __inline uint64_t
 gtmr_cntv_ctl_read(void)
 {
 
@@ -1514,7 +1514,7 @@
 }
 
 static __inline void
-gtmr_cntv_ctl_write(uint32_t val)
+gtmr_cntv_ctl_write(uint64_t val)
 {
 
        reg_cntv_ctl_el0_write(val);



Home | Main Index | Thread Index | Old Index