Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/include Export NBSG for bootloaders. MMU is en...
details: https://anonhg.NetBSD.org/src/rev/dbe5b447d4c7
branches: trunk
changeset: 749871:dbe5b447d4c7
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Dec 11 18:40:08 2009 +0000
description:
Export NBSG for bootloaders. MMU is enabled even on PROM on sun68k machines.
diffstat:
sys/arch/sun3/include/pmap3.h | 6 +++---
sys/arch/sun3/include/pmap3x.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r da01d08dbb49 -r dbe5b447d4c7 sys/arch/sun3/include/pmap3.h
--- a/sys/arch/sun3/include/pmap3.h Fri Dec 11 18:31:27 2009 +0000
+++ b/sys/arch/sun3/include/pmap3.h Fri Dec 11 18:40:08 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap3.h,v 1.46 2009/12/11 13:52:57 tsutsui Exp $ */
+/* $NetBSD: pmap3.h,v 1.47 2009/12/11 18:40:08 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -95,6 +95,8 @@
#define PMAP_NC 0x10 /* tells pmap_enter to set PG_NC */
#define PMAP_SPEC 0x1C /* mask to get all above. */
+#endif /* _KERNEL */
+
/* MMU specific segment size */
#define SEGSHIFT 17 /* LOG2(NBSG) */
#define NBSG (1 << SEGSHIFT) /* bytes/segment */
@@ -103,5 +105,3 @@
#define sun3_round_seg(x) ((((vaddr_t)(x)) + SEGOFSET) & ~SEGOFSET)
#define sun3_trunc_seg(x) ((vaddr_t)(x) & ~SEGOFSET)
#define sun3_seg_offset(x) ((vaddr_t)(x) & SEGOFSET)
-
-#endif /* _KERNEL */
diff -r da01d08dbb49 -r dbe5b447d4c7 sys/arch/sun3/include/pmap3x.h
--- a/sys/arch/sun3/include/pmap3x.h Fri Dec 11 18:31:27 2009 +0000
+++ b/sys/arch/sun3/include/pmap3x.h Fri Dec 11 18:40:08 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap3x.h,v 1.27 2009/12/11 13:52:57 tsutsui Exp $ */
+/* $NetBSD: pmap3x.h,v 1.28 2009/12/11 18:40:08 tsutsui Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -79,6 +79,8 @@
#define PMAP_VME32 0x20 /* etc. */
#define PMAP_NC 0x40 /* tells pmap_enter to set PTE_CI */
#define PMAP_SPEC 0xFF /* mask to get all above. */
+
+#endif /* _KERNEL */
/* MMU specific segment size */
#define SEGSHIFT 19 /* LOG2(NBSG) */
@@ -88,5 +90,3 @@
#define sun3x_round_seg(x) ((((vaddr_t)(x)) + SEGOFSET) & ~SEGOFSET)
#define sun3x_trunc_seg(x) ((vaddr_t)(x) & ~SEGOFSET)
#define sun3x_seg_offset(x) ((vaddr_t)(x) & SEGOFSET)
-
-#endif /* _KERNEL */
Home |
Main Index |
Thread Index |
Old Index