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/40f17cde3661
branches:  trunk
changeset: 1023888:40f17cde3661
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 4b82fd97c21c -r 40f17cde3661 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