vmparam.h (106486) | vmparam.h (115084) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/vmparam.h 106486 2002-11-06 04:47:38Z marcel $ */ | 1/* $FreeBSD: head/sys/ia64/include/vmparam.h 115084 2003-05-16 21:26:42Z marcel $ */ |
2/* From: NetBSD: vmparam.h,v 1.6 1997/09/23 23:23:23 mjacob Exp */ 3#ifndef _MACHINE_VMPARAM_H 4#define _MACHINE_VMPARAM_H 5/* 6 * Copyright (c) 1988 University of Utah. 7 * Copyright (c) 1992, 1993 8 * The Regents of the University of California. All rights reserved. 9 * --- 35 unchanged lines hidden (view full) --- 45 */ 46 47/* 48 * Machine dependent constants for ia64. 49 */ 50/* 51 * USRTEXT is the start of the user text/data space, while USRSTACK 52 * is the top (end) of the user stack. Immediately above the user stack | 2/* From: NetBSD: vmparam.h,v 1.6 1997/09/23 23:23:23 mjacob Exp */ 3#ifndef _MACHINE_VMPARAM_H 4#define _MACHINE_VMPARAM_H 5/* 6 * Copyright (c) 1988 University of Utah. 7 * Copyright (c) 1992, 1993 8 * The Regents of the University of California. All rights reserved. 9 * --- 35 unchanged lines hidden (view full) --- 45 */ 46 47/* 48 * Machine dependent constants for ia64. 49 */ 50/* 51 * USRTEXT is the start of the user text/data space, while USRSTACK 52 * is the top (end) of the user stack. Immediately above the user stack |
53 * resides the user structure, which is UPAGES long and contains the 54 * kernel stack. | 53 * resides the syscall gateway page. |
55 */ 56#define USRTEXT CLBYTES | 54 */ 55#define USRTEXT CLBYTES |
57#define USRSTACK VM_MAXUSER_ADDRESS | 56#define USRSTACK VM_MAX_ADDRESS |
58 59/* 60 * Virtual memory related constants, all in bytes 61 */ 62#ifndef MAXTSIZ 63#define MAXTSIZ (1<<30) /* max text size (1G) */ 64#endif 65#ifndef DFLDSIZ --- 69 unchanged lines hidden (view full) --- 135#define IA64_PHYS_TO_RR7(x) ((x) | IA64_RR_BASE(7)) 136 137/* 138 * Mach derived constants 139 */ 140 141/* user/kernel map constants */ 142#define VM_MIN_ADDRESS 0 | 57 58/* 59 * Virtual memory related constants, all in bytes 60 */ 61#ifndef MAXTSIZ 62#define MAXTSIZ (1<<30) /* max text size (1G) */ 63#endif 64#ifndef DFLDSIZ --- 69 unchanged lines hidden (view full) --- 134#define IA64_PHYS_TO_RR7(x) ((x) | IA64_RR_BASE(7)) 135 136/* 137 * Mach derived constants 138 */ 139 140/* user/kernel map constants */ 141#define VM_MIN_ADDRESS 0 |
143#define VM_MAXUSER_ADDRESS IA64_RR_BASE(5) 144#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS 145#define VM_MIN_KERNEL_ADDRESS IA64_RR_BASE(5) | 142#define VM_MAX_ADDRESS IA64_RR_BASE(5) 143#define VM_GATEWAY_SIZE PAGE_SIZE 144#define VM_MAXUSER_ADDRESS (VM_MAX_ADDRESS + VM_GATEWAY_SIZE) 145#define VM_MIN_KERNEL_ADDRESS VM_MAXUSER_ADDRESS |
146#define VM_MAX_KERNEL_ADDRESS (IA64_RR_BASE(6) - 1) 147 | 146#define VM_MAX_KERNEL_ADDRESS (IA64_RR_BASE(6) - 1) 147 |
148#define KERNBASE (VM_MIN_KERNEL_ADDRESS) | 148#define KERNBASE VM_MAX_ADDRESS |
149 150/* virtual sizes (bytes) for various kernel submaps */ 151#ifndef VM_KMEM_SIZE 152#define VM_KMEM_SIZE (12 * 1024 * 1024) 153#endif 154 155/* 156 * How many physical pages per KVA page allocated. --- 13 unchanged lines hidden --- | 149 150/* virtual sizes (bytes) for various kernel submaps */ 151#ifndef VM_KMEM_SIZE 152#define VM_KMEM_SIZE (12 * 1024 * 1024) 153#endif 154 155/* 156 * How many physical pages per KVA page allocated. --- 13 unchanged lines hidden --- |