Module Name: src
Committed By: skrll
Date: Sat Oct 15 06:53:49 UTC 2022
Modified Files:
src/sys/arch/riscv/include: sysreg.h
Log Message:
Fix typo in SATP_MODE_SV64
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/riscv/include/sysreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/riscv/include/sysreg.h
diff -u src/sys/arch/riscv/include/sysreg.h:1.17 src/sys/arch/riscv/include/sysreg.h:1.18
--- src/sys/arch/riscv/include/sysreg.h:1.17 Sat Oct 15 06:52:35 2022
+++ src/sys/arch/riscv/include/sysreg.h Sat Oct 15 06:53:49 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: sysreg.h,v 1.17 2022/10/15 06:52:35 simonb Exp $ */
+/* $NetBSD: sysreg.h,v 1.18 2022/10/15 06:53:49 skrll Exp $ */
/*
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -257,7 +257,7 @@ riscvreg_cycle_read(void)
#define SATP_MODE_SV39 8
#define SATP_MODE_SV48 9
#define SATP_MODE_SV57 10
-#define SATP_MODE_SV64 10
+#define SATP_MODE_SV64 11
#define SATP_ASID __BITS(59,44)
#define SATP_PPN __BITS(43,0)
#else