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
thorpej
16b0d8f1e4
Disable the code that halts secondary processors in cpu_reboot(). Halting
...
the secondary works, but not when called from here?! XXX!
1998-09-29 21:59:33 +00:00
thorpej
ce57c93ef5
some temporary debugging printfs in the IPI code.
1998-09-29 19:40:33 +00:00
drochner
fb345194ad
document CLOCK_COMPAT_OSF1
1998-09-29 18:25:54 +00:00
drochner
70d1e71ea0
Allow to use the RTC chip in a way compatible to OSF/1: use an offset
...
of 52 years between RTC and UNIX time.
This is controlled by "option CLOCK_COMPAT_OSF1".
1998-09-29 18:23:55 +00:00
drochner
88b626a585
make compile w/o MULTIPROCESSOR
1998-09-29 15:55:47 +00:00
thorpej
55df520938
Can't use -traditional; __RENAME() breaks due to a limitation in the
...
"traditional" C preprocessor.
1998-09-29 08:28:20 +00:00
thorpej
5a5380b92b
This program is icky, and will die soon. So, don't put a whole lot of
...
effort into it, but make it build again by casting the second arg to signal().
1998-09-29 08:27:36 +00:00
thorpej
005af97f9e
Use "print-objdir".
1998-09-29 08:16:11 +00:00
thorpej
69d81d8df1
Prototype cpu_halt_secondary().
1998-09-29 07:07:36 +00:00
thorpej
30e4de5632
In cpu_reboot(), halt the secondary CPUs.
1998-09-29 07:07:09 +00:00
thorpej
1b8e855f2a
First try at a HALT interprocessor interrupt handler.
1998-09-29 07:06:02 +00:00
thorpej
94b97dce9b
CPUF_HATCHED is dead, replaced by cpus_running bitmask.
1998-09-29 07:05:30 +00:00
thorpej
99698d1a1a
- Use a bitmask for "running CPUs", rather than a flag in the softc.
...
- Add a function to halt a secondary CPU.
- Enable interrupts on secondary CPUs once they've hatched.
1998-09-29 07:04:58 +00:00
thorpej
469f020ae3
Don't process CLOCK or DEVICE interrupts if we're not the primary CPU.
1998-09-29 07:02:04 +00:00
thorpej
30ec5015b1
In exception_return(), if MULTIPROCESSOR, skip software interrupts, ASTs,
...
and floating point handling if we're not the primary CPU.
1998-09-29 07:01:16 +00:00
thorpej
392a96cc91
Define the offset of hwrpb->rpb_primary_cpu_id.
1998-09-29 06:22:09 +00:00
scottr
ce9e4beacf
Simplify the asm constraints in mrg_aline_super(), in order to
...
less thoroughly confuse the compiler when used without -O. Fixes
PR 5496.
1998-09-29 05:24:08 +00:00
thorpej
183f609c83
- Do not set TLCPUMASK on non-I/O nodes. That register exists only on
...
I/O nodes. Previous code erroneously set it on CPU nodes only.
- In both the single- and multi-processor case, route all interrupts from
I/O nodes to the primary CPU, for now.
1998-09-29 04:22:36 +00:00
erh
3c2e2c8622
This should need opt_execfmt.h.
1998-09-28 23:42:48 +00:00
thorpej
4c2e179b93
PROM doens't need to be mapped to start up the secondaries, so remove some
...
dead code.
1998-09-28 22:21:13 +00:00
thorpej
9bd45385a9
Turn off some debugging printfs, and kludge around a boot block bug until
...
I can install fixed boot blocks on my MP test systems.
1998-09-28 21:50:32 +00:00
thorpej
705cac105e
Invalidate the TB and I-stream upon entry, and fix a typo in the wrkgp call.
1998-09-28 21:48:50 +00:00
thorpej
34a8ac8484
Set the primary CPU's PAL revision to the OSF/1 PAL revision after switching
...
to it, per the Green Book (pointed out by Chris Demetriou).
1998-09-28 21:21:55 +00:00
thorpej
5caecb6ae0
Fix for some EGCS warnings.
1998-09-28 21:18:55 +00:00
sakamoto
fd24065cb5
pcvt is no longer used with bebox.
1998-09-28 09:49:49 +00:00
sakamoto
4a04e5038e
pcvt is no longer used with bebox.
1998-09-28 09:33:12 +00:00
leo
e30046b37d
This was a copy of an very old editing error in the amiga pmap.c....
...
(Ignatios Souvatzis)
1998-09-28 07:51:23 +00:00
drochner
980b2b416f
fix PMAP_ACTIVATE_ASN_SANITY() arguments
1998-09-27 17:23:25 +00:00
pk
8c29324cc7
Kernel configuration with multi-processor support.
1998-09-27 15:10:25 +00:00
scottr
a965fe73b1
Add support for the TFL LAN Inc. E410/E420 PDS cards. Based on code
...
from Ken Nakata in PR 6199, which was in turn derived from code from
Haru Maruyama <h-maru @ da2.so-net.ne.jp>.
1998-09-27 14:39:11 +00:00
pk
0a090af2c7
Add `ldstub()'.
1998-09-27 14:32:14 +00:00
pk
e6ce8bcfc7
sparc spin lock functions.
1998-09-27 14:31:18 +00:00
mycroft
b7f86e40fa
The smallest positive normalized number in extended precision is 2^-16383.
...
Underflow handling is different from i387.
1998-09-27 04:54:49 +00:00