Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/oea Allow KERNEL_SR/KERNEL2_SR to b...



details:   https://anonhg.NetBSD.org/src/rev/9ddadc982597
branches:  trunk
changeset: 542780:9ddadc982597
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Feb 06 23:01:32 2003 +0000

description:
Allow KERNEL_SR/KERNEL2_SR to be overriden (I run a kernel with
the mapped space at 0x8000000-0x9fffffff).

diffstat:

 sys/arch/powerpc/include/oea/vmparam.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 6be2b84aa7d8 -r 9ddadc982597 sys/arch/powerpc/include/oea/vmparam.h
--- a/sys/arch/powerpc/include/oea/vmparam.h    Thu Feb 06 23:00:15 2003 +0000
+++ b/sys/arch/powerpc/include/oea/vmparam.h    Thu Feb 06 23:01:32 2003 +0000
@@ -126,8 +126,12 @@
 #ifndef USER_SR
 #define        USER_SR                 12
 #endif
+#ifndef KERNEL_SR
 #define        KERNEL_SR               13
+#endif
+#ifndef KERNEL2_SR
 #define        KERNEL2_SR              14
+#endif
 #define        KERNEL2_SEGMENT         VSID_MAKE(KERNEL2_SR, KERNEL_VSIDBITS)
 #define        KERNEL_VSIDBITS         0xfffff
 #define        KERNEL_SEGMENT          VSID_MAKE(KERNEL_SR, KERNEL_VSIDBITS)



Home | Main Index | Thread Index | Old Index