param.h (719) | param.h (757) |
---|---|
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.7 1993/10/15 10:07:43 rgrimes Exp $ | 37 * $Id: param.h,v 1.8 1993/11/07 17:42:58 wollman Exp $ |
38 */ 39 40#ifndef _MACHINE_PARAM_H_ 41#define _MACHINE_PARAM_H_ 1 42 43/* 44 * Machine dependent constants for Intel 386. 45 */ --- 23 unchanged lines hidden (view full) --- 69/* 70 * XXX This should really be KPTDPTDI << PDRSHIFT, but since KPTDPTDI is 71 * defined in pmap.h which is included after this we can't do that 72 * (YET!) 73 */ 74#define KERNBASE 0xFE000000 /* start of kernel virtual */ 75#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT) 76 | 38 */ 39 40#ifndef _MACHINE_PARAM_H_ 41#define _MACHINE_PARAM_H_ 1 42 43/* 44 * Machine dependent constants for Intel 386. 45 */ --- 23 unchanged lines hidden (view full) --- 69/* 70 * XXX This should really be KPTDPTDI << PDRSHIFT, but since KPTDPTDI is 71 * defined in pmap.h which is included after this we can't do that 72 * (YET!) 73 */ 74#define KERNBASE 0xFE000000 /* start of kernel virtual */ 75#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT) 76 |
77#define KERNSIZE 0x00C00000 /* size of kernel virtual */ 78 | |
79#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ 80#define DEV_BSIZE (1 << DEV_BSHIFT) 81 82#define BLKDEV_IOSIZE 2048 83#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */ 84 85#define CLSIZELOG2 0 86#define CLSIZE (1 << CLSIZELOG2) --- 80 unchanged lines hidden --- | 77#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ 78#define DEV_BSIZE (1 << DEV_BSHIFT) 79 80#define BLKDEV_IOSIZE 2048 81#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */ 82 83#define CLSIZELOG2 0 84#define CLSIZE (1 << CLSIZELOG2) --- 80 unchanged lines hidden --- |