param.h (28641) | param.h (28885) |
---|---|
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 --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * 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 --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)param.h 5.8 (Berkeley) 6/28/91 |
37 * $Id: param.h,v 1.14 1997/08/23 05:14:23 smp Exp $ | 37 * $Id: param.h,v 1.37 1997/08/24 00:04:59 fsmp Exp $ |
38 */ 39 40#ifndef _MACHINE_PARAM_H_ 41#define _MACHINE_PARAM_H_ 42 43/* 44 * Machine dependent constants for Intel 386. 45 */ 46 47#define MACHINE "i386" 48#ifdef SMP 49#define NCPUS 2 50#else 51#define NCPUS 1 52#endif 53#define MID_MACHINE MID_I386 54 | 38 */ 39 40#ifndef _MACHINE_PARAM_H_ 41#define _MACHINE_PARAM_H_ 42 43/* 44 * Machine dependent constants for Intel 386. 45 */ 46 47#define MACHINE "i386" 48#ifdef SMP 49#define NCPUS 2 50#else 51#define NCPUS 1 52#endif 53#define MID_MACHINE MID_I386 54 |
55/* 56 * Architecture dependent constants for i386 based machines. 57 */ 58#ifdef PC98 59/* NEC PC-9801/9821 series and compatibles. */ 60#define MACHINE_ARCH "pc-98" 61#else 62/* IBM-PC compatibles. */ 63#define MACHINE_ARCH "ibm-pc" 64#endif |
|
55 56#ifndef LOCORE 57 58/* 59 * Round p (pointer or byte index) up to a correctly-aligned value 60 * for all data types (int, long, ...). The result is unsigned int 61 * and must be cast to any desired pointer type. 62 */ --- 320 unchanged lines hidden --- | 65 66#ifndef LOCORE 67 68/* 69 * Round p (pointer or byte index) up to a correctly-aligned value 70 * for all data types (int, long, ...). The result is unsigned int 71 * and must be cast to any desired pointer type. 72 */ --- 320 unchanged lines hidden --- |