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 widen bit PAR_EL1.PAR_PA from [47:1...
details: https://anonhg.NetBSD.org/src/rev/2f0978a8329b
branches: trunk
changeset: 969753:2f0978a8329b
user: ryo <ryo%NetBSD.org@localhost>
date: Sat Feb 29 21:29:23 2020 +0000
description:
widen bit PAR_EL1.PAR_PA from [47:12] to [51:12] for ARMv8.2 (and later).
PAR_EL1:[51:48] is RES0 in ARMv8.1 and ARMv8.0.
diffstat:
sys/arch/aarch64/include/armreg.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 00d68d1a3881 -r 2f0978a8329b sys/arch/aarch64/include/armreg.h
--- a/sys/arch/aarch64/include/armreg.h Sat Feb 29 21:27:19 2020 +0000
+++ b/sys/arch/aarch64/include/armreg.h Sat Feb 29 21:29:23 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: armreg.h,v 1.35 2020/01/31 09:23:58 maxv Exp $ */
+/* $NetBSD: armreg.h,v 1.36 2020/02/29 21:29:23 ryo Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -674,7 +674,8 @@
AARCH64REG_WRITE_INLINE(par_el1)
#define PAR_ATTR __BITS(63,56) // F=0 memory attributes
-#define PAR_PA __BITS(47,12) // F=0 physical address
+#define PAR_PA __BITS(51,12) // F=0 physical address
+#define PAR_PA_SHIFT 12
#define PAR_NS __BIT(9) // F=0 non-secure
#define PAR_S __BIT(9) // F=1 failure stage
#define PAR_SHA __BITS(8,7) // F=0 shareability attribute
Home |
Main Index |
Thread Index |
Old Index