diff options
Diffstat (limited to 'sys/arch/sparc/include/vmparam.h')
-rw-r--r-- | sys/arch/sparc/include/vmparam.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/sparc/include/vmparam.h b/sys/arch/sparc/include/vmparam.h index dc35ede11e3..8557ec3fb71 100644 --- a/sys/arch/sparc/include/vmparam.h +++ b/sys/arch/sparc/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.30 2005/04/11 15:13:01 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.31 2005/04/17 18:47:48 miod Exp $ */ /* $NetBSD: vmparam.h,v 1.13 1997/07/12 16:20:03 perry Exp $ */ /* @@ -53,7 +53,7 @@ * is the top (end) of the user stack. */ #define USRTEXT 0x2000 /* Start of user text */ -#define USRSTACK KERNBASE /* Start of user stack */ +#define USRSTACK VM_MIN_KERNEL_ADDRESS /* Start of user stack */ /* * Virtual memory related constants, all in bytes @@ -90,11 +90,14 @@ * tread with care. */ #define VM_MIN_ADDRESS ((vaddr_t)0) -#define VM_MAX_ADDRESS ((vaddr_t)KERNBASE) -#define VM_MAXUSER_ADDRESS ((vaddr_t)KERNBASE) +#define VM_MAX_ADDRESS ((vaddr_t)VM_MIN_KERNEL_ADDRESS) +#define VM_MAXUSER_ADDRESS ((vaddr_t)VM_MIN_KERNEL_ADDRESS) #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)KERNBASE) #define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0xfe000000) +#define IOSPACE_BASE VM_MAX_KERNEL_ADDRESS +#define IOSPACE_LEN 0x01000000 /* 16 MB of iospace */ + #define VM_PHYSSEG_MAX 32 /* we only have one "hole" */ #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH #define VM_PHYSSEG_NOADD /* can't add RAM after vm_mem_init */ |