Commit Graph

31575 Commits

Author SHA1 Message Date
lukem beb3ef1e7e * cleanup for WARNS+1
* use .Nm correctly
1997-09-15 03:46:27 +00:00
enami 241ba6ead1 If f->f_type is F_FORW, don't close f->file. 1997-09-15 03:25:42 +00:00
lukem 7da448585a cleanup use of .Nm 1997-09-15 01:56:08 +00:00
lukem 92f7af5b8d * cleanup for WARNS=1
* deprecate register
* use .Nm correctly
1997-09-15 01:53:35 +00:00
lukem e8d49227b7 deprecate register 1997-09-15 01:45:36 +00:00
lukem 6277ca4089 use .Nm correctly 1997-09-15 01:39:32 +00:00
lukem faceb6f3ac fix use of .Nm 1997-09-15 01:32:32 +00:00
lukem 670e4c9af8 major cleanup, including:
* reformat code to KNF
* compile with WARNS=1
* .Nm usage in man page
* getopt returns -1 not EOF
1997-09-15 01:29:26 +00:00
lukem ad6499dd3c can now use '.Nm "" :' 1997-09-15 00:49:56 +00:00
lukem 0a9b471efa Support first argument of .Nm being "", so that the following works:
===
.Nm foo
 ...
The following options are supported by
.Nm "" :
===
It could be smarter, but it works :)

Thanks to Christoph Badura <bad@ora.de> for providing this!
1997-09-15 00:32:34 +00:00
pk b5004e4ce1 Call the device close routine when we're done reading. 1997-09-14 19:28:17 +00:00
pk 5ba6b94ba6 Do not use KERNBASE to calculate the `end of symbols' location. Instead
use the `a_entry' field from the kernel's header as a base.

Pass on a new DDB magic number to the kernel, so kernels linked for a
different KERNBASE value can apply a correction when booted from old
bootblocks.
1997-09-14 19:27:21 +00:00
pk 4969489cb6 Define a new DDB magic number to pass to the kernel. 1997-09-14 19:22:55 +00:00
pk 383448522d Refer to KERNBASE instead of its current numerical value in comments
and some early debugging code.
1997-09-14 19:20:48 +00:00
pk dc4f93c2a1 Collect sbus status and configuration registers in `struct sbusreg'. 1997-09-14 19:17:25 +00:00
pk e4a198d193 Move sbus fields to sbusreg.h where they belong. 1997-09-14 19:16:04 +00:00
thorpej fa5b3fb276 Mass update of Supporting Cast (I need to remember to do this
when I create the accounts!):

Erik Fair, Matt Thomas, Juergen Hannken-Illjes, Matthias Drochner,
Manuel Bouyer, Klaus Klein, Rob Deker, Alistair Crooks, Steve Woodford,
Matthew Jacob, Marc Horowitz, Kevin Lahey, Paul Vixie, Darren Reed,
Dave Carrel, Colin Wood, and John Birrell.

Also, update Port Masters:

Jeremy Cooper and Gordon Ross (sun3x)
1997-09-14 18:11:46 +00:00
thorpej 39e49c01a1 Update Lennart Augustsson's e-mail address (the NetBSD.ORG address should
be listed, if possible).
1997-09-14 17:44:08 +00:00
lukem 5fa4ef04d1 * cleanup for WARNS=1
* prefix hex numbers with '0x'
1997-09-14 14:58:53 +00:00
lukem 66a64254b8 * KNF-ify
* prefix hex numbers with '0x'
1997-09-14 14:56:57 +00:00
lukem 332c413b75 * cleanup manpage
* getopt returns -1 not EOF
* deprecate register
1997-09-14 14:54:32 +00:00
lukem 5a94f6748f * cleanup for WARNS=1
* getopt returns -1 not EOF
* cleanup manpage
1997-09-14 14:40:10 +00:00
lukem b1db038303 * cleanup for WARNS=1
* deprecate register
* cleanup manpage
* remove unused docheck() func
* prefix hex numbers with '0x'
* getopt returns -1 not EOF
1997-09-14 14:36:29 +00:00
lukem 4b836889ab * cleanup for WARNS=1
* deprecate register
* cleanup manpage
* remove unused docheck()
* getopt returns -1 not EOF
* put a ) in the correct place in a printf, so that the argument gets
  & 0xff, not the result of printf() itself...
1997-09-14 14:27:23 +00:00
lukem 26ba0ba0ba * cleanup for WARNS=1
* deprecate register
* prefix hex numbers with '0x'
1997-09-14 14:11:00 +00:00
lukem 700617acfc correct use of various mdoc macros to cleanup resultant man page 1997-09-14 14:05:34 +00:00
lukem 6e61b15d9c * support ``short'' names of disks (e.g, ``sd0'') instead of requiring
the full name (e.g, ``/dev/rsd0d'') a la disklabel(8) (where the code
  was effectively lifted from ;-)
* prefix hexadecimal numbers in output with '0x'
1997-09-14 13:52:26 +00:00
lukem c271ade01d fix capitalisation 1997-09-14 13:28:18 +00:00
lukem bc02ee4bf4 cleanup for WARNS=1 1997-09-14 13:26:11 +00:00
augustss 1cdcb2d362 Get rid of `register'. 1997-09-14 09:03:33 +00:00
lukem a234ba3ffe getopt returns -1 not EOF
cleanup manpage
1997-09-14 08:57:37 +00:00
lukem 5f4e3656d9 - cleanup for WARNS=1
- cleanup .Nm usage
1997-09-14 08:53:45 +00:00
lukem 12bc5d8b7d - getopt returns -1 not EOF
- use .Nm correctly in man page
1997-09-14 08:51:38 +00:00
lukem 95b3ccaa29 - cleanup use of .Nm
- xref installboot(8)
- deprecate register
1997-09-14 08:50:16 +00:00
lukem e40e4b2a93 - fix use of .Nm
- deprecate use of register
- cleanup for WARNS=1
1997-09-14 08:44:07 +00:00
lukem 12ad7a4d6c use memset instead of bzero 1997-09-14 08:39:43 +00:00
lukem 7ff9d68cb5 - cleanup use of .Nm in man page
- getopt returns -1 not EOF
1997-09-14 08:17:11 +00:00
lukem bc8059ebcd * don't use register
* warnx() doesn't need trailing \n
1997-09-14 08:14:32 +00:00
lukem b5e8aaf95a use .Nm appropriately 1997-09-14 07:46:13 +00:00
lukem 92d7aa0376 getopt returns -1 not EOF 1997-09-14 07:43:56 +00:00
lukem a9737b1039 - getopt returns -1 not EOF
- use .Nm appropriately
1997-09-14 07:31:56 +00:00
lukem 70c59f6d77 getopt returns -1 not EOF 1997-09-14 07:22:27 +00:00
lukem df49b6cc7f * getopt returns -1 not EOF
* cleanup use of .Nm in manpage
1997-09-14 07:15:25 +00:00
lukem aa125494d1 - use .Nm instead of .Xr
- don't refer to the command as /sbin/mountd - it's not there anymore
1997-09-14 02:26:14 +00:00
pk a3140bf9f2 NetBSD 1.2 and earlier sparc bootblocks have KERNBASE compiled in. This
prevents booting DDB kernels that are built with a different value of KERNBASE.

Apply a correction based on the magic number passed in by the bootblocks.

New bootblocks without the hard-coded KERNBASE reference will be assigned
a new magic number.
1997-09-13 20:36:48 +00:00
pk c635b25325 In kbdattach() (the pseudo-device attach routine) wait for the keyboard
reset sequence to complete.  Just sending the reset command and rushing
off -- like it used to do -- might cause the keyboard's response to get
lost in case the remaining kernel initialization decides to interact
with the console (RB_ASK!) by calling cngetc(), which goes off polling
within the PROM.
1997-09-13 19:12:18 +00:00
pk 6282a103eb Last loop variable type change causes undesirable non-terminating loops.
Change for-loop expressions to get the intended effect again.
1997-09-13 18:44:55 +00:00
augustss 7bc1f9d060 Recognize SB AWE64 Gold. 1997-09-13 13:37:28 +00:00
thorpej e97c5f6c50 Update the model string for current reality. 1997-09-13 10:09:39 +00:00
thorpej 9a5f8236b5 Don't panic if we receive a Processor Correctable Error or a System
Correctable Error; report them, instead.

XXX Need a platform-specific machine check handler so we can decode the
logout area on such errors.
1997-09-13 10:01:33 +00:00