mark
eb947d2f5e
Fix bug in event signalling.
1999-06-01 09:34:06 +00:00
briggs
6e95146ec6
Raise spl4 to spl6 in quick_go--I am now experimenting with interrupts
...
at levels 5 (sound) and 6 (via1) on the Q700.
Raise splhigh when reading and writing registers. It's ugly, but it's
possible that we could get an interrupt from a higher-level source,
causing a re-read of a memory location.
This is not good when, e.g., we are reading the interrupt register.
Ideally, we would just raise splhigh() in ncr53c9x_readregs(), but
that's m.i. code, and it may be expensive on other architectures.
1999-06-01 03:40:12 +00:00
mark
29fe96b920
Guard inclusion of opt_cputypes.h.
1999-06-01 03:37:02 +00:00
briggs
0ff3b0087c
Add debug routine as an aid for working out new nubus cards.
1999-06-01 03:26:42 +00:00
briggs
5e28d99a64
Add define for another ethernet card (Nuvolink)
...
Wrap nubus_scan_slot() prototype in #ifdef DEBUG.
1999-06-01 03:24:25 +00:00
briggs
42d2797a4b
Comment out DISABLE_EXT_CACHE as it unnecessarily slows down the IIci
...
w/ external cache. Leave it around so the paranoid can still use it.
1999-06-01 02:39:25 +00:00
ross
a1c15a355d
In PMAP_ISACTIVE(), check curproc->p_vmspace before using it; this macro
...
is called early in startup, long before p_vmspace is set to &vmspace0.
1999-05-31 20:49:00 +00:00
ross
4313734913
After some banging and bashing, commit Jason's new ddb traceback code.
1999-05-31 20:42:15 +00:00
ross
604d4df11e
Convert to traceback-friendly temporary labels.
1999-05-31 20:40:23 +00:00
ross
ffc59b8bad
Be less drastic when running strip(1) on DEBUG=-g kernels.
1999-05-31 18:54:49 +00:00
minoura
db782f7c11
First attempt to implement PMAP_NEW interface.
...
The code was mostly written before the pmap_k* inconsistency fixes.
Work around might still remain. Should be removed.
1999-05-31 14:39:13 +00:00
nisimura
8286166c86
- Call _splnone() explicitely after auto config. was well done to make
...
sure SOFT_INTs cleared before interrupt processing is started.
1999-05-31 07:42:56 +00:00
ross
6b3d12f44a
Calculate what sp would have been and save it in otherwise-unused
...
FRAME_SP slot if entering ddb.
1999-05-31 06:41:39 +00:00
nisimura
fad2c4c762
- A little attention for TLBUpdate().
1999-05-31 06:10:32 +00:00
ross
d3df2008f1
Fix generation of locore.s dependencies.
1999-05-31 02:46:17 +00:00
eeh
b14c7f77cb
Garbage collect.
1999-05-31 00:14:00 +00:00
eeh
07d5dfdd7b
Fix some bugs in some more of those asm macros.
1999-05-31 00:13:16 +00:00
briggs
f3d8507abd
PR 7021 from Yoshihisa Sugimoto <sugimoto@sums.shiga-med.ac.jp>:
...
Clear interrupt properly on the RasterOps 24XLTV. Same as the 24LX.
1999-05-30 21:43:19 +00:00
is
2e63d78d8b
Support for a ... somewhat strange method of doing >512 byte/block
...
ADOSFS partitions. By Matthias Scheler via PR 2559. A diagnostic
check was updated by myself.
1999-05-30 21:21:36 +00:00
briggs
59422960ea
PR 7220 from Ken Nakata:
...
I've fixed most (not all) m68k FPE bugs that give bogus
calculation results, esp. fsqrt instruction. Also, the internal FP
representation has been reduced from 115-bit mantissa to 67-bit
mantissa which reduced the required mantissa operation roughly by one
fourth. I've done an extensive (though not exhaustive - it's
impossible!) test on the internal routines by feeding them randomly
generated FP numbers, and found that the new code is more precise than
MC68040 FPU (it seems to have a rounding bug).
[ Only change was to keep fpu_calcea.c's name instead of renaming to
fpu_ea.c in Ken's patch. --akb ]
1999-05-30 20:17:48 +00:00
eeh
64b891fc8d
Add code to support using %tick as the system clock if no "counter-timer" node
...
is found.
1999-05-30 19:13:33 +00:00
eeh
cd53dbd506
Re-write ASI load/stores to use full 64-bit addresses so we can use device
...
register addresses with MMU bypass ASIs.
1999-05-30 19:11:33 +00:00
eeh
c2f2c064c0
Make pmap_enter() handle little-endian mappings properly.
1999-05-30 19:01:50 +00:00
eeh
de1ba9c829
Grab real locks from the sparc port. I suppose we could use casa and casx
...
instead of ldstub, but since we aren't doing n-way locking it makes little
difference. N.B. Need to decide what to do with sparc64/sparc64/asm.h which
has name conflicts with sparc64/include/asm.h. So far most of
sparc64/sparc64/asm.h has been moved to ctlreg.h.
1999-05-30 18:57:27 +00:00
eeh
dafdd170d7
Handle little-endian mapin requests.
1999-05-30 18:52:51 +00:00
mrg
01849b81ca
allow the kernel to link with no arp (ether) devices
1999-05-30 07:36:28 +00:00
mrg
1b384c6911
clone intr.h from the SPARC.
1999-05-30 02:37:10 +00:00
nisimura
ce19767c8b
- Make a modification to reduce the cost of TLBmod exception handling.
...
TLBUpdate() routine is used for dual purposes. In TLBmod case, just ok
to call 'tlbwi' (as designed). Result in saving of extraneous execution
path. MIPS1 only this moment.
1999-05-29 09:38:28 +00:00
nisimura
fcd9e7edb9
- Correct uninitialized pointer issue I made.
...
- Put a comment why the original prodtype detection logic made no trouble.
1999-05-29 09:31:02 +00:00
simonb
59dfa57be9
Move initialisation of ioasic_base to dec_3maxplus_init() - it is used
...
in this function before dec_3maxplus_os_init() gets called.
1999-05-29 07:10:36 +00:00
thorpej
dbc1dd921a
Clone vmapbuf() and vunmapbuf() from the Alpha port.
1999-05-28 22:59:40 +00:00
mark
8885cdd879
Implement a workaround in initarm() for a problem that stopped ARM610
...
and some ARM710 processors from completing their initial bootstrap.
Fixes PR7595.
1999-05-28 09:59:31 +00:00
simonb
f62bb2b791
Add CD9660 filesystem - useful for installing from CD-ROMs :-)
1999-05-28 08:07:12 +00:00
nisimura
d116bc4a0d
- Make this compilable with MIPS1 or MIPS3 only configuration.
1999-05-28 07:23:38 +00:00
pk
0953844306
Casts to match `%d' in printf format.
1999-05-27 14:20:10 +00:00
pk
69b216aefe
xmit' &
recv' return `ssize_t'
1999-05-27 14:04:25 +00:00
leo
88efdc6951
Add support for the memory on the CT2 board. Info from Thomas Goirand.
1999-05-27 09:08:25 +00:00
mark
ccb5b09c4f
Grr. Nuke the remaining allocsys() prototypes.
1999-05-27 09:08:09 +00:00
mark
99804cc3e7
Nuke old prototype of allocsys().
1999-05-27 09:04:11 +00:00
nisimura
9b5cf7b4de
- Save MIPS1 only configuration for 3min, pointed by Erik Bertelsen
...
<erik@mediator.uni-c.dk>
1999-05-27 06:43:50 +00:00
nisimura
58cf81db34
- Change a symbolic name of TLB entrylo from 'PG_M' to 'PG_D' to reflect
...
processor design. MIPS 'dirty bit' is not the same as i386 'dirty bit'.
There is a growing concern of misuse in NetBSD/mips.
1999-05-27 01:56:32 +00:00
thorpej
beb8d06638
Generally update the comment above vunmapbuf().
1999-05-26 22:19:33 +00:00
thorpej
a2d06a4721
Generally update the comment above the vmapbuf() implementations.
1999-05-26 22:07:36 +00:00
thorpej
985f839e63
Add a comment explaining why INTRSAFE isn't needed here.
1999-05-26 19:23:13 +00:00
thorpej
2580d306ab
Change the vm_map's "entries_pageable" member to a r/o flags member, which
...
has PAGEABLE and INTRSAFE flags. PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that. INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now). This will eventually
change now these maps are locked, as well.
1999-05-26 19:16:28 +00:00
leo
48627f3c5d
Make this compile again. I assumed that the use of 'format_memory()' was
...
an error? Made it use format_bytes()....
1999-05-26 14:29:34 +00:00
cgd
5dd4815be9
uh, get the port name consistently correct (NetBSD/alpha, not NetBSD/Alpha)
1999-05-26 06:22:03 +00:00
nisimura
1922144399
- Remove now obsolete function declaration.
1999-05-26 04:27:27 +00:00
nisimura
d7a56fd7fa
- Continue on branch merge, incrementally.
...
- Catch up filename changes escaped to be fixed.
1999-05-26 04:23:58 +00:00
thorpej
40aacb6eb5
No longer need to pmap_modified_emulation() in cpu_swapin(), since
...
uvm_fault_wire() does the right thing with access_type.
XXX Was there a bug here? pmap_modified_emulation() *wasn't* done in
XXX cpu_fork()!!
1999-05-26 00:40:20 +00:00