diff options
| author | matt <matt@NetBSD.org> | 2003-02-06 23:01:32 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2003-02-06 23:01:32 +0000 |
| commit | 42b98bbd458165a4e2773f51fdfa75f9f41ec455 (patch) | |
| tree | a0c162dd40f065382fc958aee3109ffa5e9361df /sys | |
| parent | c766d3b064b521cc1d2d29adeb3c3ca8a7f1e11e (diff) | |
Allow KERNEL_SR/KERNEL2_SR to be overriden (I run a kernel with
the mapped space at 0x8000000-0x9fffffff).
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/powerpc/include/oea/vmparam.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/powerpc/include/oea/vmparam.h b/sys/arch/powerpc/include/oea/vmparam.h index a55c670f626..34e884d1e0c 100644 --- a/sys/arch/powerpc/include/oea/vmparam.h +++ b/sys/arch/powerpc/include/oea/vmparam.h @@ -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) |
