erh
948d228b24
Moved from compat/linux.
1998-10-01 00:42:01 +00:00
erh
18c41cce3e
Moved to compat/linux/i386.
1998-10-01 00:37:53 +00:00
erh
72041f8e72
Alpha version of the linux compat machdep signal and machdep ioctl stuff.
1998-10-01 00:34:22 +00:00
erh
b513364563
Alpha specific version of sys_pipe and signal translation array.
1998-10-01 00:32:27 +00:00
thorpej
8b220e1148
Define SYS_compat_13_sigreturn13.
1998-10-01 00:29:51 +00:00
erh
1a0a0103aa
New list of files for the i386.
1998-10-01 00:29:11 +00:00
erh
293ccb5512
New makefiles for includes, syscall gen.
1998-10-01 00:28:33 +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
erh
ad1f9288a2
Stubs for future development of linux compat architechtures.
1998-09-30 21:55:57 +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
tls
c4730d65cf
Switch order of TNF and UCB copyrights so UCB copyright is first; this seems more appropriate since UCB wrote the original code, after all.
1998-09-30 21:52:24 +00:00
erh
cb71edeaa4
Common makefile to process syscalls.master files.
1998-09-30 21:38:46 +00:00
erh
a919a6b4a8
New header files for Linux compat on the Alpha.
1998-09-30 21:36:23 +00:00
erh
69ebd14bba
Generate.
1998-09-30 21:34:32 +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
erh
847d4565e9
Initial support for linux compat on the alpha. Not quite working.
1998-09-30 18:01:53 +00:00
mrg
fdc5499c5f
back out previous.
1998-09-30 15:44:10 +00:00
ragge
c0b9fc5616
Make kernel compile after recent signal changes.
1998-09-30 14:09:59 +00:00
tv
8219f068e2
Declare silent success on madvise(). As an advisory call, it is harmless
...
to pretend success even though it's not supported, and some emulations
rely on its success.
1998-09-30 12:07:51 +00:00
bouyer
5440442505
Not time to #include <machine/bswap.h>m, it will come with the move
...
of bswap*() from libutil to libc. Sorry !
1998-09-30 09:08:16 +00:00
jonathan
fcf7a78c02
Workaropund fix for PR #5239 from <minoura@kw.netlaputa.ne.jp>:
...
stop null_node_create() from locking the nullfs mountpoint multiple
times. Avoids a guaranteed, repeatably "locking against myself" panic
during mount of a nullfs filesystem. nullfs filesystems are still as
buggy as ever (e.g., see PR# 4907) but this you at least mount them.
1998-09-30 06:50:10 +00:00
hwr
eaccb9cd8d
Start supporting IPPROTO_MOBILE (55) encapsulation. This is yet
...
another tunneling protocol used by the Mobile-IP people. See RFC 2004
for this.
1998-09-30 05:59:27 +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
matt
6e32aa4af4
Invert the RXCOPY test. Note that most new platforms will not
...
have relaxed alignment so the de driver should just work on them.
1998-09-29 22:40:52 +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
d46253f21c
Implement vsprintf().
1998-09-29 21:03:02 +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
pk
25e37f3b97
In addition to the spinlock, use the lockmgr() to serialize access to
...
the back-end page allocator. This allows the back-end to sleep since we
now relinquish the spin lock after acquiring the long-term lock.
1998-09-29 18:09:29 +00:00
drochner
88b626a585
make compile w/o MULTIPROCESSOR
1998-09-29 15:55:47 +00:00
tv
b8aba69399
Bracket stray printf()s by #ifdef DEBUG.
1998-09-29 14:15:49 +00:00
bouyer
ecb13d449a
LKM for ext2fs ... better late than never :)
1998-09-29 10:26:58 +00:00