diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-02-10 10:02:56 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-02-10 10:02:56 +0000 |
commit | b8e3ef2e3f3091afe32c7e1ce5769da09e7c6d1b (patch) | |
tree | 10dd628af6cf2eb8fd46c399a9c41b298ef1caf7 /sys | |
parent | 642eb3d927c580f8506b55d81a12b4805c35eed0 (diff) |
increase min address to page size for all remaining min == 0 systems.
not necessary, but consistent with other platforms. ok deraadt
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/include/vmparam.h | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/include/vmparam.h | 4 | ||||
-rw-r--r-- | sys/arch/m88k/include/vmparam.h | 4 | ||||
-rw-r--r-- | sys/arch/macppc/include/vmparam.h | 4 | ||||
-rw-r--r-- | sys/arch/socppc/include/vmparam.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/include/vmparam.h | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/hppa/include/vmparam.h b/sys/arch/hppa/include/vmparam.h index 3977431aa85..66659a8b50a 100644 --- a/sys/arch/hppa/include/vmparam.h +++ b/sys/arch/hppa/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.45 2014/10/09 04:01:27 tedu Exp $ */ +/* $OpenBSD: vmparam.h,v 1.46 2015/02/10 10:02:55 tedu Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -74,7 +74,7 @@ #endif /* user/kernel map constants */ -#define VM_MIN_ADDRESS ((vaddr_t)0) +#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAXUSER_ADDRESS ((vaddr_t)0xc0000000) #define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xc0001000) diff --git a/sys/arch/hppa64/include/vmparam.h b/sys/arch/hppa64/include/vmparam.h index 98712fb5425..519eac70176 100644 --- a/sys/arch/hppa64/include/vmparam.h +++ b/sys/arch/hppa64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.13 2014/10/09 04:01:27 tedu Exp $ */ +/* $OpenBSD: vmparam.h,v 1.14 2015/02/10 10:02:55 tedu Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -74,7 +74,7 @@ #endif /* user/kernel map constants */ -#define VM_MIN_ADDRESS ((vaddr_t)0) +#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAXUSER_ADDRESS ((vaddr_t)0x20000000000UL) #define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0x1000000000UL) diff --git a/sys/arch/m88k/include/vmparam.h b/sys/arch/m88k/include/vmparam.h index 46f475f484a..785d345bf53 100644 --- a/sys/arch/m88k/include/vmparam.h +++ b/sys/arch/m88k/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.18 2014/10/09 04:01:27 tedu Exp $ */ +/* $OpenBSD: vmparam.h,v 1.19 2015/02/10 10:02:55 tedu Exp $ */ /* * Mach Operating System * Copyright (c) 1992 Carnegie Mellon University @@ -71,7 +71,7 @@ #define SHMMAXPGS 1024 #endif -#define VM_MIN_ADDRESS ((vaddr_t)0) +#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAX_ADDRESS ((vaddr_t)0xfffff000) #define VM_MAXUSER_ADDRESS VM_MAX_ADDRESS diff --git a/sys/arch/macppc/include/vmparam.h b/sys/arch/macppc/include/vmparam.h index 87bbaf5bf1e..3cf3a83caab 100644 --- a/sys/arch/macppc/include/vmparam.h +++ b/sys/arch/macppc/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.29 2014/10/09 04:01:27 tedu Exp $ */ +/* $OpenBSD: vmparam.h,v 1.30 2015/02/10 10:02:55 tedu Exp $ */ /* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */ /*- @@ -79,7 +79,7 @@ /* * Would like to have MAX addresses = 0, but this doesn't (currently) work */ -#define VM_MIN_ADDRESS ((vaddr_t)0) +#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAXUSER_ADDRESS ((vaddr_t)0xfffff000) #define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)(PPC_KERNEL_SR << ADDR_SR_SHIFT)) diff --git a/sys/arch/socppc/include/vmparam.h b/sys/arch/socppc/include/vmparam.h index 93ddca9753a..3c765fc2216 100644 --- a/sys/arch/socppc/include/vmparam.h +++ b/sys/arch/socppc/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.11 2014/10/09 04:01:27 tedu Exp $ */ +/* $OpenBSD: vmparam.h,v 1.12 2015/02/10 10:02:55 tedu Exp $ */ /* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */ /*- @@ -79,7 +79,7 @@ /* * Would like to have MAX addresses = 0, but this doesn't (currently) work */ -#define VM_MIN_ADDRESS ((vaddr_t)0) +#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAXUSER_ADDRESS ((vaddr_t)0xfffff000) #define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)(PPC_KERNEL_SR << ADDR_SR_SHIFT)) diff --git a/sys/arch/sparc64/include/vmparam.h b/sys/arch/sparc64/include/vmparam.h index 65b9f930b9e..21b0c5c8b63 100644 --- a/sys/arch/sparc64/include/vmparam.h +++ b/sys/arch/sparc64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.30 2015/02/08 03:48:25 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.31 2015/02/10 10:02:55 tedu Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2001/05/01 02:19:19 thorpej Exp $ */ /* @@ -105,7 +105,7 @@ /* * User/kernel map constants. */ -#define VM_MIN_ADDRESS ((vaddr_t)0) +#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAX_ADDRESS ((vaddr_t)-1) #define VM_MAXUSER_ADDRESS ((vaddr_t)-1) |