Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/riscv/include Correct XSEGSHIFT for RV32 case



details:   https://anonhg.NetBSD.org/src/rev/2df71cac07b9
branches:  trunk
changeset: 371928:2df71cac07b9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Oct 18 04:39:38 2022 +0000

description:
Correct XSEGSHIFT for RV32 case

diffstat:

 sys/arch/riscv/include/pmap.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4476764074f7 -r 2df71cac07b9 sys/arch/riscv/include/pmap.h
--- a/sys/arch/riscv/include/pmap.h     Tue Oct 18 04:24:54 2022 +0000
+++ b/sys/arch/riscv/include/pmap.h     Tue Oct 18 04:39:38 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.11 2022/10/15 06:41:43 simonb Exp $ */
+/* $NetBSD: pmap.h,v 1.12 2022/10/18 04:39:38 skrll Exp $ */
 
 /*
  * Copyright (c) 2014, 2019, 2021 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
 #define        NXSEGPG         (1 << XSEGLENGTH)
 #else
 #define        PTPSHIFT        2
-#define        XSEGSHIFT       SEGLENGTH
+#define        XSEGSHIFT       SEGSHIFT
 #endif
 
 #define        SEGLENGTH       (PGSHIFT - PTPSHIFT)



Home | Main Index | Thread Index | Old Index