From caa71d76460ab7df8372d63a5db620ff47d5471e Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 8 Dec 2009 22:15:49 +0000 Subject: Unconditionnaly move kernel virtual memory space to XKSEG, now that previous context.S fixes allows these settings to work for kernels linked in CKSEG0. --- sys/arch/sgi/include/vmparam.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'sys/arch/sgi') 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 #endif /* _SGI_VMPARAM_H_ */ -- cgit v1.2.3