From 944e51610ae3b148786216db6f7ce0c56b31ee72 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 7 Jun 2021 13:17:42 -0700 Subject: Update PTE_N encoding See https://github.com/riscv/riscv-isa-sim/pull/724 --- encoding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoding.h b/encoding.h index a8cfb9e..53835bc 100644 --- a/encoding.h +++ b/encoding.h @@ -216,7 +216,7 @@ #define PTE_A 0x040 /* Accessed */ #define PTE_D 0x080 /* Dirty */ #define PTE_SOFT 0x300 /* Reserved for Software */ -#define PTE_N 0x4000000000000000 /* Zsn: NAPOT translation contiguity */ +#define PTE_N 0x8000000000000000 /* Svnapot: NAPOT translation contiguity */ #define PTE_PPN_SHIFT 10 -- cgit v1.1