Commit Graph

26070 Commits

Author SHA1 Message Date
jeremy 290f55615a Took switch statement out of main loop in pmap_protect() and explained more
of the rationale behind it.
1997-03-02 07:59:21 +00:00
scottr 93d8b2c8b0 Add the MAC68K_BROKEN_VIDEO option, which is a hack that delays enabling
NuBus interrupts until an Ethernet card is attached.
XXX  This should go away at some point, obviously.
1997-03-02 06:43:00 +00:00
scottr 152b0ab7d2 Adapt to sbc driver/attachment split 1997-03-01 20:22:16 +00:00
scottr 421abedbfe Split bus-dependent autoconfig code from the driver. This allows for
the future addition of a Duo Dock front end.
1997-03-01 20:18:58 +00:00
christos af9e021593 Added newfs_msdos 1997-03-01 19:46:36 +00:00
christos d5fff03ed1 From FreeBSD's mkdosfs:
- KNF
	- cleaned up a few typos.
	- use the msdosfs header files.
	- separated Makefile and Makefile.boot, since we cannot build
	  bootcode.h (yet)
ToDo:
	- Make it work on hard disks; only works on floppies
	- Make it accept an msdos.sys io.sys and a command.com, to make
	  a real dos bootable disk.
1997-03-01 19:42:54 +00:00
christos edc5dadbab PR/3269: Off by one in varisset(), caused variable substitution not to
count the last positional parameter as set.
1997-03-01 19:33:29 +00:00
jtk 46764eff41 PR # 3271: ignore SIGPIPE to avoid nasty clients causing apmd to die.
From Lennart Augustsson <augustss@cs.chalmers.se>.
1997-03-01 19:10:49 +00:00
scottr df7f40213a Allow A1 to be used for passing arguments to ROM routines. Also, clean up
debugging printf() formats.  From Allen Briggs and Paul Goyette.
1997-03-01 17:20:34 +00:00
matthias bda3351fc0 Some cosmetic changes. 1997-03-01 09:50:44 +00:00
matthias dd064fc88a Reset the scsibus only when bit 2 is set in flags. 1997-03-01 09:50:40 +00:00
matthias da45c7f449 remove reference to pc532/kgdb_stub.c. We now use the mi version. 1997-03-01 09:50:30 +00:00
matthias 5a74618671 The ns32532 has no alignment restrictions. Define ALIGNED_POINTER to
reflect this.
1997-03-01 09:50:19 +00:00
matthias 035bf3987f make db_expr_t a long. 1997-03-01 09:50:16 +00:00
matthias 73ea4ca540 Document a non-obvious use of addr in interrupt(). 1997-03-01 09:49:48 +00:00
matthias 799c3228ec kgdb_connect and kgdb_panic are not define in the mi kgdb_stub.c. Define
them here.
1997-03-01 09:49:45 +00:00
matthias 63183795c0 imask[IPL_ZERO] was updated after recomputing the run masks for all the
interrupt handlers. Due to this
  - DIAGNOSTIC kernels would panic
  - check_sir would run with the interrupt registered last blocked
Credits for finding and fixing this go to Ian Dall.
1997-03-01 09:49:44 +00:00
matthias 597322b455 * Adapt to changed definition of struct db_variable.
* Some cosmetic changes.
1997-03-01 09:49:42 +00:00
matthias 453b47e7bb removed. We now use the mi version from /sys/kern. 1997-03-01 09:49:20 +00:00
scottr a4b0e4c070 Protect MCLSHIFT definition so users can customize MCLBYTES, from Jonathan. 1997-03-01 06:57:45 +00:00
scottr 42be6ebfa7 Fix prototype for espmatch() 1997-03-01 06:38:36 +00:00
gwr 8e9324f653 Allow access to the PROM via /dev/kmem (like the sparc port) 1997-02-28 22:35:12 +00:00
gwr 403bdb83fa Add xxc_print functions to pass to config_found() instead of NULL.
(Thanks to Chris Demetriou suggesting the improvement.)
1997-02-28 21:23:06 +00:00
gwr 507bc60404 Define pmap_page_index as a macro. 1997-02-28 19:57:35 +00:00
gwr 03ff0a0c9b Allow pmap_page_index to be a macro (in pmap.h)
Make pmap_free_pages() teturn what actually remains
(Thanks to Wolfgang Solfrank for suggesting the fix.)
Fix some typos while I'm here...
1997-02-28 19:55:37 +00:00
gwr 58a45b478c Remove a diagnostic check in sunmon_reboot broke reboot on the sun3. 1997-02-28 19:47:15 +00:00
gwr 1354ca2916 Get rid of some printf noise. 1997-02-28 17:17:22 +00:00
mycroft b2038a332d Import interrupt priority changes from com patches:
* Make it a strict hierarchy.  (It was close anyway).
* Add `serial' and rename `softtty' to `softserial'.
* Make soft interrupts a bit less special-case.
1997-02-28 16:24:03 +00:00
scottr 215c0b896a Convert to generalized VIA interrupt registration 1997-02-28 15:50:50 +00:00
pk bf18a93a17 Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266 1997-02-28 13:34:50 +00:00
jonathan b57cf6e1ce Remove obsolete comment. (This config *does* work). 1997-02-28 09:51:21 +00:00
scottr 705c637874 Define aesetup() to return an int, so that the attach function can
determine whether there was an error (if so, we unmap the slot space
for this device).  Use this functionality to tell the attach function
that we couldn't clear the card's buffer.

Also in aesetup(), eliminate the bogus repetition of the error message
we print when the buffer clear actually fails.  Noticed by Hauke Fath.
1997-02-28 08:56:05 +00:00
scottr 0b3eb5f3f2 Remove duplicate <machine/bus.h> include that crept in. 1997-02-28 07:54:02 +00:00
scottr 17fdd597df Move the NuBus-specific watchdog function from if_ae.c to if_ae_nubus.c,
and allow the attach function to override the default watchdog.  Also,
do some minor cosmetic surgery (rename bus space tags/handles and some
KNFing I missed the first time around).
1997-02-28 07:52:44 +00:00
scottr 359101fb43 Convert to generalized VIA interrupt registration 1997-02-28 07:46:59 +00:00
scottr 8f37a2983b Generalize VIA1 and VIA2 interrupt registration a bit, and do a slight
optimization on the VIA interrupt handlers.
1997-02-28 07:41:41 +00:00
mikel a9513a3823 fix typo; from Andrew Wheadon in PR bin/3264. 1997-02-28 06:35:48 +00:00
mycroft 695fbc60e2 Use splclock() to block time updates, not splhigh(). 1997-02-28 05:01:21 +00:00
mycroft 85b2440284 Use splclock() to block time updates, not splhigh(). 1997-02-28 04:45:35 +00:00
mycroft 2563167e16 There's no reason to use splhigh() here. 1997-02-28 04:44:08 +00:00
jonathan cf0bcbc9b6 Define ALIGNED_POINTER
(missed when other <arch>/include/param.h files were updated)
1997-02-28 02:24:41 +00:00
jonathan f0f7e53290 Add compiled-in MCLBYTES and MSIZE to conf/param.c, as 'mclbytes" and "msize".
Add code to netstat to use libkvm to for kernel variables "mclbytes"
and "msize', and if found, use those for netstat -m rather than
compiled-in defaults.
1997-02-28 00:14:19 +00:00
ragge 9bf924ecc4 Be able to find out if we are booted from network. 1997-02-27 19:43:26 +00:00
gwr 4d534f3d52 Define VM_MAX_KERNEL_ADDRESS using KERN_END instead of a constant. 1997-02-27 18:22:53 +00:00
gwr 9b75e011ab Allow option MCLSHIFT=x to control MCLBYTES etc. 1997-02-27 18:12:38 +00:00
mycroft 700dee447e DTRT if vm_object_lookup() returns NULL. This may happen while an object is
being created or destroyed.
1997-02-27 17:49:05 +00:00
briggs 5933eeaaed Add ncr53c9x flag to esp. 1997-02-27 14:07:59 +00:00
briggs 868344972a mac68k-specific portion of m.i. ncr53c9x driver. 1997-02-27 14:06:25 +00:00
briggs 2163898eeb Add the 53c96 variant. 1997-02-27 13:59:32 +00:00
veego 96c6c333c2 Protect MCLSHIFT definition so users can customize MCLBYTES.
patch from jonathan.
1997-02-27 08:31:17 +00:00