summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/include/vmparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvmeppc/include/vmparam.h')
-rw-r--r--sys/arch/mvmeppc/include/vmparam.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/arch/mvmeppc/include/vmparam.h b/sys/arch/mvmeppc/include/vmparam.h
index fb40fb98c50..ebfb2afe779 100644
--- a/sys/arch/mvmeppc/include/vmparam.h
+++ b/sys/arch/mvmeppc/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.9 2002/02/17 22:59:53 maja Exp $ */
+/* $OpenBSD: vmparam.h,v 1.10 2002/06/07 01:01:38 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */
/*-
@@ -87,22 +87,21 @@
#define VM_MIN_ADDRESS ((vm_offset_t)0)
#define VM_MAX_ADDRESS ((vm_offset_t)0xfffff000)
#define VM_MAXUSER_ADDRESS VM_MAX_ADDRESS
-#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)(KERNEL_SR << ADDR_SR_SHFT))
+#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)(KERNEL_SR << ADDR_SR_SHIFT))
/* ppc_kvm_size is so that vm space can be stolen before vm is fully
* initialized.
*/
#define VM_KERN_ADDR_SIZE_DEF SEGMENT_LENGTH
-extern vm_offset_t ppc_kvm_size;
-#define VM_KERN_ADDRESS_SIZE (ppc_kvm_size)
-#define VM_MAX_KERNEL_ADDRESS ((vm_offset_t)((KERNEL_SR << ADDR_SR_SHFT) \
- + SEGMENT_LENGTH))
+extern vm_offset_t ppc_kvm_stolen;
+#define VM_KERN_ADDRESS_SIZE (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)
#define __HAVE_PMAP_PHYSSEG
struct pmap_physseg {
- struct pv_entry *pvent;
+ struct pted_pv_head *pvent;
char *attrs;
/* NULL ??? */
};