summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/include
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-06-24 22:35:57 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-06-24 22:35:57 +0000
commitf02777d3423dc56f57ca38be206942d1a6012150 (patch)
tree63c6eeab224da9f1a47b6f772e0acd219574c4dd /sys/arch/macppc/include
parent956816507b79c80359f676418f22524f980c68fe (diff)
Do a better job at containing powerpc specific #defines to PPC_...
ok deraadt@
Diffstat (limited to 'sys/arch/macppc/include')
-rw-r--r--sys/arch/macppc/include/vmparam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/include/vmparam.h b/sys/arch/macppc/include/vmparam.h
index e54a04e3a10..24a886db06a 100644
--- a/sys/arch/macppc/include/vmparam.h
+++ b/sys/arch/macppc/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.12 2004/01/23 21:20:54 millert Exp $ */
+/* $OpenBSD: vmparam.h,v 1.13 2004/06/24 22:35:56 drahn Exp $ */
/* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */
/*-
@@ -87,13 +87,13 @@
#define VM_MIN_ADDRESS ((vm_offset_t)0)
#define VM_MAXUSER_ADDRESS ((vm_offset_t)0xfffff000)
#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS
-#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)(KERNEL_SR << ADDR_SR_SHIFT))
+#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)(PPC_KERNEL_SR << ADDR_SR_SHIFT))
/* ppc_kvm_stolen is so that vm space can be stolen before vm is fully
* initialized.
*/
extern vm_offset_t ppc_kvm_stolen;
-#define VM_KERN_ADDRESS_SIZE (SEGMENT_LENGTH - (32 * 1024 * 1024))
+#define VM_KERN_ADDRESS_SIZE (PPC_SEGMENT_LENGTH - (32 * 1024 * 1024))
#define VM_MAX_KERNEL_ADDRESS (VM_MIN_KERNEL_ADDRESS + VM_KERN_ADDRESS_SIZE)
#define VM_PHYS_SIZE (USRIOSIZE * PAGE_SIZE)