Module Name: src
Committed By: christos
Date: Sat Dec 5 22:49:50 UTC 2020
Modified Files:
src/sys/arch/hppa/include: proc.h types.h
Log Message:
Use __vaddr_t since we don't expose vaddr_t by default to userland.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/hppa/include/proc.h
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/hppa/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/hppa/include/proc.h
diff -u src/sys/arch/hppa/include/proc.h:1.12 src/sys/arch/hppa/include/proc.h:1.13
--- src/sys/arch/hppa/include/proc.h:1.12 Thu Mar 6 14:02:58 2014
+++ src/sys/arch/hppa/include/proc.h Sat Dec 5 17:49:50 2020
@@ -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 @@ struct mdlwp {
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];
};
Index: src/sys/arch/hppa/include/types.h
diff -u src/sys/arch/hppa/include/types.h:1.28 src/sys/arch/hppa/include/types.h:1.29
--- src/sys/arch/hppa/include/types.h:1.28 Thu Apr 16 05:51:57 2020
+++ src/sys/arch/hppa/include/types.h Sat Dec 5 17:49:50 2020
@@ -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 @@ typedef struct label_t {
} 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;