scottr
956ec2a47c
The previous optimization of the interrupt handlers was a bit too
...
agressive. Being a little more conservative pays the biggest dividend.
1997-03-04 04:11:52 +00:00
pk
18b2bdb000
Fix calculation of max virtual memory to be gobbled up by the buffer cache.
...
Apply "stop-gap" nbuf clamp only on sun4/4c and if nbuf not explicitly
configured in.
1997-03-03 23:07:15 +00:00
christos
700cbbae46
Fix bug introduced in the conversion to bus_*(). Don't always say that
...
we are a JASS16. From enami tsugutomo.
1997-03-03 21:40:01 +00:00
mycroft
3a474fa002
Remove a printf() that's no longer needed.
1997-03-03 20:56:12 +00:00
leo
224221401b
Ooops. Add cvs-id + copyright.
1997-03-03 13:55:50 +00:00
leo
b170f473ba
Add bus_space_peek_[1248] functions. These can be used by match/probe
...
functions.
1997-03-03 12:28:20 +00:00
leo
301f6163bb
Addition of VME bus code.
1997-03-03 12:26:20 +00:00
leo
485c62188c
VME bus code
1997-03-03 12:20:57 +00:00
jeremy
c0b46da054
Use IOMMU_PAGE_SIZE instead of NBPG, since theoretically the IOMMU page size
...
is different than the CPU page size.
1997-03-03 06:51:42 +00:00
scottr
f749003301
Fix part of last change: don't mask off the high bit of the VIA IER until
...
the interrupt has been unflagged. Problem noticed by Paul Goyette.
1997-03-03 04:19:06 +00:00
mycroft
8c6fca26ee
Oops! Fix this to block all interrupts during configuration, after previous
...
interrupt priority changes.
1997-03-03 02:33:41 +00:00
jonathan
72a7ae4ee5
Add architecture-specific ELf relocs for mips chips.
1997-03-03 00:19:29 +00:00
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
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
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
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