vmparam.h (246204) | vmparam.h (246926) |
---|---|
1/* $NetBSD: vmparam.h,v 1.26 2003/08/07 16:27:47 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1988 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * | 1/* $NetBSD: vmparam.h,v 1.26 2003/08/07 16:27:47 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1988 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * |
31 * $FreeBSD: head/sys/arm/include/vmparam.h 246204 2013-02-01 10:26:31Z andre $ | 31 * $FreeBSD: head/sys/arm/include/vmparam.h 246926 2013-02-18 01:02:48Z alc $ |
32 */ 33 34#ifndef _MACHINE_VMPARAM_H_ 35#define _MACHINE_VMPARAM_H_ 36 37 38/*#include <arm/arm32/vmparam.h> 39*/ --- 88 unchanged lines hidden (view full) --- 128#ifndef VM_INITIAL_PAGEIN 129#define VM_INITIAL_PAGEIN 16 130#endif 131 132#ifndef VM_MIN_KERNEL_ADDRESS 133#define VM_MIN_KERNEL_ADDRESS KERNBASE 134#endif 135 | 32 */ 33 34#ifndef _MACHINE_VMPARAM_H_ 35#define _MACHINE_VMPARAM_H_ 36 37 38/*#include <arm/arm32/vmparam.h> 39*/ --- 88 unchanged lines hidden (view full) --- 128#ifndef VM_INITIAL_PAGEIN 129#define VM_INITIAL_PAGEIN 16 130#endif 131 132#ifndef VM_MIN_KERNEL_ADDRESS 133#define VM_MIN_KERNEL_ADDRESS KERNBASE 134#endif 135 |
136#define VM_MAX_KERNEL_ADDRESS 0xffffffff | 136#define VM_MAX_KERNEL_ADDRESS (vm_max_kernel_address) |
137 138/* 139 * Virtual size (bytes) for various kernel submaps. 140 */ 141#ifndef VM_KMEM_SIZE 142#define VM_KMEM_SIZE (12*1024*1024) 143#endif 144#ifndef VM_KMEM_SIZE_SCALE --- 16 unchanged lines hidden (view full) --- 161#ifndef SGROWSIZ 162#define SGROWSIZ (128*1024) 163#endif 164 165#ifdef ARM_USE_SMALL_ALLOC 166#define UMA_MD_SMALL_ALLOC 167#endif /* ARM_USE_SMALL_ALLOC */ 168 | 137 138/* 139 * Virtual size (bytes) for various kernel submaps. 140 */ 141#ifndef VM_KMEM_SIZE 142#define VM_KMEM_SIZE (12*1024*1024) 143#endif 144#ifndef VM_KMEM_SIZE_SCALE --- 16 unchanged lines hidden (view full) --- 161#ifndef SGROWSIZ 162#define SGROWSIZ (128*1024) 163#endif 164 165#ifdef ARM_USE_SMALL_ALLOC 166#define UMA_MD_SMALL_ALLOC 167#endif /* ARM_USE_SMALL_ALLOC */ 168 |
169extern vm_offset_t vm_max_kernel_address; 170 |
|
169#define ZERO_REGION_SIZE (64 * 1024) /* 64KB */ 170 171#endif /* _MACHINE_VMPARAM_H_ */ | 171#define ZERO_REGION_SIZE (64 * 1024) /* 64KB */ 172 173#endif /* _MACHINE_VMPARAM_H_ */ |