diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-06-24 21:24:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-06-24 21:24:04 +0000 |
commit | eb30d8959a1448ff7a7b73c410533fd80508f0af (patch) | |
tree | cfc8de5d0358f7748bb5089529c342104180deba /sys/arch/arm/include | |
parent | 3adb826ceb6fc3ab73eae18d801296aaefa6c8aa (diff) |
On user/kernel shared page table machines, do not let processes map their
own page 0, as discussed with miod (and many others previously, including
art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant
ok miod tedu
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r-- | sys/arch/arm/include/vmparam.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/include/vmparam.h b/sys/arch/arm/include/vmparam.h index dfce524efa1..cfb23f6bdc4 100644 --- a/sys/arch/arm/include/vmparam.h +++ b/sys/arch/arm/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.3 2005/04/11 15:13:01 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.4 2008/06/24 21:24:03 deraadt Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2003/05/21 18:04:44 thorpej Exp $ */ /* @@ -91,7 +91,7 @@ /* * Mach derived constants */ -#define VM_MIN_ADDRESS ((vaddr_t) 0x00001000) +#define VM_MIN_ADDRESS ((vaddr_t) PAGE_SIZE) #define VM_MAXUSER_ADDRESS ((vaddr_t) ARM_KERNEL_BASE) #define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS |