Commit Graph

30481 Commits

Author SHA1 Message Date
drochner d900f01e01 Don't call kernel debugger on CTL-ALT-ESC hotkey if the keyboard doesn't
belong to the actual console. (ie, we have a serial console)
Closes PR port-i386/3131.
1997-07-26 12:32:24 +00:00
ragge ab4412faad Actually do 'halt' or 'reboot' on MicroVAX. 1997-07-26 10:12:40 +00:00
scottr ef8ecc05da cli_offset should be a bus_size_t now, and cli_value is an unsigned 32-bit int. 1997-07-26 08:28:20 +00:00
scottr f65445ce80 Add support for Macintosh Display Card, using information provided
by Taras Ivanenko <ivanenko@ctpa03.mit.edu> in PR 3862.  (The PR
is still open, due to an unresolved issue regarding the fbbase
field.)
1997-07-26 08:21:15 +00:00
thorpej e31d380775 New welcome banner code, modeled after NetBSD/hp300's boot program
welcome banner code.  Includes additional build information, and it
generally nicer to look at.
1997-07-26 01:50:36 +00:00
scottr 2b51de1aee #if __GNUC__, work around bogus initialization warning that occurs on
at least the m68k-based ports.
1997-07-25 23:53:54 +00:00
scottr f6a72fb05a Add critical information for successfully booting NetBSD/mac68k. (How
could this have been missed for so long?)  Based on additions by Ken Nakata
<kenn@eden.rutgers.edu> in PRs 3839.
1997-07-25 23:29:42 +00:00
scottr 5825a3f29c Add option-{1,2,3} as an alternative to option-{,left,right} for mouse
button emulation.  From SUNAGAWA Keiki <kei_sun@ba2.so-net.or.jp> in
PR 3887.
1997-07-25 23:08:15 +00:00
ragge b17d1e7207 Fixed bug causing machines with a memory size not a multiple of 16k
to crash. This is true on many MicroVAXen.
1997-07-25 21:54:48 +00:00
jonathan f9e3ce0f92 revert to MI in_cksum code. 1997-07-25 21:01:45 +00:00
jtc 9088826695 Removed confusing text which implies that gamma() computes the gamma
instead of log gamma function.  This was true with 4.4BSD's libm, but
they are equivalent on all other systems (XPG4.2 requires this).
1997-07-25 20:41:18 +00:00
scottr 0f06fa608f Add NETATALK, and be pedantic with a few comments. 1997-07-25 19:53:59 +00:00
perry 9f1056ccbf Major modernization.
1) register variables have been killed, except for the ones in the
   generated skeleton (which should probably also be killed soon).
2) __P(())ified prototypes for all functions.
3) new style __RCSID's, and #include <sys/cdefs.h>'s.
4) all warnings generated with WARNS=1 (i.e. all warnings you get from
   gcc with -Wall -Wstrict-prototypes -Wmissing-prototypes) have been
   fixed, although not always in the best possible way.

in particular on #4, in a couple of places I got "control reaches end
of non-void function" errors, and sadly __dead doesn't seem to really
work, so I inserted a couple of exit() calls in strategic
places. These should be nuked if someone can get __dead to Do The
Right Thing.

There were also a couple of places where "while (foo = bar)" things
cropped up and I didn't do the best conceivable thing, but I usually
did.

These fixes should probably go back to the byacc maintainers.
1997-07-25 16:46:27 +00:00
cgd bd3cab1531 fix comment glitch in the last change 1997-07-25 07:01:42 +00:00
cgd d86134ca68 fill in the new pointers in the bootinfo_v1 structure. 1997-07-25 07:00:42 +00:00
cgd 395f4bac6b clean up bootinfo structure comments so they're more readable (to me,
at least 8-).  Add structure offssets for structure members, so we
know how much space we're using.  Make the version in the bootinfo
structure be a u_long, so there's no implicit padding in the structure.
Add a few more pointers to the bootinfo v1 structure, which will all
be set to NULL for now.
1997-07-25 06:59:47 +00:00
mrg f644e619a5 find "namespace.h" correctly... 1997-07-25 06:54:00 +00:00
phil d355fd58e8 Do multiply in lseek calls as off_t arithmetic. This allows for seeks
of more than INT_MAX.  Removed Check for INT_MAX as maximum seeks.
Fixes PR 2101.
1997-07-25 06:46:23 +00:00
mikel 0a3628b2c3 initialize variables for gcc -Wall (marked XXX)
compare getopt() result to -1, not EOF
1997-07-25 06:40:32 +00:00
mikel 2aa6b3b7a4 make comparison to NULL explicit (gcc -Wall) 1997-07-25 06:38:02 +00:00
mikel f89e3ed737 include <err.h> and <stdlib.h> for prototypes
give pw_yp() an explicit type
1997-07-25 06:37:27 +00:00
mikel 2a1157114b add prototypes for check_yppasswdd() and pw_yp() 1997-07-25 06:36:02 +00:00
mikel c23e815bb4 add parens in isleap() for gcc -Wall 1997-07-25 05:54:42 +00:00
mikel 90f3e3549b add MAKEDEV.8, kill empty comment 1997-07-25 05:38:26 +00:00
mrg d2be95ea7e update "systat vmstat" documentation to reality. 1997-07-25 01:59:42 +00:00
augustss 36ff661ec7 Make PAS audio work again.
From John F. Woods, PR #3859.
1997-07-25 01:42:20 +00:00
mrg 9fb5074a33 get at least *part* of "systat vmstat" right... 1997-07-25 01:15:09 +00:00
christos 5653c61f64 Restore from death. 1997-07-25 00:29:21 +00:00
christos 4c3f8ff516 Remove unnecessary files. 1997-07-25 00:21:57 +00:00
thorpej 8e341ad358 If loading an Elf kernel, load the symbol table immediately after
the kernel image.
1997-07-25 00:09:01 +00:00
thorpej f65454b2a6 Set up a version 1 bootinfo for the kernel. 1997-07-25 00:07:56 +00:00
thorpej f56c3c315f More DDB support:
- Add support for software single-stepping (Alpha does not have hardware
  support for single-stepping)
- Alpha uses Elf64 symbols.
1997-07-25 00:06:25 +00:00
thorpej 08d4c7e688 Update alpha_init() prototype; takes two more args. 1997-07-25 00:04:36 +00:00
thorpej 264f1c5acc Define the bootinfo magic number and bootinfo (version 1) structure. 1997-07-25 00:03:47 +00:00
thorpej 4d01f6fbee Add some DDB glue:
- Allow BUGCHK and BPT instruction faults in kernel mode if DDB is enabled,
  since they are used to invoke the debugger.
- Add a comment about how we'd like to invoke DDB on a trap panic condition,
  in a perfect world.
1997-07-24 23:55:01 +00:00
thorpej 020d0208d7 - Two additional arguments to alpha_init(): bootinfo magic number, and
pointer to boot program's bootinfo structure.  If the bootinfo magic
  matches, save a copy of the bootinfo structure, and use it to determine
  booted kernel name, the boot flags, and the location of the kernel symbol
  table.  If the magic number does not match, revert to the old method
  of finding this information (sans symbol table info).
- Add some additonal DDB glue.
1997-07-24 23:52:10 +00:00
christos eab39f597e Commit am-utils6.0a8 1997-07-24 23:16:10 +00:00
phil aa70cacc5f Apply patch from PR 1474, checking results of reading from the
bounds file.
1997-07-24 22:45:23 +00:00
christos 5feec48523 Import of Erez Zadok's am-utils 1997-07-24 21:19:53 +00:00
jtc 5dbbebc601 Revert last change, some folks have reported problems 1997-07-24 19:10:38 +00:00
bouyer 3bf1a6ad00 ufs_getlbns needs an array of NIADDR+1 struct indir's, and not NIADDR.
This fixes a panic due to stack corruption when reading larges files.
1997-07-24 17:18:03 +00:00
phil ffdae81455 Add parameter to call of pw_copy, don't use it, just pass NULL. 1997-07-24 08:54:56 +00:00
phil e807a0729d Changes to close PR3806. (Different than in PR.)
-- don't lock passwd until data is collected.
-- save a copy of original pw data for pw_copy checking
-- Try several times to lock passwd
1997-07-24 08:53:48 +00:00
phil 6907a00e10 Changes to close PR3807. (Different than in PR.)
-- don't lock passwd until data is collected.
-- save a copy of original pw data for pw_copy checking
-- Try several times to lock passwd
1997-07-24 08:53:06 +00:00
phil 01d72f4add Change pw_copy to take an optional 4th parameter (old_pw), a pointer
to a passwd structure.  If a good pointer, make sure old entry in file
is identical to passed passwd (old_pw).  If not, abort.

Update documentation, bump major version due to change to pw_copy.
1997-07-24 08:50:31 +00:00
phil d5c2f1b21b Update pw_copy prototype for changes for PR3806, 3807. 1997-07-24 08:47:48 +00:00
scottr 35884534c1 Remove HOSTED_* targets; define and use CPP and SIZE symbols, as inspired
by cgd's recent changes for the Alpha port.
1997-07-24 05:48:51 +00:00
scottr 0755be1f84 Use optimized _splraise() implementation, from mac68k/intr.h 1997-07-24 05:43:08 +00:00
augustss 45bde16e1a Fix paren typo so `ed' can edit files again. 1997-07-23 23:39:19 +00:00
thorpej b3fb623d7f Pull SYN_cache_branch down onto the main line. 1997-07-23 21:31:27 +00:00