pk
2e89e9144b
Turn a bunch of bus_space_*() macros into in-line functions mostly to avoid
...
variable aliasing.
1998-11-26 23:50:52 +00:00
fvdl
82d0f812ab
Save and restore pcb_onfault in a few copy functions that may be called
...
from a context where we can't afford to clobber it. Mostly from
Charles Hannum.
1998-11-26 23:47:36 +00:00
pk
c918193752
Add splserial().
1998-11-26 22:53:13 +00:00
mycroft
9a7fd5c1ac
Sync kcopy() with 32-bit SPARC version.
1998-11-26 22:40:17 +00:00
mycroft
8df55592be
Minor changes; indentation for delay slots and NOTREACHED comments.
1998-11-26 22:36:43 +00:00
mycroft
90a44dd270
Clean up kcopy() some more:
...
* Return EFAULT, not -1.
* Rearrange some instructions for better parallelism.
1998-11-26 22:30:31 +00:00
pk
79bf04ce4f
kcopy() must restore pcb_onfault handler. Pointed out by Charles Hannum.
1998-11-26 22:17:33 +00:00
hannken
246a68a003
Add support for `AdLib NSC 16 PNP' as wss, joy.
...
Record source selection needs work.
1998-11-26 21:45:13 +00:00
ragge
237ff74c36
Fix kcopy fault-handler saving.
...
Get kernel last address from boot instead.
1998-11-26 21:21:06 +00:00
thorpej
e3e5bd6220
Erg, fix the non-error code path, too.
1998-11-26 21:16:08 +00:00
thorpej
8458248eec
copyin() and copyout() should return EFAULT if a fault occurs, not
...
EACCESS.
1998-11-26 21:06:21 +00:00
thorpej
e328e13450
Oops, in some delay slot confusion, I ended up clobbering s0 before it
...
restored pcb_onfault. Make it the way I wrote it originally, which was
correct. Pointed out by Michael Hitch and Charles Hannum.
1998-11-26 20:52:45 +00:00
tsubai
35f82ac3eb
Save and restore pcb_onfault in kcopy().
1998-11-26 20:48:45 +00:00
thorpej
958666b11a
Oops, restore pcb_onfault if a fault occures in kcopy(). Pointed out by
...
Charles Hannum.
1998-11-26 20:26:52 +00:00
mcr
dcfd79f257
regenerated pcidevs.h and pcidevs_data.h due to kern/6280
...
(not kern/5847 as originally noted)
1998-11-26 20:05:38 +00:00
mycroft
2aeb226755
Save and restore pcb_onfault for kcopy(), as pointed out by Steve Woodford.
1998-11-26 19:34:38 +00:00
eeh
a5f6f68714
Fixup ffstab naming conflict between locore.s, libkern/arch/sparc/ffs.S and
...
libkern/arch/sparc64/ffs.S
1998-11-26 19:32:10 +00:00
eeh
8cc6435bf8
Forgot to specify a label for the branch target. Oops.
1998-11-26 19:08:21 +00:00
christos
48a6904248
fix renamed constant
1998-11-26 18:58:50 +00:00
kleink
abd228c31c
Regen: getpgid() prototype change.
1998-11-26 16:13:56 +00:00
kleink
5eb7ae9656
getpgid(2) returns a value of type pid_t.
1998-11-26 16:07:05 +00:00
pk
4dc534f05d
Export the pcmciabus' attribute on the
pcic' controller.
1998-11-26 15:35:58 +00:00
pk
bb12def997
Use `pcmciabus' to attach the Sbus to PCMCIA bridge.
1998-11-26 15:33:29 +00:00
pk
cfe66472ab
Use `pcmciabus' as the PCMCIA attachment
1998-11-26 15:32:44 +00:00
pk
62781c826f
Define `pcmciabus'.
1998-11-26 15:31:22 +00:00
leo
bea7038c02
The IOMEGA ZIP 100, J.03 does not grok LUN's.
1998-11-26 13:39:14 +00:00
leo
15586aca07
Check-point work on isa-interrupt handling
1998-11-26 13:34:23 +00:00
mrg
a94214bdd0
add a patch from darren reed, to make ipfilter use our cksum routine.
1998-11-26 12:21:47 +00:00
mycroft
74ad07cef5
Revert the functional change in rev 1.38; permit a msg_iovlen of 0.
...
There are two reasons for this:
* We should be able to pass file descriptors without sending any data.
* We could send zero-length iovecs anyway (but we shouldn't have to do this).
Also, msg_iovlen is already a u_int, so delete a bunch of casts.
1998-11-26 02:25:20 +00:00
augustss
ca707fcdf2
Make the copyright header conform to the NetBSD template.
1998-11-25 22:32:04 +00:00
augustss
9726cfd1fb
Make the copyright header conform to the NetBSD template.
1998-11-25 22:17:06 +00:00
ross
8bc9c17338
Disable sanity checks and unnecessary setup for conblock (-b) mode.
1998-11-25 21:19:35 +00:00
sommerfe
0cdf66e377
Fragments should start with a header mbuf allocated by MGETHDR()
1998-11-25 21:13:58 +00:00
hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
mjacob
6b12feab6d
add missing include file
1998-11-25 19:58:47 +00:00
pk
b34cd5fdf0
Add IPL_SERIAL
1998-11-25 19:33:02 +00:00
tv
182b5b1d68
Sync with various options in GENERIC that were not added/changed here.
1998-11-25 18:37:48 +00:00
tv
e7f7d54046
The wss driver does work (AS200/233 uses it). Uncomment.
1998-11-25 18:37:27 +00:00
bouyer
cc6a0ef02b
Use bus_dma(9) for the DMA ops in fxp_init() too. Without this the driver
...
was stuck in the while (!(cbp->cb_status & FXP_CB_STATUS_C)); loop,
I think because the relevent CPU cache entry was never updated.
This was on a compaq deskpro system.
1998-11-25 17:19:09 +00:00
christos
6167bac14c
No functional changes. Added Mark Newton's suggested fixes, but since I have
...
not tested them they are #ifdef'ed notyet.
1998-11-25 15:48:35 +00:00
christos
fc1519f1c9
Add a few more constants.
1998-11-25 15:47:51 +00:00
frueauf
04674130a0
pain(void) -> pain(void *), pointed out by Adam Ciarcinski.
1998-11-25 14:50:14 +00:00
mycroft
63f7ee9e53
Return instructions can also be unconditional branches.
1998-11-25 13:58:49 +00:00
mycroft
53698488ff
Do not permit a class to be recorded as a master or monitor port.
1998-11-25 13:44:13 +00:00
mycroft
3357fbeefb
Minor format change.
1998-11-25 13:39:37 +00:00
mycroft
8fbc327df1
DDB needs the stack pointer at the time of the fault to single step through
...
returns. So, adjust the trap frame format to store sp.
1998-11-25 13:09:14 +00:00
mycroft
f4b034d33a
First whack at making single-stepping work through switch and return
...
statements.
1998-11-25 06:41:26 +00:00
mycroft
26a93b8985
Do branch forking for inst_return() instructions, too.
1998-11-25 06:38:03 +00:00
castor
813222c472
Allow pattern matching for symbol string to handle GCC's output for mips,
...
where strings are output as
.ascii "foo\000"
instead of
.ascii "foo\0"
1998-11-25 06:10:19 +00:00
nisimura
53ac67d9b1
- Fix two bugs; inst_call() is supposed to check OP_SPECIAL opcode with
...
either OP_JR function code or *OP_JALR* function code (not OP_JAL opcode).
insn_unconditional_flow_transfer() was to read an unintialized variable.
Those MD DDB routines seems not useful work so far.
1998-11-25 01:14:48 +00:00