Deleted Added
full compact
param.h (78342) param.h (83682)
1/*-
2 * Copyright (c) 2001 David E. O'Brien
3 * Copyright (c) 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)param.h 5.8 (Berkeley) 6/28/91
1/*-
2 * Copyright (c) 2001 David E. O'Brien
3 * Copyright (c) 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)param.h 5.8 (Berkeley) 6/28/91
38 * $FreeBSD: head/sys/powerpc/include/param.h 78342 2001-06-16 07:14:07Z benno $
38 * $FreeBSD: head/sys/powerpc/include/param.h 83682 2001-09-20 00:47:17Z mp $
39 */
40
41/*
42 * Machine dependent constants for PowerPC (32-bit only currently)
43 */
44
45/*
46 * Round p (pointer or byte index) up to a correctly-aligned value

--- 60 unchanged lines hidden (view full) ---

107
108#ifndef BLKDEV_IOSIZE
109#define BLKDEV_IOSIZE PAGE_SIZE /* default block device I/O size */
110#endif
111#define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */
112#define MAXPHYS (128 * 1024) /* max raw I/O transfer size */
113#define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE)
114
39 */
40
41/*
42 * Machine dependent constants for PowerPC (32-bit only currently)
43 */
44
45/*
46 * Round p (pointer or byte index) up to a correctly-aligned value

--- 60 unchanged lines hidden (view full) ---

107
108#ifndef BLKDEV_IOSIZE
109#define BLKDEV_IOSIZE PAGE_SIZE /* default block device I/O size */
110#endif
111#define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */
112#define MAXPHYS (128 * 1024) /* max raw I/O transfer size */
113#define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE)
114
115#define UPAGES 2 /* pages of u-area */
116#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */
115#ifndef KSTACK_UPAGES
116#define KSTACK_PAGES 2 /* includes pcb */
117#endif
118#define USPACE (KSTACK_PAGES * PAGE_SIZE) /* total size of pcb */
119#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB */
117
118/*
119 * Constants related to network buffer management.
120 * MCLBYTES must be no larger than PAGE_SIZE.
121 */
122#ifndef MSIZE
123#define MSIZE 256 /* size of an mbuf */
124#endif /* MSIZE */

--- 75 unchanged lines hidden ---
120
121/*
122 * Constants related to network buffer management.
123 * MCLBYTES must be no larger than PAGE_SIZE.
124 */
125#ifndef MSIZE
126#define MSIZE 256 /* size of an mbuf */
127#endif /* MSIZE */

--- 75 unchanged lines hidden ---