diff options
author | 2007-05-20 20:16:07 +0000 | |
---|---|---|
committer | 2007-05-20 20:16:07 +0000 | |
commit | 8d59e92002f6c23cbe1c65406b45f6dffbcb5a20 (patch) | |
tree | 54a1209aeb0b53e4eb42c45730371eff953c761c /sys | |
parent | Since we no longer use 3 bits but the whole 7 to get the processor revision (diff) | |
download | wireguard-openbsd-8d59e92002f6c23cbe1c65406b45f6dffbcb5a20.tar.xz wireguard-openbsd-8d59e92002f6c23cbe1c65406b45f6dffbcb5a20.zip |
Fix KERNBASE, so that profiling kernels initialize (but profiling is broken
at the moment).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/landisk/include/vmparam.h | 4 | ||||
-rw-r--r-- | sys/arch/sh/include/vmparam.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/landisk/include/vmparam.h b/sys/arch/landisk/include/vmparam.h index 1337e54ff71..5c1f0229582 100644 --- a/sys/arch/landisk/include/vmparam.h +++ b/sys/arch/landisk/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.1.1.1 2006/10/06 21:16:15 miod Exp $ */ +/* $OpenBSD: vmparam.h,v 1.2 2007/05/20 20:16:07 miod Exp $ */ /* $NetBSD: vmparam.h,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ #ifndef _LANDISK_VMPARAM_H_ @@ -6,6 +6,8 @@ #include <sh/vmparam.h> +#define KERNBASE 0x8c000000 + #define VM_PHYSSEG_MAX 1 #define VM_PHYSSEG_NOADD #define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM diff --git a/sys/arch/sh/include/vmparam.h b/sys/arch/sh/include/vmparam.h index deeab7b3af8..0d627575faa 100644 --- a/sys/arch/sh/include/vmparam.h +++ b/sys/arch/sh/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.2 2006/10/14 18:40:06 drahn Exp $ */ +/* $OpenBSD: vmparam.h,v 1.3 2007/05/20 20:16:08 miod Exp $ */ /* $NetBSD: vmparam.h,v 1.17 2006/03/04 01:55:03 uwe Exp $ */ /*- @@ -50,7 +50,6 @@ /* top of stack */ #define USRSTACK VM_MAXUSER_ADDRESS -#define KERNBASE VM_MIN_KERNEL_ADDRESS /* Virtual memory resoruce limit. */ #define MAXTSIZ (64 * 1024 * 1024) /* max text size */ |