Commit Graph

73059 Commits

Author SHA1 Message Date
christos
835b5d35c5 how many different prototypes does linux_syscall() need finally? sheesh! 2000-12-09 19:51:44 +00:00
bjh21
559ea94aca Fix arguments to ktrsys*() functions. 2000-12-09 18:57:17 +00:00
bjh21
6d66ade542 We no longer have zeropage.S. It was merged into locore.S last week. 2000-12-09 18:54:01 +00:00
bjh21
86dd29d1f5 Add a definition of BUS_SPACE_ALIGNED_POINTER. 2000-12-09 18:47:15 +00:00
bjh21
87517b3e0d Add podulebus(4) and unixbp(4). 2000-12-09 18:30:01 +00:00
bjh21
faef3e8ac9 Manual page for unixbp. 2000-12-09 18:29:17 +00:00
bjh21
8df54708da If we get an odd IOEB type, tell the user. I have a feeling issue 1 A5000s
might trip this.
2000-12-09 18:04:05 +00:00
bjh21
38d918f85f Proper support for the Unix backplane in those machines that have one.
Not very well-tested, but it seems to work.
2000-12-09 17:52:44 +00:00
perry
1dd5f18a93 add abounce.c 2000-12-09 17:35:05 +00:00
perry
20de67075f resolve conflicts 2000-12-09 17:28:45 +00:00
perry
ca6f4b24f7 Import 19991231 Patch Level 12. Numerous bug fixes. 2000-12-09 16:52:26 +00:00
bjh21
facbe746d0 Provide friendly names for the IRQs as they're wired in normal machines. 2000-12-09 15:16:01 +00:00
bjh21
3e0d9a1b4a Fix multiple-file loading. Bump version number to 0.41. 2000-12-09 13:30:25 +00:00
jdolecek
44d7fef20a make locore.s call emulation-specific syscall code directly
this should improve speed of emulation syscall path (avoids one function call,
and emulations syscall can use the trapframe trick)
Idea: Charles Hannum
2000-12-09 13:20:04 +00:00
jdolecek
6f0fceeb1d the call to emulation-specific syscall function will be handled differently,
don't do it explicitly
2000-12-09 12:57:17 +00:00
jdolecek
87a6bee3a9 prototype ibcs2_syscall() in compat/ibcs2/ibcs2_exec.c 2000-12-09 12:45:44 +00:00
jdolecek
8f9b01eba1 prototype svr4_syscall() (only) in compat/svr4/svr4_exec.c 2000-12-09 12:44:26 +00:00
jdolecek
a6ca890142 always fill in e_syscall in respective emul_*; if the emulation doesn't
have it's own separated *_syscall() function, use syscall()
2000-12-09 12:38:23 +00:00
jdolecek
b5ce335e1c change the type of e_syscall in struct emul to
void (*e_syscall) __P((void))
since it's not uniform between ports
2000-12-09 12:34:14 +00:00
jdolecek
415500a28f regen 2000-12-09 12:27:00 +00:00
jdolecek
c557c9f0f9 add more unimplemented syscalls to list 2000-12-09 12:23:35 +00:00
jdolecek
217ab37653 split ecoff specific code to separate file ultrix_exec_ecoff.c 2000-12-09 12:19:28 +00:00
jdolecek
45144cbd17 put userret() into header file machine/userret.h and pull it where needed 2000-12-09 11:21:52 +00:00
jdolecek
5092a332a5 add svr4_syscall.c for i386 2000-12-09 11:21:41 +00:00
mjacob
af2807f9f7 Finally fix this driver to be sensible about the ENDIAN dance. It's not
quite simply a question of the Qlogic being little endian and having
to have stuff swapped on big endian machines- it also has to do with the
fact that the SBus and PCI DMA layouts are wierd with respect to this.

At any rate, now finally fixed- works on Mac G4, tested it on a SS10
for sparc, checked on alpha to see if I've broken anything, and as
soon as I get another spare afternoon I'll finally install a sparc64
version which should just work (as it'll be like the Mac).
2000-12-09 08:06:31 +00:00
mycroft
acbeba20e1 Fix compile glitch. 2000-12-09 07:17:32 +00:00
mycroft
dd92250590 Regen. 2000-12-09 07:11:17 +00:00
mycroft
9b7a9b2897 Get rid of the damn EMUL_GET* flags. 2000-12-09 07:10:34 +00:00
mycroft
284474bf6e Nuke some emul flags. 2000-12-09 07:06:52 +00:00
mycroft
547de8a6a3 Regen. 2000-12-09 07:05:10 +00:00
mycroft
02d8d5f9bf Define 3 new functions:
* sys_getpid_with_ppid()
* sys_getuid_with_euid()
* sys_getgid_with_egid()
that do the retval[1] hack.  Use them when COMPAT_43 is defined.
2000-12-09 07:04:47 +00:00
imp
c6e883d603 Change $Id: to $NetBSD$ 2000-12-09 06:54:27 +00:00
mycroft
b2052e5951 GC garbage in userret() and *_syscall(). 2000-12-09 06:34:07 +00:00
mycroft
afc49e36eb Set md_regs before call the alternate syscall handler.
Remove the EMUL_HAS_SYS___syscall test, because the handler is no longer shared
with SVR4.
Rather than comparing with e_nsysent, just mask the value.  This is only done
to protect us from malicious programs anyway.
2000-12-09 06:33:15 +00:00
mycroft
3340782619 Add a separate svr4_syscall(). 2000-12-09 06:30:54 +00:00
mycroft
77b46f5749 Oops; missed a critical #include. 2000-12-09 06:25:03 +00:00
mycroft
95bdfed457 Add hook for a separate svr4_syscall(). 2000-12-09 06:20:17 +00:00
mycroft
51e3b887d7 Regen. 2000-12-09 06:19:40 +00:00
mycroft
e2743f72a9 Round up the sysent table size. 2000-12-09 06:15:42 +00:00
mycroft
8cb9be1967 s/unimplemented/filler/ 2000-12-09 05:41:12 +00:00
mycroft
f348afacb9 Regen. 2000-12-09 05:37:01 +00:00
mycroft
23284f8acf Add another const. 2000-12-09 05:33:27 +00:00
mycroft
d47448bce6 Add the %% separators. 2000-12-09 05:31:10 +00:00
mycroft
9682cf0b09 Add the %% separators. 2000-12-09 05:27:28 +00:00
mycroft
060456b651 Couple of changes:
* Make the syscallnames[] table const.
* Add a separator between the #include section and the syscalls section, so
  that #if/#else/#endif can be handled differently in the two.
* Add support for rounding up the size of the sysent table.
2000-12-09 05:27:08 +00:00
briggs
cd0841b357 Clear interrupts on the Apple "Boogie" card. Information grovelling
and testing by Lucas Lay.
2000-12-09 05:14:31 +00:00
mycroft
7a70c438c8 Couple more tweaks to eliminate unnecessary cycles. 2000-12-09 02:46:17 +00:00
mycroft
57fdd67be5 Do the resched check *only* on an AST.
Also, there is no reason to save the original PC; there are no restartable
syscalls that change the PC -- and even if there were, they wouldn't do it
in the restart case.
2000-12-09 02:18:16 +00:00
augustss
cba59795d5 Fix tyop. 2000-12-09 02:11:51 +00:00
tsutsui
fd97da6384 Add (missed) bus_dmemem_free() in rtk_detach(). 2000-12-09 02:02:20 +00:00