summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-12-08 22:15:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-12-08 22:15:49 +0000
commitcaa71d76460ab7df8372d63a5db620ff47d5471e (patch)
tree541edf8a474be69a9c1db2a1d4f9ee6915068c7a /sys/arch/sgi
parent4f4728bc5efedd7cf428af6253b79794372f70e4 (diff)
Unconditionnaly move kernel virtual memory space to XKSEG, now that previous
context.S fixes allows these settings to work for kernels linked in CKSEG0.
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/include/vmparam.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/arch/sgi/include/vmparam.h b/sys/arch/sgi/include/vmparam.h
index 6ffb53aa6c9..174c25f9573 100644
--- a/sys/arch/sgi/include/vmparam.h
+++ b/sys/arch/sgi/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.6 2009/11/22 10:05:02 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.7 2009/12/08 22:15:48 miod Exp $ */
/* public domain */
#ifndef _SGI_VMPARAM_H_
#define _SGI_VMPARAM_H_
@@ -19,24 +19,6 @@
#define VM_NFREELIST 2
#define VM_FREELIST_DMA32 1 /* memory suitable for 32-bit DMA */
-/*
- * On systems which may use R5000 processors, we limit the kernel virtual
- * address space to KSSEG and KSEG3.
- * On systems with R10000 family processors, we use the XKSEG which allows
- * for a much larger virtual memory size.
- *
- * All Octane and Origin class systems are R10000 family based only,
- * so TGT_COHERENT is safe to use so far.
- */
-
-#ifdef TGT_COHERENT
-#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xc000000000000000L)
-#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0xc000000040000000L)
-#else
-#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xffffffffc0000000L)
-#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0xfffffffffffff000L)
-#endif
-
#include <mips64/vmparam.h>
#endif /* _SGI_VMPARAM_H_ */