param.h (132961) | param.h (134591) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * from: @(#)param.h 5.8 (Berkeley) 6/28/91 | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * from: @(#)param.h 5.8 (Berkeley) 6/28/91 |
33 * $FreeBSD: head/sys/i386/include/param.h 132961 2004-08-01 14:31:45Z scottl $ | 33 * $FreeBSD: head/sys/i386/include/param.h 134591 2004-09-01 06:42:02Z julian $ |
34 */ 35 36/* 37 * Machine dependent constants for Intel 386. 38 */ 39 40/* 41 * Round p (pointer or byte index) up to a correctly-aligned value --- 51 unchanged lines hidden (view full) --- 93 94#define NBPTD (NPGPTD<<PAGE_SHIFT) 95#define NPDEPTD (NBPTD/(sizeof (pd_entry_t))) 96#define NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t))) 97#define NBPDR (1<<PDRSHIFT) /* bytes/page dir */ 98#define PDRMASK (NBPDR-1) 99 100/* PREEMPTION exposes scheduler bugs that need to be fixed. */ | 34 */ 35 36/* 37 * Machine dependent constants for Intel 386. 38 */ 39 40/* 41 * Round p (pointer or byte index) up to a correctly-aligned value --- 51 unchanged lines hidden (view full) --- 93 94#define NBPTD (NPGPTD<<PAGE_SHIFT) 95#define NPDEPTD (NBPTD/(sizeof (pd_entry_t))) 96#define NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t))) 97#define NBPDR (1<<PDRSHIFT) /* bytes/page dir */ 98#define PDRMASK (NBPDR-1) 99 100/* PREEMPTION exposes scheduler bugs that need to be fixed. */ |
101#if 0 | |
102#define PREEMPTION | 101#define PREEMPTION |
103#endif | |
104 105#define IOPAGES 2 /* pages of i/o permission bitmap */ 106 107#ifndef KSTACK_PAGES 108#define KSTACK_PAGES 2 /* Includes pcb! */ 109#endif 110#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ 111#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB (see def.) */ --- 36 unchanged lines hidden --- | 102 103#define IOPAGES 2 /* pages of i/o permission bitmap */ 104 105#ifndef KSTACK_PAGES 106#define KSTACK_PAGES 2 /* Includes pcb! */ 107#endif 108#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ 109#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB (see def.) */ --- 36 unchanged lines hidden --- |