sakamoto
c5aade90a8
Oops, ofppc don't have wscons.
1998-10-02 07:12:25 +00:00
thorpej
ab915f7483
Oops, missing immediate qualifier, pointed out by Chas Williams.
1998-10-02 02:02:46 +00:00
matt
e19b4629ab
Use wd.h, not wdc.h -- we are checking for the presence of disks, not
...
controllers. (there may be a controller which has only an atapibus
but no wd disks).
1998-10-02 01:37:51 +00:00
ross
78492e307a
If not MULTIPROCESSOR then identify the interrupt target cpu by hwrpb id (%d)
...
rather than attachment name, and hence avoid referencing `cpus'.
1998-10-01 22:57:30 +00:00
christos
0bf5ff6ade
make this compile with DIAGNOSTIC again.
1998-10-01 21:26:55 +00:00
matthias
49c778c3b5
Use __LIBC12_SOURCE__, not __LIBC12_SOURCE :-)
1998-10-01 21:16:06 +00:00
thorpej
9e2b536bef
Update for signal changes.
1998-10-01 20:41:29 +00:00
thorpej
8253135408
Update for bcopy/bzero -> memcpy/memset changes.
1998-10-01 20:05:09 +00:00
thorpej
c37cc930f4
Fix a couple of printf formats.
1998-10-01 19:08:05 +00:00
christos
cfd3302aa1
Need more room for signal mask
1998-10-01 19:00:06 +00:00
erh
33dacac36e
linux_machdep.h has moved.
1998-10-01 18:32:33 +00:00
erh
b0367216c1
Macros to call a linux syscall.
1998-10-01 16:19:59 +00:00
erh
79a9d0776d
Add linux compat includes.
1998-10-01 16:18:53 +00:00
erh
b9e8494b1d
Add linux signal trampoline code.
1998-10-01 16:18:46 +00:00
erh
d954a84b41
Linux emul_* structures chahged names.
1998-10-01 15:53:33 +00:00
frueauf
ce58a65013
Sync comments for REALBASEMEM/REALEXTMEM with GENERIC.
1998-10-01 10:01:20 +00:00
thorpej
ed03ee06e1
Update for signal changes.
1998-10-01 08:28:30 +00:00
erh
502a65c40d
Add linux real-time signal trampoline.
1998-10-01 04:37:15 +00:00
erh
8ada127535
Path to linux_machdep.h changed.
1998-10-01 04:36:05 +00:00
erh
6a0907d521
linux_machdep.c has been moved. It is now included from compat/linux/i386/files.linux_i386.
1998-10-01 04:34:54 +00:00
thorpej
c5b8d42e66
Need 14 longs for jmp_buf now (sigcontext has 128-bit signal mask at the
...
end).
1998-10-01 03:28:11 +00:00
thorpej
d15a64c38b
Adapt to signal changes.
1998-10-01 02:53:53 +00:00
erh
ccea47d790
Moved to compat/linux/i386/linux_machdep.h.
1998-10-01 02:20:52 +00:00
erh
3466d00034
Moved to compat/linux/i386/linux_machdep.c.
1998-10-01 02:15:50 +00:00
jtk
358521eba1
add prototype for bioscall()
1998-10-01 02:00:37 +00:00
thorpej
586b0b3d1b
Implement compat_13_sys_sigreturn().
1998-10-01 01:03:56 +00:00
jonathan
379c9be4a8
More patches for ARC from Noriyuki Soda:
...
* commit isapnpvar.h changes required for ARC to support plain isa.
* fixup mistake over mips/include/cpuregs.h.
* mips/mips_machdep.c:
set L2 cache-size for arc, cleanup use of L2cache present
vs L2 cache-size variables. check for no L2 cache on kernels
configured to require one. misc cleanups.
* mips/mpis/trap.c: more locore stack-traceback label cleanup.
XXX Locore callbacks for mips3, mips4, r4600 cacheflush need more work.
1998-10-01 00:42:37 +00:00
thorpej
8b220e1148
Define SYS_compat_13_sigreturn13.
1998-10-01 00:29:51 +00:00
thorpej
ae2fcdc40a
Oops, typo.
1998-10-01 00:22:02 +00:00
thorpej
c227be8efc
Expect the syscall number to push to be in register d0.
1998-10-01 00:11:11 +00:00
thorpej
fa582abe7f
Move trap #1 and trap #2 handlers here. Trap #1 handler now places
...
the cpmpat_13_sigreturn13 syscall number into d0 before calling the
sigreturn stub.
1998-09-30 23:52:32 +00:00
thorpej
bcf14a99e2
Garbage collect trap #1 and trap #2 handlers; they're moved to
...
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej
1e62485c23
If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
...
for trap #2 to reflect that it's the trace trap.
1998-09-30 23:13:58 +00:00
thorpej
a11e6632a8
Pull in opt_compat_netbsd.h
1998-09-30 23:01:28 +00:00
thorpej
db9f3cbe30
Use the new special syscall entry point, and specify SYS___sigreturn14.
...
Makes the sigcode grow by 4 bytes.
Note that we are no longer able to use the HP-UX breakpoint "sigcodetrap"
hack here, as a result. This means that BSD programs can no longer be
debugged by HP-UX debuggers. *Sniff* Don't break my heart...
1998-09-30 22:38:17 +00:00
thorpej
f52431f2a3
Use the symbolic constant SYS_exit.
1998-09-30 22:26:28 +00:00
thorpej
35d282c8d5
Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
...
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej
38084c6615
Note that trap #1 is compat_13_sigreturn, and give trap #3 to syscalls
...
which require special handling, e.g. sigreturn on m68k.
This differs from the old sigreturn trap in that we require the syscall
number to be in register d0, just like the regular syscall entry point.
This will allow sigreturn to be versioned in the future without the need
to allocate another trap vector.
1998-09-30 22:14:11 +00:00
thorpej
1ce207046d
Adapt to signal changes.
1998-09-30 21:55:02 +00:00
thorpej
aaec09ab91
Pull in <m68k/frame.h> if __M68K_SIGNAL_PRIVATE, for sigstate.
1998-09-30 21:52:45 +00:00
thorpej
f6ea7521d7
Put the sigstate and sigframe definitions in signal.h, protected by
...
__M68K_SIGNAL_PRIVATE.
1998-09-30 21:04:48 +00:00
matthias
777ffc95a2
Fix a small type in sendsig.
...
Fix some esym typeclash lossage.
1998-09-30 20:20:03 +00:00
matthias
5267ada16a
use __sigreturn14 in sigcode.
1998-09-30 20:17:29 +00:00
matthias
d067796204
config doesn't like c-style comments.
1998-09-30 20:16:17 +00:00
pk
f382e91b5e
Add a field to identify the processor that has a process' FPU context.
1998-09-30 18:40:58 +00:00
ragge
6530a14556
Typo.
1998-09-30 18:40:04 +00:00
pk
4826aac9cf
Make the current FPU owner (`fpproc') a per-CPU entity. Unresolved issue
...
as yet: lazy FPU context switching may require co-operation from other
CPUs.
1998-09-30 18:38:57 +00:00
ragge
c0b9fc5616
Make kernel compile after recent signal changes.
1998-09-30 14:09:59 +00:00
thorpej
21adfe5c18
Oops, brain'o.
1998-09-29 23:45:25 +00:00
matt
cf95587273
Sync with GENERIC.
1998-09-29 23:18:57 +00:00