Commit Graph

73090 Commits

Author SHA1 Message Date
fvdl
8488f3e039 The gist of the Linux _IOX definitions was the same for all platforms;
move it to the MI linux_ioctl.h and only leave the MD bits in the MD
header files.
2000-12-10 14:07:22 +00:00
fvdl
f86f1f091f Add linux_hdio.c and linux_fdio.c 2000-12-10 14:05:54 +00:00
jdolecek
1683c206a4 provide dymmy symbol 'syscall' to make ppc kernels
linkable after recent emul changes - it's used in emul_netbsd and friends
XXX this is probably wrong solution; should powerpc have separate
XXX syscall() as other ports do ?
2000-12-10 12:49:54 +00:00
jdolecek
7a2157f1f3 emul_unregister(): fix incorrect loop condition - execsw[] is not NULL
terminated
2000-12-10 12:42:30 +00:00
jdolecek
8ca533ee5b since this is now standalone and not called via syscall(), we need to
update statistics and set p->p_md.md_regs accordingly here
do the errno translation uncoditionally
2000-12-10 12:23:50 +00:00
jdolecek
603884ff22 syscall(): no emulation using this needs errno mapping, G/C the code 2000-12-10 12:09:59 +00:00
jdolecek
ee136a8411 add support for COMPAT LKMs
constify type_names[], avoid using random data for unknown/invalid types
2000-12-10 11:52:09 +00:00
jdolecek
9b6d040095 fork1(): write the ktrace entry before the parent is put to sleep for
FORK_PPWAIT case, so that this DTRT for vfork() too
2000-12-10 11:41:20 +00:00
chs
1c89ab39ad redo ext2fs_balloc_range(), accounting for differences between ext2fs and ffs. 2000-12-10 06:38:31 +00:00
christos
39b08b8fe0 remove redundant declarations of h_errno and __hostalias 2000-12-10 04:19:53 +00:00
christos
86af4f2cf9 fix duplicate declaration of __glue. 2000-12-10 04:17:28 +00:00
christos
c2285c0805 remove dedundant declaration of _svc_getreq_common; declared in <rpc/svc.h> 2000-12-10 04:12:03 +00:00
christos
ec4fa3bdcc remove redundant declaration of _seterr_reply. Already declared in
<rpc/rpc_msg.h>
2000-12-10 04:10:08 +00:00
christos
f92dc9c439 unnest nested extern declaration. 2000-12-10 03:59:00 +00:00
christos
94a9754eeb #ifdef out duplicate declaration for unlink. 2000-12-10 03:56:31 +00:00
christos
bfa2813aa9 remove duplicate declaration. 2000-12-10 03:54:22 +00:00
christos
a2df081a7e -Wredundant-declarations does not like nested extern declarations. 2000-12-10 03:52:16 +00:00
matt
3d9cc98e9a Add VAX 4000/200 2000-12-10 03:37:56 +00:00
bjh21
4f5619bc7c Prototype kdb_trap(). 2000-12-10 01:31:48 +00:00
bjh21
7e79390d64 Delint. 2000-12-10 01:27:35 +00:00
bjh21
6073fc61bf Indirect the SWI handler through the current emulation, thus providing a
syscall() for MI code.  Hope it never calls it itself.
2000-12-10 01:18:52 +00:00
bjh21
477863502b DIAGNOSTIC check for mangled exception vectors. 2000-12-10 01:02:04 +00:00
chs
cae7ac2e3a in uvm_pagermapin(), for now, don't pass the flag to pmap_enter()
which presets the page modified bit if the page is already initialized.
we don't actually want to modify such pages.
2000-12-09 23:26:27 +00:00
castor
dac94f4d7b Make sc->wi_txbuf an array of u_int16_t instead u_int8_t so alignment
is handled correctly.  Thanks to Martin Husemann for nagging me to
do the right thing.
2000-12-09 22:59:44 +00:00
thorpej
1c3d23d12c More IPv6-friendliness. 2000-12-09 22:39:12 +00:00
chs
f5878a3362 only zero the part of the page after EOF if we're actually
initializing the page.
2000-12-09 22:38:23 +00:00
scw
1a0a12c5b4 Bah. Somehow the a.out versions of the bootxx symbols got deleted; put
them back.
2000-12-09 22:33:24 +00:00
scw
a3dc741c03 Delete the commented out EXEC_ELF32 now that it's in std.mvme68k.
(Spotted by Simon Burge)
2000-12-09 21:02:09 +00:00
matt
2e13ae83bc cpp/lorder/mkdep don't have cross specific versions. 2000-12-09 20:42:06 +00:00
scw
4c12d23bdb Fix C++ static ctors/dtors by providing the same macros as defined
in i386/netbsd-elf.h.
2000-12-09 20:38:04 +00:00
matt
632d2ad2ee Don't use __hpcmips__, but hpcmips 2000-12-09 20:35:31 +00:00
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