Module Name: src Committed By: skrll Date: Tue Oct 18 04:39:38 UTC 2022
Modified Files: src/sys/arch/riscv/include: pmap.h Log Message: Correct XSEGSHIFT for RV32 case To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/riscv/include/pmap.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/pmap.h diff -u src/sys/arch/riscv/include/pmap.h:1.11 src/sys/arch/riscv/include/pmap.h:1.12 --- src/sys/arch/riscv/include/pmap.h:1.11 Sat Oct 15 06:41:43 2022 +++ src/sys/arch/riscv/include/pmap.h Tue Oct 18 04:39:38 2022 @@ -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)