bjh21
1d4ae5d285
Use int_off_save and int_restore rather than int_off and int_on.
2001-08-20 23:28:05 +00:00
bjh21
45b5bdc5e5
Split off the pm_entries array from the rest of struct pmap. This makes
...
memory allocation for it more efficient (since pm_entries is 4096 bytes long),
and will allow pm_entries to be freed for swapped processes.
2001-08-20 23:12:54 +00:00
bjh21
8ec27f2ebe
Implementation of fiq_{get,set}regs.
...
Also, don't leave space for a FIQ handler in kernels with no FIQing devices.
2001-08-20 23:10:51 +00:00
bjh21
13f36f67c6
Don't initialise a podule's loader multiple times.
2001-08-20 23:09:12 +00:00
bjh21
9aa4896361
More FIQ support. This gives me enough to handle FIQs, and to downgrade them
...
to IRQs as necessary. All these interfaces are subject to change in the light
of experience.
2001-08-20 23:08:10 +00:00
bjh21
1061e51a8a
One from the vaults: Add lint stubs.
2001-08-20 22:56:10 +00:00
chris
140252be2b
Arm has a vac, so we must use pmap_enter/remove for vmapbuf rather than k* versions, otherwise we may not be doing the right caching thing.
2001-08-20 21:52:09 +00:00
matt
078a9a2206
Netwinders have ISC phys, not LXT phys.
2001-08-20 16:17:12 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
wiz
1e378c4c12
precede, not preceed.
2001-08-20 12:00:46 +00:00
wiz
d375535396
Fix typo in comment (suceed).
2001-08-20 11:49:11 +00:00
mrg
dc4e692845
add a commented "options NETATALK"
2001-08-20 04:49:17 +00:00
chs
9e8e4c5bdc
I was wrong, sh4 does have a VAC.
...
change vmapbuf()/vmunmapbuf() back to using pmap_enter()/pmap_remove().
2001-08-19 20:44:41 +00:00
chs
c489e9bff4
add missing pmap_update().
2001-08-19 18:09:20 +00:00
chs
72b6b0b123
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 18:08:30 +00:00
chs
eddbcd2f47
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:45:57 +00:00
chs
dd3f84513a
typo in previous.
2001-08-19 17:45:15 +00:00
chs
316cd176c8
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:43:44 +00:00
chs
17d06a7ad7
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:37:35 +00:00
chs
b356420a02
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:36:28 +00:00
chs
2cdad949d0
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:34:49 +00:00
chs
3f98593d27
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:34:01 +00:00
chs
ef097c73b0
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:33:10 +00:00
bjh21
8b7128e398
Changes in aid of FIQ support:
...
Add ioc_fiq_setmask().
Change ioc_irq_status_full() to use the request registers rather than the
status registers. This is brings it into line with the Unix baclplane, and
makes detecting downgraded FIQs possible.
2001-08-19 15:27:44 +00:00
matt
4bc8190b62
Change local offset/label for irqhandlers to Lirqhandlers. Because in
...
ELF _C_LABEL(irqhandlers) == irqhandlers so we were getting self-referential
pointer which causes the IRQ to fall on itself. [With this change the
netwinder kernel can now be *ELF* and boots to multiuser]
2001-08-19 07:29:26 +00:00
matt
7cab3778d5
Make EXEC_ELF32 support std now,
2001-08-19 05:51:09 +00:00
wdk
12a212bc5c
Add support for WD33C93 controller and assosiated SCSI devices, and enable
...
by default.
2001-08-19 03:20:36 +00:00
wdk
0ac0d0d4e4
Initial implementation of WD33C9x SCSI driver for SGI IP22 platforms.
...
Based on mvme68k and Atari drivers for the same chipset with the
addition of bus_space support. Attempts have been made to seperate out the
machine dependent dma components and more work is required in this area.
Tested on SGI R4K Indy, but has little testing on other platforms.
2001-08-19 03:16:21 +00:00
wiz
e320555c3b
if_il.c lives in dev/qbus now, and is mentioned in dev/qbus/files.uba.
...
Remove commented out line for it.
2001-08-18 14:52:37 +00:00
enami
b605664b49
Include bsd.own.mk a bit earlier so that make cleandir works.
2001-08-18 12:53:58 +00:00
enami
cebeb402de
Fix white space usage.
2001-08-18 12:48:59 +00:00
wiz
a5226c0bb5
Remove files describing hp300/HPBSD.
...
Can still be found in sys/arch/hp300/DOC as Debug.tips and HPMMU.notes.
Okay'd by is.
2001-08-18 10:07:35 +00:00
eeh
94751b6adc
Make the kernel a tad bigger.
2001-08-18 04:55:29 +00:00
simonb
11362870f4
Reorder some function prototypes more logically.
2001-08-18 04:13:28 +00:00
eeh
20df032dec
Make lint happier.
2001-08-18 03:47:18 +00:00
simonb
02f580ae38
Fix lint problem introduced in last change - if `lint' is defined,
...
#define away __alignof__. Still produces some warnings, but at least
they're not fatal anymore.
Problem noted by Rafal Boni in private mail.
2001-08-18 03:27:02 +00:00
fredette
e5769f5f01
Sometimes the ec board reports a packet length that's too large.
...
Try to deal with this by clipping the packet length, and, under
DEBUG, printf when we do. Also zero out the packet status in
the buffer before we give it back to the board.
2001-08-17 20:27:12 +00:00
is
de14426106
Ansification by Petri Koistinen
2001-08-17 19:56:51 +00:00
ur
e6c008bb48
Disable PCI expansion ROM for normal operation.
...
It fixes memory mapped I/O problems on some devices.
(from port-arc ML)
2001-08-17 11:11:57 +00:00
simonb
0667c562f6
Describe the widths of various coprocessor 0 registers (for mips1,
...
mips3, mips32 and mips64).
2001-08-17 07:53:33 +00:00
simonb
dd6c57e790
Fix for single-byte mbufs.
2001-08-17 07:21:07 +00:00
simonb
b2b2f7ccfa
Fix va_arg() problem when adjusting argument pointer when a structure is
...
passed which is larger than an int but has int alignment. As well as
fixing the described problem, this is the same way it is handled in the
Irix and Ultrix header files.
Problem and suggested solution by Uros Prestor in port-mips mailling
list.
2001-08-17 07:15:16 +00:00
chs
dda1ba2993
implement pmap_k{enter_pa,remove}() correctly.
...
remove various checks for impossible conditions.
other misc cleanup.
tested by tohru.
2001-08-17 06:39:53 +00:00
fredette
8b21bb0078
Under DEBUG, have a global buserr_reg that stores the
...
last value read out of the bus error register.
2001-08-17 00:00:26 +00:00
eeh
73ff12bf97
Bump version.
2001-08-16 23:57:08 +00:00
fredette
ba289d7421
Now treat the bus error register as 16-bits wide, even
...
though it has nothing in the top half. Reading it as
only 8 bits can sometimes give erroneous values. Under
DEBUG, also stash the value read in the buserr_reg global,
since the value is only latched until read.
2001-08-16 23:54:31 +00:00
fredette
3a6e3c55cb
Added the crucial "packed" attribute to the type 8 frame structure.
2001-08-16 23:45:12 +00:00
fredette
aeb5917f66
Made prom_putchar and prom_putstr use the PROM putchar
...
function instead of framebuffer functions. This makes
serial consoles work again.
2001-08-16 01:47:45 +00:00
rearnsha
d47e5736c8
ANSIfy function declarations and prototypes. Tidy up include files.
...
Minor reformatting.
2001-08-15 22:28:15 +00:00
rearnsha
0d9806035b
Include sys/types.h, sys/callout.h and machine/intr.h. Don't include
...
sys/disklabel.h or sys/dkstat.h.
2001-08-15 20:27:46 +00:00