onoe
f2c3050d29
change the type of the apbus interrupt handler from void to int
...
for each driver to indicate the interrupt has been handled or not.
2000-10-12 03:13:47 +00:00
onoe
be4c939451
change the type of the apbus interrupt handler from void to int
...
for each driver to indicate the interrupt has been handled or not.
add prototype of apbus_dmatag_init() function, which allocates memory
and initialize its member including bus space handle to flush DMA write
cache. Note that the allocated pointer must be freed.
2000-10-12 03:12:01 +00:00
onoe
655ba83924
Allow multiple interrupt handler on same interrupt event.
...
Clear interrupt mask for specified interrupt in apbus_intr_establish().
Add dma stuff; define apbus_dmamap_sync() to flush DMA write cache by
accessing the corresponding I/O port.
2000-10-12 03:11:38 +00:00
onoe
de22372491
Use 1MHz freerun counter for microtime().
...
Show address for bus error, and DMA address error.
should be panic, but only printf for now.
2000-10-12 03:10:37 +00:00
onoe
68f82490a3
Support scsi boot device for NWS-5000.
...
Support NWS-3700, which is very similar with NWS-3400.
Do not depend on modelid of idrom, which is useless in most cases.
2000-10-12 03:10:07 +00:00
onoe
4e2e140f75
Do not access graphic console if probing framebuffer fails for NWS-3400.
...
Use serial console instead regardless the dipsw.
2000-10-12 03:08:58 +00:00
onoe
1383251d9a
Bus I/O and DMA access macros/routines.
2000-10-12 03:07:59 +00:00
onoe
0ff12521fa
Add address for free running 1MHz 1counter.
...
Add registers for APbus I/F gatearray.
2000-10-12 03:07:02 +00:00
mhitch
28c4cc2851
Use uncached memory so this has a chance of working on R4x00 DECstations.
...
My 5000/260 hung hard when a PMAG-D board was probed during boot.
2000-10-11 17:55:56 +00:00
jeffs
bdbb241be6
Fix race between pmap_enter() and pagedaemon. If we are low on memory and
...
pmap_enter() cannot allocate the segmap return failure if PMAP_CANFAIL
instead of sleeping. Otherwise panic. Both alpha and i386 do this. Do
not pmap_enter_pv() until after this is done so the data structures are
not partially allocated. This should prevent pmap_page_protect() from
getting stuck when called from pagedaemon.
2000-10-10 20:39:42 +00:00
he
489b832f9b
Add randomness sampling from hil, sd and rd devices.
2000-10-10 19:58:42 +00:00
ad
e126f09103
Switch to sys/dev/md_root.c.
2000-10-10 10:25:55 +00:00
dbj
15034fe38a
add rnd_source field to mb8796_softc
...
this fixes compile problems with rnd pseudo-device added to GENERIC kernel
patch submitted by greg oster
2000-10-09 10:45:45 +00:00
nisimura
778081cbf4
Add mtc0 insn to load TX3900 config register value to determine Dcache size.
2000-10-09 10:14:23 +00:00
nisimura
89e5c346a4
mips1_ConfigCache() has gone.
2000-10-09 07:33:31 +00:00
leo
c36cc80ceb
Fix a typo that slipped in with the last round of scheduler changes. The
...
register numbers were exchanged.
2000-10-09 06:15:02 +00:00
thorpej
3290ef5fe8
Re-order the TLB operations in pmap_zero_page() and
...
pmap_zero_page_uncached(). This seems to prevent the
lossage with those functions people have seen on Cyrix
CPUs.
2000-10-08 22:59:38 +00:00
thorpej
87a787f7b4
Make sure we use kvtopte() only on kernel addresses. Should
...
fix a panic that occurs when using KGDB repored by Nathan Williams.
2000-10-06 18:37:39 +00:00
tsutsui
fbc8920b4b
variable clock_attached is not needed.
2000-10-05 21:20:48 +00:00
tsutsui
bc0aec12fa
Make leds_intr() __inline.
2000-10-05 19:04:59 +00:00
tsutsui
50570826e7
Remove garbage in comment.
2000-10-05 18:22:41 +00:00
tsutsui
911552b39a
pasto (s/mips/m68k/)
2000-10-05 18:21:10 +00:00
ragge
de4982c7fa
Fix bug that prevented DMA to work on SCSI chain B. This fixes PR#11124
...
but in a different way than suggested by the submitter.
2000-10-05 07:34:49 +00:00
cgd
59706f1322
clean up and consistency for CP0 Count, Compare, Wired, and Config
...
access function names and prototypes.
2000-10-05 02:36:44 +00:00
cgd
b1b364243d
always have to declare cpu_arch and the related constants (since setting
...
it isn't conditionalized). (d'oh!)
2000-10-05 02:13:14 +00:00
cgd
7fefa594f7
add two blank lines
2000-10-05 01:17:20 +00:00
cgd
36123017cb
nuke mips3_clearBEV(). There's really no point in coding a
...
special-purpose assembly routine for things like this.
2000-10-05 01:06:06 +00:00
cgd
3f1d3c3066
tweak cpu_arch. Eliminate all direct checks of it (making them
...
use the macro CPUISMIPS3 -- which is badly misnamed), and set it
from #defines named CPU_ARCH_N (where N is 1..5, 32, 64).
2000-10-05 00:52:59 +00:00
jdolecek
2fa1ccfa6e
bootpath_build(): implement slighly more clever algorith to find boot
...
flags in the bootpath: only treat the rest as boot flags if the '-'
follows whitespace (space or tab)
This should fix the "boot disk4 netbsd-20001004-RFHS8036" lossage
Hubert Feyer pointed out in private e-mail.
Tested by: jdolecek (userland version)
Reviewed by: eeh
2000-10-04 23:05:08 +00:00
cgd
e9e1084ea3
rename mips_read_causereg -> mips_cp0_cause_read. nuke prototype
...
for mips_read_statusreg (which was apparently never implemented).
Provide prototypes and implementations for mips_cp0_cause_write,
mips_cp0_status_read, and mips_cp0_status_write. (Writing can, of
course, be quite dangerous.)
2000-10-04 22:44:01 +00:00
itojun
0c84fad435
more rnd(4).
2000-10-04 22:26:49 +00:00
eeh
6638fc7c06
Fix interrupt lossage problem and some cosmetic changes.
2000-10-04 22:18:25 +00:00
cgd
8b8afc8d07
the generic MIPS code doesn't even play at doing anything useful
...
with a MIPS4 option at this point -- all the code except for one single
spot is conditionalized with MIPS3. So, don't even pretend about
MIPS4 for now, until it all gets cleaned up.
2000-10-04 21:41:47 +00:00
cgd
13eb329ef1
provide indicators of a few more things that might go in opt_cputype.h
2000-10-04 21:31:06 +00:00
is
b0ee22422c
Regenerate from INSTALL.
2000-10-04 20:44:53 +00:00
is
6458912fb4
regenerate: INSTALL changes as implemented in GENERIC and Makefile.
2000-10-04 20:40:06 +00:00
is
986619df97
Reimplement the INSTALL changes in GENERIC and Makefile.
2000-10-04 20:38:11 +00:00
is
1c9bb33fcb
resync, mostly for the rnd addition.
2000-10-04 20:13:42 +00:00
itojun
779fc41d88
enable rnd(4)
2000-10-04 18:14:35 +00:00
tsutsui
39787038e9
Switch to MI mk48txx driver.
...
XXX All config files should be updated since now clock address does not
XXX contain clock register offset in NVRAM.
2000-10-04 16:35:43 +00:00
tsutsui
3f1232147d
Initial bus_space(9) support for news68k. From hp300.
2000-10-04 16:26:43 +00:00
uch
478ab76ca3
experimental power management support for TX3912/TX3922 based model.
2000-10-04 13:53:54 +00:00
nisimura
8d263719b9
Merge exception return path of SystemCall and UserGenException into
...
proc_trampoline.
2000-10-04 08:46:21 +00:00
tsubai
9fa9ef4716
Add rnd.
2000-10-04 08:26:42 +00:00
itojun
9e47af8814
enable rnd device. they are now mandatory for ssh/sshd support,
...
so it makes more sense to enable it.
please disable them if there's any issues, but in that case, in-tree
ssh/sshd won't work.
2000-10-04 03:35:53 +00:00
sato
832204750a
fix mistake of sigmarion cmdmap.
2000-10-04 03:31:14 +00:00
nisimura
a46cefdf5b
Redo the previous change to save MIPS1 only configuration. It's
...
uncertain whether a multiple page flush with a single HitFlush()
call is safe.
2000-10-04 02:02:05 +00:00
cgd
11e8e89dd4
add some additional info re: MIPS32 PRID encoding, derived from
...
the ``MIPS32 4K Processor Core Family Software User's Manual
Revision 01.07 June 19, 2000", available on the web from:
http://www.mips.com/declassified/Declassified_2000/MD00016-2B-4K-SUM-01.07.pdf
2000-10-03 23:15:58 +00:00
tsutsui
2f6ed1a331
Reorganize news68k clock device configuration and
...
prepare to switch to MI mk48txx driver.
XXX news68k does not have bus_space(9) support yet.
2000-10-03 13:49:24 +00:00
wdk
6b207c8f05
Add netbsd.ecoff to list of files to cleanup. Forgot in previous commit.
2000-10-03 10:09:12 +00:00