Module Name: src Committed By: skrll Date: Tue Oct 18 07:07:51 UTC 2022
Modified Files: src/sys/arch/riscv/include: types.h Log Message: VSXLEN=64 supports 16-bit ASID space so change tlb_asid_t to be big enough. Spotted by Simon. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/riscv/include/types.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/types.h diff -u src/sys/arch/riscv/include/types.h:1.13 src/sys/arch/riscv/include/types.h:1.14 --- src/sys/arch/riscv/include/types.h:1.13 Sun Sep 11 15:31:12 2022 +++ src/sys/arch/riscv/include/types.h Tue Oct 18 07:07:51 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.13 2022/09/11 15:31:12 skrll Exp $ */ +/* $NetBSD: types.h,v 1.14 2022/10/18 07:07:51 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -63,7 +63,7 @@ typedef signed int register32_t; typedef unsigned int uregister32_t; #define PRIxREGISTER32 "x" -typedef unsigned short tlb_asid_t; +typedef unsigned int tlb_asid_t; #endif #if defined(_KERNEL)