Commit Graph

1282 Commits

Author SHA1 Message Date
mark
3ad4ac45f9 Reworked interrupt blocking and unblocking to improve interrupt latencies
during context switches.
1998-08-12 01:10:29 +00:00
mark
0a1a20bd29 Recognise STRH, STRSH and STRSB instructions as store instructions when
determining page protections for [u]vm_fault(). Fixes bug spotted by
Richard Earnshaw.
1998-08-10 15:15:49 +00:00
mycroft
093a8daf6b Go to splhigh in the debugger. 1998-08-09 00:00:57 +00:00
mycroft
e2686d0a1b Use splnet, not splimp. 1998-08-08 23:51:39 +00:00
mycroft
d5eb56b2c2 Move splclock and splaudio outside splimp. 1998-08-08 23:39:38 +00:00
kleink
709dda58f8 _POSIX_SOURCE -> _POSIX_C_SOURCE, and add missing protection bits. 1998-08-06 11:22:57 +00:00
mark
25997dd19d IPL_TTY -> IPL_SERIAL. 1998-08-04 20:09:37 +00:00
mark
b6ffd3a85e Don't call cpu_tlb_flushID() from the pmap_update macro. 1998-08-04 19:11:29 +00:00
mark
167a777474 Drop in the lastest round of optimisations from Neil Carson.
The cache cleaning code in pmap_copy_page() and pmap_zero_page()
  has been rewritten and uses a new function pmap_clean_page().
  pmap_remove() has been completely rewritten to make it more efficient
  when there are only a few pages that actually need to be removed.
1998-08-04 19:02:19 +00:00
mark
47ac4421e0 In setregs(), only pass the stack value in r12 if COMPAT_1[123] is defined. 1998-08-04 16:25:28 +00:00
mark
4b14908352 Fix the validation of source addresses in db_read_bytes() so that
memory ranges mapped with L1 section mappings do not cause aborts
due to lack of L2 page table.
1998-08-04 16:19:54 +00:00
mark
e9c872cd6b Define a macro L1_MASK to mask out the level 1 pde type bits. 1998-08-04 16:16:22 +00:00
mark
d91830b032 Namespace cleanup. Prefix all the JMPBUF* macros with _JB. 1998-08-04 02:01:17 +00:00
mark
70fe6c76a1 Pass ps_strings in r0 when execing processes.
Use macros rather than absolute values in zero_page_read*() functions.
1998-08-02 21:50:31 +00:00
thorpej
0869d8f714 Blargh, deal with some fallout from the ISA PnP goo, this will go away once
we can pull in files.isa properly.
1998-07-31 16:42:01 +00:00
thorpej
29ad6dac50 ISA PnP goo. 1998-07-31 04:50:01 +00:00
thorpej
6f3b1afe37 First-cut ISA PnP support for NetBSD/arm32. 1998-07-31 04:48:42 +00:00
thorpej
7b68dfc9c7 Fixup include paths. 1998-07-30 21:58:48 +00:00
thorpej
d85ed3d973 Put the SoundBlaster stuff back for files.ofisa (Until we can just
properly include files.isa).
1998-07-30 21:51:00 +00:00
augustss
cdeb158d5f A first stab at making the SHARK sound work. It doesn't really work
yet, but it probes and makes a noise when used.  Stay tuned!
1998-07-30 14:11:42 +00:00
mark
620bc79e36 Fix the copyin(), copyout() argument validation to check for zero
length copy before returning EFAULT for a bad address.
1998-07-29 00:56:08 +00:00
thorpej
6dd25080b4 Garbage-collect ofisacs, noted by Scott Reynolds. 1998-07-28 21:19:13 +00:00
thorpej
3ff8e6493a Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:34:52 +00:00
thorpej
9b35e91d59 Update for cs* at ofisa? 1998-07-27 01:44:20 +00:00
thorpej
803df07221 Obsolete. 1998-07-27 01:43:24 +00:00
thorpej
6d885615a2 Obsolete. 1998-07-27 01:42:19 +00:00
thorpej
6828d39080 Actually provide the correct bus space tags. 1998-07-27 00:48:15 +00:00
thorpej
b9aeeb3fa1 Remove a test, making diagnosis of IRQ problems easier. 1998-07-26 21:24:37 +00:00
thorpej
f0ff548dd2 Rewrite the probe to use values from the EEPROM for membase and IRQ
if they're not specified by the attach arguments, so that they can
be reported by isaprint().  Rearrange the attach routine to facilitate
splitting this up into front- and back-end drivers.
1998-07-25 01:15:54 +00:00
thorpej
b4195e59cd Change the interface to the EEPROM functions such that they can be called
from the probe routine.
1998-07-24 23:25:13 +00:00
thorpej
8d611b5f32 Remember the product ID and revision. 1998-07-23 19:25:52 +00:00
thorpej
1c9aed40f6 Round-out full-duplex support. 1998-07-23 19:02:55 +00:00
thorpej
202d438148 CS8900 driver has of_network_dev property. 1998-07-22 22:09:59 +00:00
thorpej
c10c18b955 Get media from OpenFirmware. 1998-07-22 22:09:18 +00:00
thorpej
05ff8b05f5 Print the default media at attach time. 1998-07-21 23:09:25 +00:00
thorpej
02ad0b4eda Add support for ifmedia. 1998-07-21 22:58:31 +00:00
thorpej
aaa383804d Correct the name of the CS8920M id. 1998-07-21 19:54:56 +00:00
thorpej
52cfd19bcf Ever closer to KNF. 1998-07-21 01:17:14 +00:00
thorpej
bb3c5257c7 Move the cs8900 driver's softc, etc. definitions to an MI location. 1998-07-21 01:04:55 +00:00
thorpej
133efc841f Use <dev/isa/cs89x0var.h> 1998-07-21 01:04:09 +00:00
thorpej
9c9a866a90 Move PacketPage read/write macros in to if_csvar.h 1998-07-21 00:58:46 +00:00
thorpej
bdc9dcbe8a G/c two more unused definitions. 1998-07-21 00:53:57 +00:00
thorpej
23efef79fc Move the code that prints Rx errors into a separate function, rather than
duplicating it.
1998-07-21 00:52:15 +00:00
thorpej
9282418a78 Some cosmetic changes. 1998-07-21 00:40:17 +00:00
thorpej
20fb09c609 G/c more unused debugging goo. 1998-07-21 00:24:45 +00:00
thorpej
6014ea2216 Garbage-collect some unused debugging goo. 1998-07-21 00:23:18 +00:00
thorpej
f45804c4c6 Nuke sc_iobase (and a serious misuse of it!) 1998-07-21 00:22:29 +00:00
thorpej
22ff8accae Use fixed-size types. 1998-07-21 00:20:35 +00:00
thorpej
5b56c35223 Nuke the "pia" typedef. 1998-07-21 00:18:35 +00:00
thorpej
44d02a07d0 Update for <dev/isa/cs89x0reg.h> 1998-07-21 00:11:03 +00:00