diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-10-24 20:26:59 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-10-24 20:26:59 +0000 |
commit | 9c0de5751af79907b788b903e8392a90ce6330d0 (patch) | |
tree | 72c029a50e5bfd52d7b859b3e5f10f59f9b169ee /sys/arch/sparc64/include | |
parent | 0ccbb2982f76d6381da3024206cf8f92c18d3acf (diff) |
Bring phys_map to sparc64 and use it in vmapbuf(9) and vunmapbuf(9).
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r-- | sys/arch/sparc64/include/vmparam.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/vmparam.h b/sys/arch/sparc64/include/vmparam.h index 67f40a85682..28e3eeea104 100644 --- a/sys/arch/sparc64/include/vmparam.h +++ b/sys/arch/sparc64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.27 2014/10/09 04:01:27 tedu Exp $ */ +/* $OpenBSD: vmparam.h,v 1.28 2014/10/24 20:26:58 kettenis Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2001/05/01 02:19:19 thorpej Exp $ */ /* @@ -94,6 +94,11 @@ #endif /* + * Size of User Raw I/O map + */ +#define USRIOSIZE 300 + +/* * Mach derived constants */ @@ -111,6 +116,9 @@ #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)KERNBASE) #define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0x000007ffffffffffL) +/* virtual sizes (bytes) for various kernel submaps */ +#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE) + #define VM_PHYSSEG_MAX 32 /* up to 32 segments */ #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH #define VM_PHYSSEG_NOADD /* can't add RAM after vm_mem_init */ |