param.h (148805) | param.h (150008) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/param.h 148805 2005-08-06 19:59:23Z marcel $ */ | 1/* $FreeBSD: head/sys/ia64/include/param.h 150008 2005-09-11 20:51:15Z alc $ */ |
2/* From: NetBSD: param.h,v 1.20 1997/09/19 13:52:53 leo Exp */ 3 4/*- 5 * Copyright (c) 1988 University of Utah. 6 * Copyright (c) 1992, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * This code is derived from software contributed to Berkeley by --- 96 unchanged lines hidden (view full) --- 106#ifndef LOG2_PAGE_SIZE 107#define LOG2_PAGE_SIZE 13 /* 8K pages by default. */ 108#endif 109#define PAGE_SHIFT (LOG2_PAGE_SIZE) 110#define PAGE_SIZE (1<<(LOG2_PAGE_SIZE)) 111#define PAGE_MASK (PAGE_SIZE-1) 112#define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 113 | 2/* From: NetBSD: param.h,v 1.20 1997/09/19 13:52:53 leo Exp */ 3 4/*- 5 * Copyright (c) 1988 University of Utah. 6 * Copyright (c) 1992, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * This code is derived from software contributed to Berkeley by --- 96 unchanged lines hidden (view full) --- 106#ifndef LOG2_PAGE_SIZE 107#define LOG2_PAGE_SIZE 13 /* 8K pages by default. */ 108#endif 109#define PAGE_SHIFT (LOG2_PAGE_SIZE) 110#define PAGE_SIZE (1<<(LOG2_PAGE_SIZE)) 111#define PAGE_MASK (PAGE_SIZE-1) 112#define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 113 |
114#define CLSIZE 1 115#define CLSIZELOG2 0 116 117/* NOTE: SSIZE, SINCR and UPAGES must be multiples of CLSIZE */ 118#define SSIZE 1 /* initial stack size/NBPG */ 119#define SINCR 1 /* increment of stack/NBPG */ 120 | |
121#ifndef KSTACK_PAGES 122#define KSTACK_PAGES 4 /* pages of kernel stack */ 123#endif 124#define KSTACK_GUARD_PAGES 0 /* pages of kstack guard; 0 disables */ 125 126/* 127 * Mach derived conversion macros 128 */ --- 13 unchanged lines hidden --- | 114#ifndef KSTACK_PAGES 115#define KSTACK_PAGES 4 /* pages of kernel stack */ 116#endif 117#define KSTACK_GUARD_PAGES 0 /* pages of kstack guard; 0 disables */ 118 119/* 120 * Mach derived conversion macros 121 */ --- 13 unchanged lines hidden --- |