Commit Graph

1237 Commits

Author SHA1 Message Date
simonb 6f6573cb10 Move BOOTINFO_ADDR up to 0x8001fc00, and reduce the maximum size of a
bootinfo record to 1kB (we are using less than 200 bytes now) so that it
doesn't run into addition PROM memory.

At 0x8001f00 the bootinfo record was stomping on some memory used by the
SFB cards for font information.
1999-04-22 01:52:54 +00:00
ad a895fbfd58 Define rcons_connect() only if (NFB > 0). Define rcons_connect_native() only
if (NPX > 0). Needed for fixed `rasops' config glue.
1999-04-22 00:33:30 +00:00
ad ca39efe84c Remove misplaced comment. 1999-04-22 00:29:59 +00:00
simonb 25715bb0f2 Comment out 'config nfsnetbsd'. 1999-04-21 12:53:56 +00:00
simonb 24323d7ef4 In cpu_startup():
+ Initialise minaddr to the start of the file I/O buffers.
 + Check for overallocation of RAM for these buffers.
 + Change function name in panic message to match reality.

Code taken from almost every other port, and fixes the:
   uvm_km_suballoc: unable to allocate space in parent map
panic that some people have been experiencing.
1999-04-21 02:03:24 +00:00
mrg ad52a7fe49 make this compile again with no rcons. 1999-04-20 06:42:54 +00:00
simonb dc3b870fce Add NFS_BOOT_DHCP so that netboot kernels can find the root filesystem. 1999-04-20 05:56:52 +00:00
simonb 1065cb27a3 s/NFS_BOOT_BOOTP/NFS_BOOT_DHCP/
DHCP is a superset of BOOTP, and still works with BOOTP servers.
1999-04-20 05:54:44 +00:00
simonb cbd32a724f Sync with rev 1.9 of sys/arch/i386/stand/lib/loadfile.c:
another nit in error handling: don't try to print out a NULL
	filename (which means "use default" and is dealt with properly
	by open())
1999-04-17 11:24:16 +00:00
ad 0993fa2727 Add configuration glue needed by rasops, wsfont, rcons and the px driver. 1999-04-13 18:53:27 +00:00
ad cf19d10b2a Added console initalization glue to allow `px' device to function as the
console.
1999-04-13 18:50:51 +00:00
ad 8cd2881c35 Save colormap when fb device is opened, and restore upon close. Do not
fbconnect() 'pm' device again at attach time if it is the console.
1999-04-13 03:22:00 +00:00
ad 46dcc25b4a Map keypad 'Enter' to 'Return' for console operation. Change error messages
in MouseInit() to allow gcc to fold the strings.
1999-04-13 03:19:28 +00:00
ad 7940da64de Define PMAX_FBTYPE_PX. Changes to allow fbvar.h to be included with
dev/rcons/rcons.h.
1999-04-13 03:14:03 +00:00
ad de43e7cc8d Fixed licensing due to a foobar on my behalf. 1999-04-13 00:40:07 +00:00
ad b30fc08f22 Initial import of `PX' driver. 1999-04-13 00:30:08 +00:00
pk b13e5d1469 Quote "AS IS" as in the majority of Carnegy Mellon notices. 1999-04-12 20:38:17 +00:00
simonb b84e038e4b Bump version number to 1.1 for default kernel names. 1999-04-12 05:46:57 +00:00
simonb 71c3fc3251 If only a device name is specified with no kernel name, try to load a
kernel from a default list of names.  This list is netbsd, netbsd.bak,
netbsd.old, onetbsd and gennetbsd - all without and with a .gz
extension.
1999-04-12 05:19:25 +00:00
simonb ab3de4de0e Make the bootpath "N/rzY" with no trailing '/' valid by adding the extra
'/' before appending 'boot' to the path.
1999-04-12 05:14:51 +00:00
simonb 520c13bcc8 Fix an off-by-32 error - space was padded out to the 96th byte for the
DEC disk boot block header, but it's only 64 bytes long.  Gives us
another 32 bytes in the first stage.

Don't use a roll-your-own START_FRAME size and offsets for the stack
and ra - use the <mips/asm.h> provided CALLFRAME_SIZ, CALLFRAME_RA and
CALLFRAME_SP
1999-04-12 03:53:13 +00:00
simonb 0a7e699d22 Add "WARNS?= 1" - woohoo! 1999-04-11 04:31:02 +00:00
simonb cdc059d0d0 Use BOOTRZ instead of BOOTXX.
Add -DLIBSA_NO_DEV_IOCTL.
1999-04-11 04:28:14 +00:00
simonb 6247c771c1 Use BOOTRZ instead of BOOTXX.
Add a PROM callback for prom_close if not LIBSA_NO_DEV_CLOSE.
1999-04-11 04:27:53 +00:00
simonb deb30f311a Include <common.h> to get prototypes for PROM callbacks.
Use LIBSA_NO_DEV_CLOSE and BOOTRZ instead of SMALL.
In rzclose() call prom_close() on the descriptor if we're on a
    pre-REX machine.
1999-04-11 04:27:30 +00:00
simonb b2706c76c1 s/vmunix/netbsd/
Use BOOTRZ instead of SMALL.
1999-04-11 04:26:31 +00:00
simonb 558e5709dd Use LIBSA_NO_DEV_CLOSE and LIBSA_NO_DEV_IOCTL instead of SMALL. 1999-04-11 04:26:06 +00:00
simonb bc48dfc927 Clean up prototypes.
Print a message on failure to load or execute kernel.
1999-04-11 04:25:47 +00:00
simonb f1e493608f Move MKMAN to ../Makefile.inc. 1999-04-11 04:25:15 +00:00
simonb c8ba78a09e Move BINDIR, BINMODE to Makefile.inc.
Remove -DSMALL.
Define an empty LIBZ if building first stage bootblocks since LIBZ
   defaults to /usr/lib/libz.a.
1999-04-11 04:24:41 +00:00
simonb 96fba8337e Define BINDIR, BINMODE and MKMAN in the "standard" place. 1999-04-11 04:19:56 +00:00
simonb 9498a6da95 Clean up prototypes and entry variable usage. 1999-04-11 04:08:25 +00:00
simonb 2fb264a52e Declare some prototypes for the pmax-specific libsa functions. 1999-04-11 04:05:46 +00:00
chs f455dd6596 add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
simonb 39b90701da Include <stand.h> so we get a putchar() prototype. 1999-04-11 04:03:29 +00:00
simonb cda54b761e Apply rev 1.8 of sys/arch/i386/stand/lib/loadfile.c:
fix error handling: almost all errors were ignored

YES, this will be made MI soon...
1999-04-10 01:52:33 +00:00
simonb be4160066d Allow the fake installation diskimage to be 2MB as well as 32MB in size. 1999-04-08 13:55:37 +00:00
nisimura dd8e585cec - MIPS processors do not require to have memory barrier prior to read ops. 1999-04-08 03:14:35 +00:00
pk c40eb1cd97 Fix a pasto in copyright text which has been procreating like rabbits.. 1999-04-06 20:09:18 +00:00
simonb b1ec416993 Don't build a.out kernels anymore. 1999-04-06 06:16:07 +00:00
simonb e6ab4443a2 Mention a few other (not implemented) space saving ideas in case we
get desparate in the future.
1999-04-01 08:47:38 +00:00
simonb f36bd65f46 Build the full MI libsa for the first stage bootblocks rather than
picking the bits we wanted explicitly, taking advantage of some of the
recent code-size trimming from cgd.  There's now no duplication if libsa
code in sys/arch/pmax/stand.

As a bonus, we now have 416 bytes free in stage one (up from 80), and
will all of Chris' space saving options enabled (these are commented out
in scsiboot/Makefile), theres over a 1kB free.
1999-04-01 06:05:04 +00:00
simonb 971284a4ed Add support for LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM. 1999-04-01 05:52:38 +00:00
thorpej 967b8c433c Don't call configure() from cpu_startup(). 1999-04-01 00:17:45 +00:00
simonb ff2206f6df G/C UFS_NOSYMLINK, UFS_NOCLOSE and UFS_NOWRITE and use new LIBSA_NO_FS_*. 1999-03-31 07:43:39 +00:00
simonb 4c9bbd20fb Don't define errno expliticly, use libsa/errno.c in first stage and
${LIBSA} in the second stage.
1999-03-31 07:23:27 +00:00
simonb febdc0ddf2 Use recent LIBSA_NO_TWIDDLE support. 1999-03-31 04:30:11 +00:00
simonb 0f4c2803ca Create/build vers.c/vers.o inside the final link stage so that the build
datestamp get's updated each build.
1999-03-31 03:10:56 +00:00
simonb 5fbc10c671 Reorder ${LIBS} so that we don't need to explicitly pull in bcmp.c
and bzero.c from libkern.
1999-03-31 02:35:14 +00:00
soda 2f9a4a8d93 regdef.h is back 1999-03-30 18:38:32 +00:00