Commit Graph

30447 Commits

Author SHA1 Message Date
augustss
d5b1561c91 Temporary fix to make it compile on non-i386. 1997-07-28 09:28:04 +00:00
thorpej
b54686772c Fix a bunch of compiler warnings. 1997-07-28 06:03:54 +00:00
thorpej
4902da1c96 Fix compiler warnings, build with WARNS. 1997-07-28 05:39:16 +00:00
augustss
d3de043fad Make sure the blocksize is always a power of 2 when inspected.
OSS only uses powers of 2 so some programs expect this.
Now Quake works!
1997-07-28 03:51:11 +00:00
thorpej
57e27962c0 Add "Numerical Aerospace Simulation Facility, NASA Ames Research Center",
per request of NAS management personnel.
1997-07-28 02:37:41 +00:00
augustss
f6cd87f322 audio: Minor cleanup and enable looping DMA for PSS and PAS. 1997-07-28 01:31:50 +00:00
thorpej
e794123006 Fix a rather severe bug in handling of incoming SYNs for peer/port values
which happen to have a TCB in TIME_WAIT, where an mbuf which had been
advanced past the IP+TCP headers and TCP options would be reused as if
it had not been advanced.  Problem found by Juergen Hannken-Illjes, who
also suggested a work-around on which this fix is based.
1997-07-28 01:07:48 +00:00
christos
3b1ba66d76 - Make the yacc .h file generation more sane from Juergen Hannken-Illjes
- PR/3919: Thorsten Frueauf: Add config_local.h to CLEANFILES and remove
  it from the repository.
1997-07-28 00:46:55 +00:00
augustss
ef80d3f828 Update man pages for new audio features. 1997-07-28 00:23:10 +00:00
augustss
d58bc6796f audio: Simplify handling of AUDIO_SETFD and committing of encoding mode. 1997-07-27 23:51:48 +00:00
augustss
63decd9438 Fix divide by 0 bug in audio driver. 1997-07-27 23:06:04 +00:00
augustss
f18d1df87b Modernize for new audio features. 1997-07-27 01:28:04 +00:00
augustss
9745684ebe Changes to the sudio system:
- It is now possible to handle devices that want "looping" DMA,
    e.g. the SoundBlaster correctly.  The WSS and SB drivers use this.
    To do this several new methods were introduced in audio_hw_if.
  - Different silence handling (forced by previous change).
  - The audio driver can now be mmap()-ed, but due to problems in
    the VM system only for writing for now.
  - The OSS (Linux) audio emulation takes advantage of some of the
    new features.
1997-07-27 01:16:32 +00:00
is
3ca46d33e1 Lowering spl when doing disk I/O below splbio() isnt recommended. 1997-07-26 22:07:54 +00:00
mhitch
8e145a319b Don't rely on curproc to access the current pcb when testing for kernel
faults.  Use curpcb, which always points to the current pcb.  If curproc
was NULL when the kernel faulted, the trap handling would fault recursively
and the kernel stack would overflow.
1997-07-26 19:46:40 +00:00
scottr
e083a60af2 KNF 1997-07-26 18:13:30 +00:00
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