param.h (130218) | param.h (131481) |
---|---|
1/* 2 * Copyright (c) 2002 David E. O'Brien. All rights reserved. 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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)param.h 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 2002 David E. O'Brien. All rights reserved. 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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)param.h 8.1 (Berkeley) 6/10/93 |
39 * $FreeBSD: head/sys/amd64/include/param.h 130218 2004-06-07 23:47:59Z peter $ | 39 * $FreeBSD: head/sys/amd64/include/param.h 131481 2004-07-02 20:21:44Z jhb $ |
40 */ 41 42/* 43 * Machine dependent constants for AMD64. 44 */ 45 46/* 47 * Round p (pointer or byte index) up to a correctly-aligned value --- 66 unchanged lines hidden (view full) --- 114#define PDPMASK (NBPDP-1) 115/* Size of the level 4 page-map level-4 table units */ 116#define NPML4EPG (PAGE_SIZE/(sizeof (pml4_entry_t))) 117#define NPML4EPGSHIFT 9 /* LOG2(NPML4EPG) */ 118#define PML4SHIFT 39 /* LOG2(NBPML4) */ 119#define NBPML4 (1ul<<PML4SHIFT)/* bytes/page map lev4 table */ 120#define PML4MASK (NBPML4-1) 121 | 40 */ 41 42/* 43 * Machine dependent constants for AMD64. 44 */ 45 46/* 47 * Round p (pointer or byte index) up to a correctly-aligned value --- 66 unchanged lines hidden (view full) --- 114#define PDPMASK (NBPDP-1) 115/* Size of the level 4 page-map level-4 table units */ 116#define NPML4EPG (PAGE_SIZE/(sizeof (pml4_entry_t))) 117#define NPML4EPGSHIFT 9 /* LOG2(NPML4EPG) */ 118#define PML4SHIFT 39 /* LOG2(NBPML4) */ 119#define NBPML4 (1ul<<PML4SHIFT)/* bytes/page map lev4 table */ 120#define PML4MASK (NBPML4-1) 121 |
122#define PREEMPTION 123 |
|
122#define IOPAGES 2 /* pages of i/o permission bitmap */ 123 124#ifndef KSTACK_PAGES 125#define KSTACK_PAGES 4 /* pages of kstack (with pcb) */ 126#endif 127#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ 128#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB (see def.) */ 129 --- 36 unchanged lines hidden --- | 124#define IOPAGES 2 /* pages of i/o permission bitmap */ 125 126#ifndef KSTACK_PAGES 127#define KSTACK_PAGES 4 /* pages of kstack (with pcb) */ 128#endif 129#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ 130#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB (see def.) */ 131 --- 36 unchanged lines hidden --- |