aboutsummaryrefslogtreecommitdiff
path: root/riscv/encoding.h
diff options
context:
space:
mode:
authorDaniel Lustig <dlustig@nvidia.com>2021-06-07 16:18:17 -0400
committerGitHub <noreply@github.com>2021-06-07 13:18:17 -0700
commit0e4b5cbc25e27ccb8e7a1bebf08111c0f5e9bebe (patch)
tree74549f5f40d485a59e967cd600db02b6c490d85f /riscv/encoding.h
parenta21b6dd7aca9345a61f109c04f28b682dd0c67aa (diff)
downloadspike-0e4b5cbc25e27ccb8e7a1bebf08111c0f5e9bebe.zip
spike-0e4b5cbc25e27ccb8e7a1bebf08111c0f5e9bebe.tar.gz
spike-0e4b5cbc25e27ccb8e7a1bebf08111c0f5e9bebe.tar.bz2
PTE N bit moved from bit 62 to bit 63 (#724)
Diffstat (limited to 'riscv/encoding.h')
-rw-r--r--riscv/encoding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/encoding.h b/riscv/encoding.h
index ebd401c..dfc3b75 100644
--- a/riscv/encoding.h
+++ b/riscv/encoding.h
@@ -221,7 +221,7 @@
#define PTE_A 0x040 /* Accessed */
#define PTE_D 0x080 /* Dirty */
#define PTE_SOFT 0x300 /* Reserved for Software */
-#define PTE_N 0x4000000000000000 /* Svnapot: NAPOT translation contiguity */
+#define PTE_N 0x8000000000000000 /* Svnapot: NAPOT translation contiguity */
#define PTE_PPN_SHIFT 10