vmparam.h (203883) | vmparam.h (208283) |
---|---|
1/*- 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department and Ralph Campbell. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * from: Utah $Hdr: vmparam.h 1.16 91/01/18$ 35 * 36 * @(#)vmparam.h 8.2 (Berkeley) 4/22/94 37 * | 1/*- 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department and Ralph Campbell. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * from: Utah $Hdr: vmparam.h 1.16 91/01/18$ 35 * 36 * @(#)vmparam.h 8.2 (Berkeley) 4/22/94 37 * |
38 * $FreeBSD: head/sys/ia64/include/vmparam.h 203883 2010-02-14 16:56:24Z marcel $ | 38 * $FreeBSD: head/sys/ia64/include/vmparam.h 208283 2010-05-19 00:23:10Z marcel $ |
39 */ 40 41#ifndef _MACHINE_VMPARAM_H_ 42#define _MACHINE_VMPARAM_H_ 43 44/* 45 * USRSTACK is the top (end) of the user stack. Immediately above the user 46 * stack resides the syscall gateway page. --- 77 unchanged lines hidden (view full) --- 124 */ 125#ifndef VM_NRESERVLEVEL 126#define VM_NRESERVLEVEL 0 127#endif 128 129/* 130 * Manipulating region bits of an address. 131 */ | 39 */ 40 41#ifndef _MACHINE_VMPARAM_H_ 42#define _MACHINE_VMPARAM_H_ 43 44/* 45 * USRSTACK is the top (end) of the user stack. Immediately above the user 46 * stack resides the syscall gateway page. --- 77 unchanged lines hidden (view full) --- 124 */ 125#ifndef VM_NRESERVLEVEL 126#define VM_NRESERVLEVEL 0 127#endif 128 129/* 130 * Manipulating region bits of an address. 131 */ |
132#define IA64_RR_BASE(n) (((u_int64_t) (n)) << 61) | 132#define IA64_RR_BASE(n) (((uint64_t) (n)) << 61) |
133#define IA64_RR_MASK(x) ((x) & ((1L << 61) - 1)) 134 135#define IA64_PHYS_TO_RR7(x) ((x) | IA64_RR_BASE(7)) 136 137/* 138 * Page size of the identity mappings in region 7. 139 */ 140#ifndef LOG2_ID_PAGE_SIZE --- 44 unchanged lines hidden --- | 133#define IA64_RR_MASK(x) ((x) & ((1L << 61) - 1)) 134 135#define IA64_PHYS_TO_RR7(x) ((x) | IA64_RR_BASE(7)) 136 137/* 138 * Page size of the identity mappings in region 7. 139 */ 140#ifndef LOG2_ID_PAGE_SIZE --- 44 unchanged lines hidden --- |