gmcgarry
7470337484
Move LLSC feature test for mips1 to cputab[].
2002-08-04 02:27:51 +00:00
thorpej
0aa15bdf33
Add support for "xor5", "xor6", "xor7", and "xor8".
2002-08-04 02:26:18 +00:00
gmcgarry
617f58fb55
Add sysctl variable to represent native CPU support for LL/SC instructions.
2002-08-04 01:47:15 +00:00
gmcgarry
886e32d355
mips1 doesn't have native LL/SC instructions.
2002-08-04 01:43:03 +00:00
gmcgarry
3647e0d293
Merge cpu_sysctl() for all mips ports, based on powerpc and m68k precedent.
...
For now, only pmax implements CPU_BOOTED_KERNEL. Need to revisit.
2002-08-04 01:41:23 +00:00
gmcgarry
e0590ef08b
Boot loader is now case sensitive. Fixes PR-17711.
2002-08-04 00:44:58 +00:00
thorpej
3b50c1710c
* Define the 8-input, 16-input, and 32-input descriptors.
...
* Adjust descriptor sync'ing to work with the additional descriptor
formats.
2002-08-03 21:58:55 +00:00
thorpej
a39c3378b6
Restructure the iopaau_function slightly to provide greater
...
flexibility when using different descriptor formats.
2002-08-03 21:31:16 +00:00
itojun
b41a39617e
comment things out for smaller footprint
2002-08-03 15:52:20 +00:00
simonb
7cfa7d3ce0
Sprinkle a small amount of KNF.
2002-08-03 13:12:44 +00:00
isaki
2450cd0acc
Fix compile warnings in debug code.
2002-08-03 06:38:41 +00:00
itojun
8dd04cdcd7
correct range check, have overflow check, fix type mismatches,
...
for cmap args and some other calls. from openbsd
2002-08-03 00:12:48 +00:00
soren
8e607cdca8
G/c vestiges of old sun3-specific SYMTAB_SPACE support.
2002-08-02 18:19:58 +00:00
thorpej
c070073d8e
Add support for xor2, xor3, and xor4. Fix inverted direction
...
indications in some bus_dma operations.
2002-08-02 06:52:16 +00:00
ichiro
2543e04449
chenge comment for wi(4)
...
- add vender Intersil
2002-08-02 05:26:44 +00:00
chs
810cde53cc
use a completely separate trap handler for syscall traps.
...
this reduces syscall overhead by 10% to 20% depending on cpu type.
2002-08-02 03:46:42 +00:00
thorpej
58983a92ba
Let the "zero" and "fill8" functions share a bunch of code.
2002-08-02 02:08:11 +00:00
thorpej
f7328ddbe7
Add dmoverio.
2002-08-02 00:50:25 +00:00
thorpej
6f79106887
Add dmoverio.
2002-08-02 00:45:37 +00:00
thorpej
321a514c93
Grr, RCS ID tag typo.
2002-08-02 00:36:38 +00:00
thorpej
036da55e8f
Add support for the Intel i80321 I/O Processor's Application Accelerator
...
Unit. The AAU provides block fill, block copy, XOR, and XOR-parity-check
operations. We currently provide dmover(9) functions for "zero", "fill8",
and "copy".
Much of this code can be shared with the i80312 Companion I/O AAU, and
will be when support for the older chip is implemented.
2002-08-02 00:35:47 +00:00
thorpej
d038c91c0c
Delete all the AAU register definitions; they are moved to a separate
...
file in a future commit.
2002-08-02 00:33:29 +00:00
simonb
7f7785b33b
Add the sysmon device.
2002-08-01 23:18:07 +00:00
simonb
01aba18e65
Add wdog device.
...
Add kttcp pseudo-device.
Neaten up a little.
2002-08-01 23:17:04 +00:00
simonb
d16ca1844f
Add driver for 405gp (and other 4xx?) watchdog timer.
2002-08-01 23:15:37 +00:00
thorpej
e3e6d7dfa5
Move the DMA tag initialization functions into i80312.c.
2002-08-01 19:55:02 +00:00
thorpej
f546baba66
Move the DMA tag initialization functions into i80321.c.
2002-08-01 19:40:07 +00:00
hannken
5868a9832a
Convert to new device buffer queue interface.
...
Approved by: NISHIMURA Takeshi <nsmrtks@netbsd.org>
2002-08-01 12:45:20 +00:00
hannken
0de052bd51
Convert to new device buffer queue interface.
...
Approved by: Noriyuki Soda <soda@netbsd.org>
2002-07-31 18:48:17 +00:00
thorpej
dce4476374
Overhaul how DMA ranges work in the ARM bus_dma implementation.
...
A new "arm32_dma_range" structure now describes a DMA window, with
a system address base, bus address base, and length. In addition to
providing info about which memory regions are legal for DMA, the new
structure provides address translation support, as well.
As before, if a tag does not list any ranges, then all addresses are
considered valid, and no DMA address translation is performed.
This allows us to remove a large chunk of code which was duplicated and
tweaked slightly (to do the address translation) from the stock ARM
bus_dma in the XScale IOP and ARM Integrator ports.
Test compiled on all ARM platforms, test booted on Intel IQ80321 and Shark.
2002-07-31 17:34:23 +00:00
matt
643ea53c65
Use 11 for the USER_SR since we use BAT 12 for PCI MEM space.
2002-07-31 16:23:37 +00:00
isaki
733ad2d0f4
Fix compile warnings in debug code.
2002-07-31 11:01:26 +00:00
simonb
e5a27ab142
Sync bcm1250 headers with cfe-1.0.32.
2002-07-31 06:26:24 +00:00
simonb
e9dfdd9b2e
Add support for the watchdog timers on the BCM1xxx parts.
2002-07-31 05:30:20 +00:00
simonb
4464952a27
Use evbmips/evbmips/conf_common.c since the sbmips port's conf.c was
...
mostly in-sync with the evbmips one. The kttcp device has changed
device number; users who have created that will need to re-create it.
2002-07-31 04:04:53 +00:00
simonb
34b375c0dd
Add kttcp, sysmon and broadcom/sibyte devices.
2002-07-31 03:42:54 +00:00
thorpej
79af00bddb
Move the calls to uvm_page_physload() out of pmap_bootstrap() and
...
into platform-specific initialization code, giving platform-specific
code control over which free list a given chunk of memory gets put
onto.
Changes are essentially mechanical. Test compiled for all ARM
platforms, test booted on Intel IQ80321 and Shark.
Discussed some time ago on port-arm.
2002-07-31 00:20:51 +00:00
simonb
314a0f00d1
Fix the mask for the watchdog init and count registers.
2002-07-30 23:10:04 +00:00
nathanw
3fe600dd5c
Experimentation reveals that the implementation of GET_ENV on at least
...
some systems chokes if the buffer is not 8-byte aligned. GCC only aligns
character arrays to 4-byte boundaries by default, so it's possible to get
unlucky and die in the boot blocks with a "kernel stack not valid halt".
Avoid the problem by using a local, aligned buffer as the argument to GET_ENV,
and copying the result into the caller's buffer.
Should fix PRs port-alpha/17682 and port-alpha/17717.
CVS ----------------------------------------------------------------------
2002-07-30 20:36:42 +00:00
thorpej
d3aa5664b7
Move the uvm_setpagesize() call to platform-dependent code in preparation
...
for other changes to pmap_bootstrap().
2002-07-30 16:16:38 +00:00
thorpej
3dcad9ac9e
Don't use pmap_kenter_pa() in pmap_map(); doing so causes an assertion
...
failure in pmap_kenter_pa().
2002-07-30 16:07:23 +00:00
matt
3e158de7c1
Don't define register references if not KERNEL or STANDALONE.
2002-07-30 06:09:10 +00:00
thorpej
5fed6739d9
Use more descriptive interrupt names.
2002-07-30 04:45:41 +00:00
thorpej
d8eb148780
Clean up some comments.
2002-07-29 22:00:00 +00:00
thorpej
26f7a64dc3
Add iopwdog (i80321 built-in watchdog timer), fxp, and inphy.
2002-07-29 18:42:27 +00:00
thorpej
2bbd3be11a
Add support for the i80321 watchdog timer.
2002-07-29 18:40:04 +00:00
thorpej
3ab4598cc0
Add sysmon at cdev 101.
2002-07-29 18:26:58 +00:00
thorpej
2367c7fff8
Add support for attaching IOP built-in sub-devices (aau, dma, ssp,
...
watchdog, etc.)
2002-07-29 17:37:14 +00:00
thorpej
c92ad565ad
* Remove some AAU definitions -- they will be defined elsewhere in
...
a future commit.
* Fix a typo in the watchdog enable names.
* Add SSP (synchronous serial port, for SPI, Microwire, etc.) definitions.
2002-07-29 17:28:06 +00:00
simonb
c38f2b0214
Remove some debug code accidently left in.
2002-07-29 16:25:02 +00:00