Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include Make tlb_asid_t unsigned int as pma...



details:   https://anonhg.NetBSD.org/src/rev/0d29d2f16f1f
branches:  trunk
changeset: 987525:0d29d2f16f1f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Sep 30 18:33:28 2021 +0000

description:
Make tlb_asid_t unsigned int as pmap_tlb.c expects tlb_asid_t to be able to
hold ASID_MAX + 1.

diffstat:

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

diffs (18 lines):

diff -r 7d9817ed1d81 -r 0d29d2f16f1f sys/arch/aarch64/include/types.h
--- a/sys/arch/aarch64/include/types.h  Thu Sep 30 15:54:55 2021 +0000
+++ b/sys/arch/aarch64/include/types.h  Thu Sep 30 18:33:28 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.18 2021/03/24 05:00:24 simonb Exp $ */
+/* $NetBSD: types.h,v 1.19 2021/09/30 18:33:28 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
 #define PRIxREGISTER   PRIx64
 #define PRIxREGISTER32 PRIx32
 
-typedef unsigned short tlb_asid_t;
+typedef unsigned int   tlb_asid_t;
 
 #if defined(_KERNEL)
 #define LBL_X19        0



Home | Main Index | Thread Index | Old Index