lukem
e1616bdc8a
use 'atabus* at ata?'
...
use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
2003-10-18 08:11:02 +00:00
petrov
b8454aaa52
cpu_getmcontext: get fsr from correct place.
2003-10-18 06:51:42 +00:00
simonb
513b330566
Tell the Alchemy Au1x00 on-chip ohci that we're in big-endian mode if
...
necessary.
2003-10-18 04:34:30 +00:00
simonb
136dd90b25
Remove unused ohci stub.
2003-10-18 04:31:37 +00:00
uwe
b78fce9820
Config glue for j6x0pwr(4).
2003-10-18 01:40:05 +00:00
uwe
8b50c662e8
Jornada 680/690 power &c. Doesn't do much useful at the moment, but
...
provides RTFS documentation on how things are wired in Jornada.
Listens to "switch off" interrupt generated when On/Off button is
pressed, or the lid is closed.
Polls the status of main and backup batteries and warns if main
battery is low.
2003-10-18 01:38:39 +00:00
uwe
15e3e96e71
Config glue for adc(4).
2003-10-18 01:29:05 +00:00
uwe
721e6868b8
Driver for analog->digital converter in sh7709.
2003-10-18 01:27:18 +00:00
matt
3575370e0a
Remove worthless load.
...
Save curcpu before doing uniprocessor dispatch.
2003-10-17 22:21:38 +00:00
matt
12ecf72b47
Don't zero curlwp/curpcb in cpu_switchto.
...
Use correct register in the store conditional.
Add DIAGNOSTIC check for null curpcb on cpu_switch exit.
2003-10-17 21:08:57 +00:00
fvdl
c8c91c50dd
Correct VM_MAXUSER_ADDRESS definitions, it was wasting a few pages.
2003-10-17 20:27:00 +00:00
matt
67ab911529
Add a KASSERT() to verify the pcb is not NULL.
2003-10-17 19:56:18 +00:00
cdi
d65b10404c
Change console code to use cninit() and null console. Add serial console
...
check.
2003-10-17 18:20:10 +00:00
tsutsui
3a646e9b6c
Add some delay before calling comcnattach() to wait
...
previous console output to complete.
2003-10-17 18:15:52 +00:00
tsutsui
19e183345a
Add vr at pci and dmphy at mii. Tested on my O2.
2003-10-17 17:18:16 +00:00
fvdl
5b12e0425d
Put the ucontext pointer in %r15 for signal delivery, so that it is
...
saved across the handler call.
2003-10-17 16:24:31 +00:00
sekiya
a747a8f16d
Mouse port offset was incorrect.
2003-10-17 12:43:08 +00:00
sekiya
af12cdb68a
Compile dsclock_hpc.c only if dsclock is present in config file.
2003-10-17 06:49:34 +00:00
fvdl
6a6db3cbd9
Add hooks and structures to allow the MP table intr mapping code a
...
better shot at finding a mapping. For PCI interrupts, if a bus
has no mappings, try its parent, with the swizzled pin, and the
bridge's device number.
2003-10-16 22:56:29 +00:00
jdolecek
4bb42bc621
switch ARM to use same minor for /dev/zero as other archs
...
as discussed on tech-arm@
2003-10-16 12:02:58 +00:00
uwe
390e87a8b6
Use 'CH' for channel select in the ADCSR bits format string for consistency.
2003-10-15 22:55:07 +00:00
jdolecek
6b5eef9a33
add major for nsmb, at #98 to be in sync with i386
2003-10-15 18:27:20 +00:00
jdolecek
79ebb210fa
add majors for ipfilter, lkm, vnd, tun, raid, cgd, ccd, and md
...
where missing
2003-10-15 18:20:19 +00:00
scw
def6ab457b
Remove the #ifdef __XSCALE__ around the strd test as the instruction
...
is available on any v5E processor.
Pointed out by Richard Earnshaw.
2003-10-15 14:07:03 +00:00
pk
7dceb5fbf9
obp_v2_getbootfile: we might as well be complete by also considering the
...
PROM environment variables `diag-switch?' and `diag-file'.
2003-10-15 11:51:48 +00:00
drochner
ecbadcc56c
fix typo (harmless as long as pmap_update() is a noop)
2003-10-15 09:44:55 +00:00
pk
a2fbe60ed4
sun4m_access_fault: Treat text/data error traps as if they were text/data
...
exception traps, except that they're logged on the console.
2003-10-15 07:49:41 +00:00
simonb
07c9a24e6a
One defintion of OP_SYNC should be enough.
2003-10-15 06:46:46 +00:00
petrov
7b20d2185b
Set CPU_UPAID when enabling timer interrupts.
2003-10-15 05:16:36 +00:00
gson
d1298fd2a7
If a bootxx program already happened to be a multiple of 512 bytes in
...
length before padding, the shell command to conditionally pad it to
a multiple of 512 bytes returned a nonzero exit status, causing the
build to fail.
2003-10-15 03:49:57 +00:00
simonb
ef41f16231
Correct a test for setting IFF_OACTIVE on the interface.
2003-10-15 02:10:00 +00:00
fvdl
14cdf7ae6d
Proper checks for kmem reads beyond _end
2003-10-14 22:33:29 +00:00
nathanw
768b79db69
Catch up to ata/ide changes; look for a parent device of wd named "atabus"
...
instead of "pciide", and check one layer farther up in the device hierarchy
for the scsipidev device.
From Manuel Bouyer, tested by me on a up1500 (identical changes to other
ide-booting code).
2003-10-14 22:01:02 +00:00
fvdl
8639708413
Pass the right argument pointer to trace_enter/trace_exit.
2003-10-14 18:54:34 +00:00
tsutsui
53cbca2fa2
Add options COMPAT_16.
2003-10-14 16:16:04 +00:00
tron
162ada1c8b
Replace symbolic link "/usr/include/varargs.h" (pointing to
...
"/usr/include/machine/varargs.h") by a stub include file which will
emit an error if GCC 3.3 or newer is used and include "machine/varargs.h"
otherwise.
Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888
by myself.
2003-10-14 12:46:44 +00:00
christos
5a36293740
Make COMPAT_NETBSD32 compile again (untested)
2003-10-14 00:28:19 +00:00
christos
d0e3551301
Add mcontext32_t and friends. This is WIP.
2003-10-13 23:45:14 +00:00
nathanw
b5b9ca33d7
Catch up DEBUG printfs to siginfo changes.
2003-10-13 22:19:15 +00:00
scw
9be5d4cbe9
Document the need for pcb32_r8 to be quad-aligned, now that cpuswitch()
...
uses Xscale's "strd" instruction.
2003-10-13 21:46:39 +00:00
scw
63d24b09fd
A couple of Xscale tweaks:
...
- Use the "clz" instruction to pick a run-queue, instead of using the
ffs-by-table-lookup method.
- Use strd instead of stmia where possible.
- Use multiple ldr instructions instead of ldmia where possible.
2003-10-13 21:44:27 +00:00
scw
100d67ec52
Xscale-optimised bcopyinout.
...
Contributed by Wasabi Systems.
2003-10-13 21:22:40 +00:00
scw
3bf49b3ae8
Tweak the read/write data abort check to recognise Xscale's strd/ldrd
...
instructions.
While the original code matched "strd" just fine, it also matched
the "ldrd" instruction ...
2003-10-13 21:13:30 +00:00
cl
1f11f69f25
add MD part of SA/pthread pagefault handling on hppa
2003-10-13 21:12:12 +00:00
scw
9d9ddf0409
Xscale-optimised b{copy,zero}_page().
...
Contributed by Wasabi Systems.
2003-10-13 21:03:13 +00:00
scw
063066a055
On Xscale, define PMAP_UAREA() and use it to tweak uarea mappings so
...
they use the mini D$.
This results in a small performance boost on xscale platforms, since
flushing the main cache on a context switch won't affect the kernel
stack/pcb.
2003-10-13 20:50:34 +00:00
fvdl
759027f9ca
Define a 32bit compat version of the siginfo sendsig, and rename the
...
old one to reflect it's COMPAT_16 status.
2003-10-13 18:47:10 +00:00
fvdl
6781db3e2a
Do checks on passed in context values (sigreturn/setcontext) explicitly;
...
can't rely on catching the trap on iret for a few reasons.
2003-10-13 18:45:59 +00:00
fvdl
0deb20a334
Define 32bit versions of signal frames and contexts.
2003-10-13 18:41:11 +00:00
fvdl
ef0bb54192
Define a few macros to validate userspace selectors.
2003-10-13 18:40:16 +00:00