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 VSXLEN=64 supports 16-bit ASID space ...
details: https://anonhg.NetBSD.org/src/rev/357632366002
branches: trunk
changeset: 371931:357632366002
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Oct 18 07:07:51 2022 +0000
description:
VSXLEN=64 supports 16-bit ASID space so change tlb_asid_t to be big
enough. Spotted by Simon.
diffstat:
sys/arch/riscv/include/types.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b7acf3b0785d -r 357632366002 sys/arch/riscv/include/types.h
--- a/sys/arch/riscv/include/types.h Tue Oct 18 06:46:51 2022 +0000
+++ b/sys/arch/riscv/include/types.h Tue Oct 18 07:07:51 2022 +0000
@@ -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 unsigned int uregister32_t;
#define PRIxREGISTER32 "x"
-typedef unsigned short tlb_asid_t;
+typedef unsigned int tlb_asid_t;
#endif
#if defined(_KERNEL)
Home |
Main Index |
Thread Index |
Old Index