Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/x68k/include Pullup rev.1.16. Approved by tho...
details: https://anonhg.NetBSD.org/src/rev/0413fe150745
branches: netbsd-1-5
changeset: 489331:0413fe150745
user: minoura <minoura%NetBSD.org@localhost>
date: Thu Aug 31 15:00:36 2000 +0000
description:
Pullup rev.1.16. Approved by thorpej.
Add #ifdef _KERNEL ~ #endif to protect kernel variables from userland.
diffstat:
sys/arch/x68k/include/pmap.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r c1d4b5e2c5b7 -r 0413fe150745 sys/arch/x68k/include/pmap.h
--- a/sys/arch/x68k/include/pmap.h Thu Aug 31 14:58:06 2000 +0000
+++ b/sys/arch/x68k/include/pmap.h Thu Aug 31 15:00:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.15 2000/05/14 14:10:09 minoura Exp $ */
+/* $NetBSD: pmap.h,v 1.15.4.1 2000/08/31 15:00:36 minoura Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -132,6 +132,8 @@
struct pv_entry pvp_pv[NPVPPG];
};
+#ifdef _KERNEL
+
extern struct pmap kernel_pmap_store;
#define pmap_kernel() (&kernel_pmap_store)
@@ -159,4 +161,6 @@
void pmap_zero_page_uncached __P((paddr_t));
#define PMAP_PAGEIDLEZERO(pa) pmap_zero_page_uncached((pa))
+#endif /* _KERNEL */
+
#endif /* !_X68K_PMAP_H_ */
Home |
Main Index |
Thread Index |
Old Index