b95ed23990
1) Fixed up some header locations 2) Replaced list of boot files with /kernel 3) Changed disklabel use in Makefile to conform to 4.4 4) Added size command in Makefile to get close estimate of bootblock sizes. Total size of text and data must be below 64K, slightly overestimated since a.out header subsequently gets stripped. 5) Various buffer sizes are set to 8192 bytes in sys.c. In 4.4 MAXBSIZE is set to 64K which is too big for the bootblocks to deal with. Submitted by: Paul Richards
42 lines
1.4 KiB
C
42 lines
1.4 KiB
C
/*
|
|
* Mach Operating System
|
|
* Copyright (c) 1992, 1991 Carnegie Mellon University
|
|
* All Rights Reserved.
|
|
*
|
|
* Permission to use, copy, modify and distribute this software and its
|
|
* documentation is hereby granted, provided that both the copyright
|
|
* notice and this permission notice appear in all copies of the
|
|
* software, derivative works or modified versions, and any portions
|
|
* thereof, and that both notices appear in supporting documentation.
|
|
*
|
|
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
|
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
|
|
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
|
*
|
|
* Carnegie Mellon requests users of this software to return to
|
|
*
|
|
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
|
* School of Computer Science
|
|
* Carnegie Mellon University
|
|
* Pittsburgh PA 15213-3890
|
|
*
|
|
* any improvements or extensions that they make and grant Carnegie Mellon
|
|
* the rights to redistribute these changes.
|
|
*
|
|
* from: Mach, Revision 2.2 92/04/04 11:35:03 rpd
|
|
* $Id: boot.h,v 1.3 1993/10/16 19:11:32 rgrimes Exp $
|
|
*/
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/param.h>
|
|
#include <sys/time.h>
|
|
#include <ufs/ufs/quota.h>
|
|
#include <ufs/ffs/fs.h>
|
|
#include <ufs/ufs/inode.h>
|
|
|
|
extern char *devs[], *name, *iodest;
|
|
extern struct fs *fs;
|
|
extern struct inode inode;
|
|
extern int dosdev, unit, part, maj, boff, poff, bnum, cnt;
|
|
extern long int ouraddr;
|