param.h (128019) | param.h (131481) |
---|---|
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 128019 2004-04-07 20:46:16Z imp $ | 33 * $FreeBSD: head/sys/i386/include/param.h 131481 2004-07-02 20:21:44Z jhb $ |
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 --- 50 unchanged lines hidden (view full) --- 92#endif 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 | 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 --- 50 unchanged lines hidden (view full) --- 92#endif 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#define PREEMPTION 101 |
|
100#define IOPAGES 2 /* pages of i/o permission bitmap */ 101 102#ifndef KSTACK_PAGES 103#define KSTACK_PAGES 2 /* Includes pcb! */ 104#endif 105#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ 106#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB (see def.) */ 107 --- 35 unchanged lines hidden --- | 102#define IOPAGES 2 /* pages of i/o permission bitmap */ 103 104#ifndef KSTACK_PAGES 105#define KSTACK_PAGES 2 /* Includes pcb! */ 106#endif 107#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ 108#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB (see def.) */ 109 --- 35 unchanged lines hidden --- |