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
wdk
ff5d9dc3a7
Change default kernel format from ECOFF to ELF now we can boot ELF using
...
libsa based bootstraps. This is now the prefered format.
ECOFF format kernel renamed to netbsd.ecoff - still required for network
booting.
2000-10-03 09:46:39 +00:00
wdk
e705396abb
Switch to MI md_root.c
2000-10-03 09:38:20 +00:00
sato
af1dcf13da
flash led when intrrupt.
2000-10-03 03:16:16 +00:00
sato
c419b94c00
vr41xx LED unit driver.
2000-10-03 03:13:04 +00:00
sato
ca7374c959
add POWERCONTROL_LED.
...
add PMEVENT_AC, PMEVENT_BATTERY.
2000-10-03 03:08:33 +00:00
nisimura
fc21cc81e1
- Hide MachHitFlushDCache() symbol by enclosing #ifdef MIPS3 to make
...
compilable with MIPS1 only configuration.
- MIPS3 virtually addressed cache op can do its work in a single call for
range of address space.
2000-10-02 22:56:51 +00:00
cgd
8dbc5c0c51
provide mips3_ld() and mips3_sd(), functions which provide safe wrappers
...
for mips3 (and later) 'ld' and 'sd' instructions. These currently
only are properly implemented for the _MIPS_BSD_API_LP32 and
_MIPS_BSD_API_LP32_64CLEAN 'API's. They're pretty messy, but when you
need them, you really need them.
2000-10-02 22:13:38 +00:00
abs
2824f4906d
Ensure all INSTALL* kernels have two ptys, and a note explaining why:
...
pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
(Some installers may not be using sysinst, in which case this just reduces
the number of ptys from 16 that are not used to 2 that are not used)
For i386 conf files, no change other than comments.
2000-10-02 18:43:34 +00:00
tsutsui
c29947d800
Switch to MI md_root.c.
2000-10-02 15:24:09 +00:00