mrg
67afbd6270
use _KERNEL_OPT
2001-05-30 11:57:16 +00:00
bjh21
7d9a4dbad7
Move blockio.S from sys/arch/arm32/arm32 to sys/arch/arm/arm, since I want to
...
start using it on arm26.
hpcarm gets to keep its own version, since it's not identical and I haven't
got an hpcarm box to test.
2001-05-29 23:03:20 +00:00
mrg
3783ca5d30
define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
...
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
2001-05-29 02:20:20 +00:00
chs
e44e9dec8a
replace vm_page_t with struct vm_page *.
2001-05-26 21:27:02 +00:00
bjh21
c7a388d937
Turn "oak" into an MI podulebus driver. Tested on my new A310.
2001-05-26 17:49:46 +00:00
chris
7dd0515e15
Use ffs asm routine in arm32 context switch code.
2001-05-23 21:49:57 +00:00
chris
f220cad8dd
Use ffs like routine in the footbridge irq handling. It is now very similair to the iomd irq handler.
...
Note that I've kept the existing quirk of still passing the irq to the next handler even if the irq handler returned 1. I need to investigate why we do this.
2001-05-23 21:23:54 +00:00
bjh21
ba2ed3776e
Refer to the Risc PC IOMD by its real name (which appears to be IOMD20).
2001-05-13 14:30:00 +00:00
bjh21
e2b24925d1
Use get_bootconf_option() to find boot options, rather than home-grown
...
strstr()-based hacks.
2001-05-13 13:53:08 +00:00
bjh21
61044be691
Move get_bootconf_option() into a new file, sys/arch/arm/arm/bootconfig.c,
...
since it's in no way machine-dependent. It's not really ARM-specific either,
but I don't think it's useful enough to be made part of the MI kernel.
2001-05-13 13:44:33 +00:00
matt
9c197c4609
Change references to <arm32/isa/timerreg.h> to <dev/ic/i8253reg.h>
...
Remove timerreg.h
2001-05-09 17:34:40 +00:00
matthias
0edc338e99
third argument of pcpoll is a struct proc now.
2001-05-08 11:29:39 +00:00
bjh21
0336117218
The arch/arm32/kshell code was removed three years ago. Kill references to it.
2001-05-06 18:38:58 +00:00
bjh21
6d4648fa03
Move "defopt PMAP_DEBUG" into files.arm, since it's used by code in arch/arm.
2001-05-06 18:31:14 +00:00
bjh21
f9087c439b
Move cpufunc stuff from arm32/arm32 to arm/arm. The only change involved is
...
to add recognition of the SA-1100 and SA-1110 for compatibility with hpcarm
(which is now using this code as well).
2001-05-06 18:01:42 +00:00
reinoud
b3798660cd
Small typo...
2001-05-03 23:07:08 +00:00
reinoud
da9012cd1d
Some small improvements on the setting of keyboard LEDS's and a small
...
cleanup
2001-05-03 23:05:48 +00:00
scw
2963ff5c58
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
thorpej
cf67ac7122
Per discussion w/ chuck and chuck, restructure the md page stuff
...
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
2001-05-01 02:19:13 +00:00
thorpej
2b27ac7a99
Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
...
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.
This deprecates struct pmap_physseg. As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.
Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
2001-04-29 22:44:31 +00:00
bouyer
937a7a3ed9
Pull up the thorpej_scsipi branch to main branch.
...
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.
Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
bjh21
843c4223f1
setsoftast is a macro now.
2001-04-24 18:21:10 +00:00
bjh21
01adfb1d35
Pull in <arm32/psl.h> for spl* definitions.
2001-04-24 18:16:43 +00:00
thorpej
1c3a62e066
Sprinkle pmap_update() calls after calls to:
...
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).
These calls are relatively conservative. It may be possible to
optimize these a little more.
2001-04-24 04:30:50 +00:00
bjh21
72aab13520
Add the IOLINES register from the ARM7500FE, and delete a few incongruous
...
blank lines.
2001-04-23 22:17:09 +00:00
rearnsha
8a64dad5d2
Eliminate dev->sc_xs. Simplify calls to sbicicmd. Replace
...
dev->sc_kv.dc_{addr,count} with dev->data{,len}.
2001-04-23 20:32:33 +00:00
rearnsha
8faae68155
Use bus_space functions for accessing SBIC registers.
2001-04-21 20:47:26 +00:00
matt
5f6967f571
A small change for NETWINDER support. (netwinder needs its own pci_attach_hook)
2001-04-20 16:52:04 +00:00
reinoud
80b53c5a9b
Euhm... small typo !
2001-04-20 12:47:55 +00:00
chris
485dbd078a
Improved IRQ handling code on IOMD. By using an ffs-like algorithm we don't need to loop quite so much when looking for bits to service (also means we only service irqs that need servicing), also moved code around to avoid stalling where it doesn't loose too much understandabilty.
2001-04-19 20:46:07 +00:00
rearnsha
348133bed4
More formatting cleanups. Disable UNPROTECTED_CSR since the code
...
is unsafe (can clear interrupts that we are waiting on).
2001-04-19 17:30:20 +00:00
matt
446403457a
Don't the RPC stuff on SHARK or FOOTBRIDGE machines.
2001-04-19 07:19:48 +00:00
matt
afc8ecb0ea
A small NETWINDER kludge.
2001-04-19 07:15:24 +00:00
matt
e046a0dbfb
Add a NETWINDER keyword
2001-04-19 07:14:52 +00:00
chris
7b97ef04ca
Enable clockswitching on sa110 (with it disabled the core clock runs at the speed of the memory bus)
2001-04-16 18:09:56 +00:00
kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
cdcf9f46c5
Add definitions of C99 integer constant macros.
...
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
reinoud
763e66f5de
Initial commit of wsmouse driver for the IOMD quadratic mouse.
2001-04-14 19:22:43 +00:00
reinoud
4e845e001a
Accidently left COMCONSOLE configured
2001-04-14 14:51:04 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
reinoud
c025377acc
Cleanup of attachment code of framebuffers
2001-04-14 02:25:43 +00:00
reinoud
fdeb609887
Place a remark ... the old vidcconsole code can't handle the comconsole
...
not yet for it is called early in the init_arm() ... this needs to be
patched one day so it can be called very early; but is this possible ?
2001-04-12 21:54:06 +00:00
reinoud
242cca702b
Part one of the COMCONSOLE repair ... it works now but the video console
...
is effectively dead instead... this needs work. Also the boottime switching
to the vidcconsole would be good.
2001-04-12 20:15:06 +00:00
reinoud
11c012efcc
Just switch the RI_CENTER off for now ... just to avoid troubles with
...
the hardware scrolling code...
2001-04-12 00:42:50 +00:00
bjh21
4c8caed00d
Apply a bandage to delay() so that it takes a more suitable time on
...
StrongARM Risc PCs. It really should be replaced entirely, but I've got more
important bugs to fix.
2001-04-10 19:08:42 +00:00
bjh21
edde8b993b
Add a DIAGNOSTIC check to see if delay() waits long enough (it doesn't on
...
my machine).
2001-04-10 18:58:56 +00:00
reinoud
3e6eaba006
The old vidc console code can't handle all display depths
2001-04-09 19:33:22 +00:00
reinoud
ba53dd71d7
Re-enable setmode() in wscons implementation.
2001-04-09 19:23:32 +00:00