Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/include Use __vaddr_t since we don't expose va...



details:   https://anonhg.NetBSD.org/src/rev/37586886b889
branches:  trunk
changeset: 946673:37586886b889
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 05 22:49:50 2020 +0000

description:
Use __vaddr_t since we don't expose vaddr_t by default to userland.

diffstat:

 sys/arch/hppa/include/proc.h  |  4 ++--
 sys/arch/hppa/include/types.h |  6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r add6df68e4b9 -r 37586886b889 sys/arch/hppa/include/proc.h
--- a/sys/arch/hppa/include/proc.h      Sat Dec 05 22:44:57 2020 +0000
+++ b/sys/arch/hppa/include/proc.h      Sat Dec 05 22:49:50 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.12 2014/03/06 19:02:58 skrll Exp $  */
+/*     $NetBSD: proc.h,v 1.13 2020/12/05 22:49:50 christos Exp $       */
 
 /*     $OpenBSD: proc.h,v 1.4 2009/12/29 13:11:40 jsing Exp $ */
 
@@ -44,7 +44,7 @@
        volatile int    md_astpending;          /* AST pending for this LWP */
        int             md_flags;               /* machine-dependent flags */
 
-       vaddr_t         md_bpva;
+       __vaddr_t       md_bpva;
        unsigned int    md_bpsave[2];
 };
 
diff -r add6df68e4b9 -r 37586886b889 sys/arch/hppa/include/types.h
--- a/sys/arch/hppa/include/types.h     Sat Dec 05 22:44:57 2020 +0000
+++ b/sys/arch/hppa/include/types.h     Sat Dec 05 22:49:50 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.28 2020/04/16 09:51:57 skrll Exp $ */
+/*     $NetBSD: types.h,v 1.29 2020/12/05 22:49:50 christos Exp $      */
 
 /*     $OpenBSD: types.h,v 1.6 2001/08/11 01:58:34 art Exp $   */
 
@@ -49,11 +49,13 @@
 } label_t;
 #endif
 
+typedef        unsigned long           __vaddr_t;
+
 #if defined(_KERNEL) || defined(_KMEMUSER) || defined(_KERNTYPES) || defined(_STANDALONE)
 typedef        unsigned long           hppa_hpa_t;
 typedef        unsigned long           hppa_spa_t;
 typedef        unsigned int            pa_space_t;
-typedef        unsigned long           vaddr_t;
+typedef        __vaddr_t               vaddr_t;
 typedef        unsigned long           vsize_t;
 typedef        unsigned long           paddr_t;
 typedef        unsigned long           psize_t;



Home | Main Index | Thread Index | Old Index