Commit Graph

57913 Commits

Author SHA1 Message Date
lukem 683d885daf more gracefully detect _NG_ERROR 1999-11-28 04:40:21 +00:00
lukem d51504eeb3 check return val of sl_init() and sl_add() 1999-11-28 04:38:41 +00:00
lukem a8d12b09cd * check the result of sl_init() and sl_add()
* return an error state back up the call chain and take appropriate
  action, rather than calling err() to terminate the process
1999-11-28 04:30:15 +00:00
takemura 62009df24f Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
1999-11-28 04:29:37 +00:00
lukem 56a2dec5a5 * check the error return of sl_init() and sl_add()
* minor KNF
1999-11-28 04:00:04 +00:00
lukem 67fecdbace remove unnecessary exit() after err() 1999-11-28 03:47:24 +00:00
lukem 6ff813a549 change sl_add() from returning a void to returning an int 1999-11-28 03:45:14 +00:00
lukem 46a687b139 * sl_init(); if malloc() fails return NULL instead of calling err(1,...)
* sl_add(); if realloc() fails return -1 instead of calling err(1,...).
  otherwise, return 0.

NOTE: this change resulted in sl_add() changing from returning void to int.
this shouldn't be a problem because a) it returns 0 if ok (aka `void', b)
all invokers of sl_add() in the tree have been changed (mainly code i've
written).
1999-11-28 03:44:09 +00:00
simonb bf997953d8 Use installboot(8) to install the bootblocks.
XXX: Need "disklabel -W" for now to enable writing to the label area.
1999-11-28 03:38:10 +00:00
simonb 6db05d52c4 Trim down a comment. 1999-11-28 03:37:01 +00:00
simonb 1fcc860815 Enable new pmax bootblocks. 1999-11-28 03:17:11 +00:00
simonb e6c9a0137f Reflect new pmax bootblock layout. 1999-11-28 03:13:22 +00:00
simonb d6e1bba94e installboot(8) man page based on alpha installboot(8) man page. 1999-11-28 03:07:04 +00:00
simonb 0785eb047a Updates for new alpha-style bootblocks. 1999-11-28 01:29:37 +00:00
simonb bc7deba55e Bump bootblock version number to 1.2. 1999-11-28 00:40:16 +00:00
simonb 70cbfb6fcd Add CPPFLAGS and set LDSTATIC to -static. 1999-11-28 00:39:30 +00:00
mark 52dcf041ef Remove the ISP scsi driver. With the removal of the Qlogic microcode
it is no longer possible to setup these devices thus the driver will not
work.
1999-11-28 00:34:17 +00:00
simonb 50b389d4a6 Bootblock installer - based heavily on the alpha installboot but with
some significant differences:
 * Because the pmax bootblocks don't have a fixed load address, we
   need to keep the first stage blocks in /usr/mdec with some sort
   of executable format that includes load and transfer address.
   Since ELF is native, /usr/mdec/bootxx_* are in ELF format and
   installboot (in loadbootstrap.c) needs knowledge of the ELF format.
 * Support for installing the first stage at an arbitiary position.
   -a adds the first stage to end of the "disk" (only on works on
   regular files) and -i <block> puts the first stage at ISO
   filesystem block number <block> for use in multi-arch boot
   CDs (see installboot(8) for more details and an example).
 * No checksum support.  This should really be done in some sort of
   MI way rather than duplicating code between ports' installboot.c
1999-11-28 00:32:29 +00:00
simonb b96c403e14 New alpha-style first stage bootblock Makefiles. 1999-11-27 23:59:15 +00:00
simonb b013ce2a48 Updated for new Makefile.booters and stand/ layout. 1999-11-27 23:57:42 +00:00
simonb 6fb34407ab Update for new alpha-style bootblocks - a good deal of this is based on
the alpha stand/Makefile.bootprogs and stand/Makefile.bootxx.
1999-11-27 23:55:23 +00:00
eeh b18e309569 Allow building of PIC or profiling libraries to be disabled. 1999-11-27 23:46:09 +00:00
eeh c7f61c6f0e Apparently sys/sysctl.h includes vm/vm_map.h which makes use of vaddr_t, 1999-11-27 20:05:45 +00:00
hannken 2a59794a70 Fix typo introduced in rev. 1.55.
It caused IP6 packets to be sent as AF_UNSPEC instead of AF_INET6.
1999-11-27 18:45:08 +00:00
minoura bf013a4539 Remove ether+ driver. Requested by msaitoh. 1999-11-27 15:57:17 +00:00
mrg 2c11d38827 add some missing #ifdef SUN4M to the MP-handling code. 1999-11-27 14:54:53 +00:00
mrg 6663793e96 add some debug messages. 1999-11-27 14:51:49 +00:00
minoura e7fabd95bc Set ptstart to reserve system area. 1999-11-27 14:03:22 +00:00
takemura b006c3cae6 Fix frame buffer type for NEC MC-R520 and -R520A.
Add a menu item for IBM WorkPad z50.
1999-11-27 13:17:44 +00:00
mrg 60ea90bf92 add crypto-intl support in the "cryptint" set. 1999-11-27 13:10:45 +00:00
mrg 9a6c8313f7 minor cosmetic merges; long way to go here. 1999-11-27 12:14:26 +00:00
mrg 264af07cff merge sparc64 types.h; these files are now identical. 1999-11-27 11:33:39 +00:00
mrg d7e14b468a more sparc64 merging; these files are (basically) identical. 1999-11-27 11:20:41 +00:00
mrg faa527dcc9 merge sparc64 limits.h; these files are now identical. this includes
a `fix' for when s?size_t was changed from int to long but the
definitions of S?SIZE_MAX were left as U?INT_MAX.  these are now
U?LONG_MAX.
1999-11-27 11:14:40 +00:00
mrg 9d1afb7522 merge cosmetic differences from sparc port. 1999-11-27 11:06:36 +00:00
mrg 492e85822e MNN has been standard for a Long Time. 1999-11-27 10:22:19 +00:00
mrg aa206906a3 make this idempotent (from sparc/include/limits.h) 1999-11-27 10:13:15 +00:00
mrg 484cb25f55 s/long/int/ to make this identical the sparc64 version. 1999-11-27 10:10:02 +00:00
mrg 3c756ae10c these files were removed years ago (exec.h was not even installed). 1999-11-27 10:04:30 +00:00
castor df56622ada regen 1999-11-27 09:02:22 +00:00
castor 3de779c46a Add support for CS4235 codec as found on Intel KU440EX motherboard. 1999-11-27 09:02:13 +00:00
simonb 42b18ab82a Clean up headers. 1999-11-27 07:07:04 +00:00
simonb 64b57a767e Add prom_write() declaration. 1999-11-27 07:02:24 +00:00
simonb 77f2cc3a2f Use alpha-style banner display and bootprog_* variables.
Look for default kernels in order of: netbsd.pmax netbsd netbsd.gz
  netbsd.bak netbsd.old onetbsd gennetbsd.
1999-11-27 07:00:35 +00:00
simonb 4772d7bcd7 Check that a first-stage bootblock fits in a specified size - virtually
a copy of the alpha checksize.sh.
1999-11-27 06:55:04 +00:00
simonb 326cce3c7a Add a PROM call stub for getchar. 1999-11-27 06:52:05 +00:00
simonb 92bd89485a Remove code in sector 0 support - we don't need the space and it allows
for the coexistance for other port's bootblocks in sector 0.
1999-11-27 06:49:34 +00:00
simonb 1463e10159 Don't require a disklabel at the start of a disk - needed for
ISO 9660 f/s support.
1999-11-27 06:48:08 +00:00
simonb 31d531e54b Header file include cleanup. 1999-11-27 06:47:24 +00:00
simonb 4001a35043 Small cleanup based on Alpha newvers.sh. 1999-11-27 06:46:56 +00:00