Commit Graph

42708 Commits

Author SHA1 Message Date
fvdl
b7ffc98bf8 Fix pasto in previous. 2000-12-18 16:27:20 +00:00
mrg
32b8108b06 s/%qx/%llx/ 2000-12-18 15:57:15 +00:00
tsutsui
3bd1aace1b Add missed le32toh() in uhci_device_isoc_abort(). 2000-12-18 15:55:30 +00:00
mrg
272c549ab2 copy exec_aout.c:exec_aout_setup_stack to netbsd32_exec_aout_setup_stack,
but use USRSTACK32 not USRSTACK, so that we get 32-bit stack addresses.

now 32 bit a.out binaries work on sparc64.
2000-12-18 14:50:04 +00:00
mrg
dd2f1cdf71 - rename 32bit USRSTACK32, and define USRSTACK to that if !__arch64__, so that
64bit code can see USRSTACK32
- bump the limits
2000-12-18 14:48:26 +00:00
fvdl
3259cebc4c For unknown ioctls, pass them through to a device using PTIOCLINUX,
so that it may deal with them if it knows them (i.e. LKMs which
deal with Linux binaries).
2000-12-18 14:47:38 +00:00
fvdl
865e7b1375 Pass SIOC* calls that are done on devices (not sockets) through
without trying to interpret done, as is done on Linux. The device
will get them as PTIOCLINUX, with command and arg in the structure
passed in.
2000-12-18 14:46:36 +00:00
fvdl
8578d458e5 Define LINUX_SIOCDEVPRIVATE (currently not emulated for sockets). 2000-12-18 14:44:44 +00:00
fvdl
05434b01ba Add defines for 'passthrough' (PTIOC) ioctl commands. To be used for
devices that use private sets of ioctls (in LKMs), which should not
conflict with other defines. Define a value for each emulation, so
that, for example, Linux binaries which have specific ioctls
redefined to passthrough ones by the compat code, don't conflict
with other emulations.
2000-12-18 14:43:43 +00:00
fvdl
4d193ccde8 Add seperate entries for 16 bit uid/gid calls, so that border cases
like 0xffff can be handled better (not done yet).
2000-12-18 14:40:02 +00:00
fvdl
0bda0568cf Regen. 2000-12-18 14:37:36 +00:00
fvdl
41623d32a2 Update for Linux calls with 32 bit uids/gids. 2000-12-18 14:37:17 +00:00
fvdl
8839755950 Update for 32 bit Linux uid/gid calls. 2000-12-18 14:36:35 +00:00
jdolecek
214db5ca6b Store edx to rval[1], so that it won't get zeroed spuriously - this made
shared FreeBSD binaries coredump.
This solves port-i386/11708 by Atsushi Onoe.

XXX it may be worth it to split FreeBSD syscall code off syscall.c similar way
XXX as other emulations
2000-12-18 11:37:08 +00:00
jdolecek
f66ae436e9 make compilable without KTRACE, too 2000-12-18 08:53:39 +00:00
minoura
6f08eabd1f %reg -> %%reg in asm() directive. 2000-12-18 02:46:49 +00:00
bjh21
c25ab2f1ec Rudimentary facilities for extracting the card's Ethernet address from the
ROM.  Only works on one of my two cards, though.  It looks like we'll need
to use the RISC OS loader on the podule to get this right.  *mutter*
2000-12-18 00:46:47 +00:00
tsubai
9812c28653 Clean up unused variables. 2000-12-17 23:24:25 +00:00
tsubai
600a78f5a5 Move variable tickspending to clock.c; it's used in only clock.c. 2000-12-17 23:16:22 +00:00
tsubai
00940e9045 Switch to the idle stack in the idle loop. 2000-12-17 22:57:35 +00:00
jmc
3926121843 Comment out the isa wss driver.
GENERIC is the kernel used on new installs and too many things overlap the
resources (irq mostly) the default isa version may be using which causes
panics on reboot.
2000-12-17 22:53:52 +00:00
pk
c421b5eb92 Pull over revision 1.23 from sparc:
Fake a label only if it appears to be blank, and if so use RAW_PART
	instead of 0.
2000-12-17 22:39:18 +00:00
bjh21
4942923809 Handle detecting the available media and state of medium selection links
on EtherLan 100 (and presumably 500) boards.
2000-12-17 22:29:26 +00:00
thorpej
f41028779b Add back the code that clears "odd" in VCHR. This shouldn't be
necessary, but we haven't made X cope with the wierd size yet.
2000-12-17 22:23:12 +00:00
pk
065dbd3604 Make pointer formats work with a 32-bit compiler. 2000-12-17 21:54:20 +00:00
pk
4bcb826e27 Cast a bus_addr_t' argument to u_long' for `%lx' format (XXX..) 2000-12-17 21:50:14 +00:00
pk
51dca5ed7c Fix printf() pointer formats & make them work with a 32-bit compiler. 2000-12-17 21:43:54 +00:00
pk
4d082438e0 Literal %' in format string => %%' 2000-12-17 21:42:21 +00:00
pk
107489f7a1 Remove spurious `#define DEBUG' 2000-12-17 21:41:43 +00:00
jdolecek
5c6130a2b1 hum, use freebsd_setregs for FreeBSD ELF binaries (this bug was introduced with
the execsw[] changes)
2000-12-17 21:36:49 +00:00
thorpej
0a8ec4baf3 Add an at isapnp. 2000-12-17 20:35:45 +00:00
thorpej
19c3f4691f ISAPnP front-end for the Aironet 802.11 cards. Note this is currently
untested.
2000-12-17 20:34:40 +00:00
thorpej
5b67bb41a2 Regen; added Aironet 802.11. 2000-12-17 20:17:20 +00:00
thorpej
8c28f8f467 Add Aironet ISAPnP device ID. 2000-12-17 20:16:03 +00:00
bouyer
179157be03 Fix a reversed test.
Partial fix for kern/11726: now the kernel find the drives, but panics
after a device has been mounted.
2000-12-17 19:35:23 +00:00
jdolecek
6665bd7a9d add compat_util.c goo so that this doesn't depend on emul_find()
being available in the running kernel
2000-12-17 16:21:12 +00:00
jdolecek
5803fc683f add emul_find() goo, so that this doesn't depend on emul_find() being already
present in kernel
add (commented out) COMPAT_43, COMPAT_12, COMPAT_09 stuff needed for this
LKM to load
2000-12-17 16:20:23 +00:00
jdolecek
29fd738f28 make LKM safe 2000-12-17 16:15:54 +00:00
jdolecek
cec7e3ceca regen 2000-12-17 16:14:40 +00:00
jdolecek
b436e7bba3 add emulation of FreeBSD utrace(2) 2000-12-17 16:11:38 +00:00
jdolecek
d2a0c208d5 add FreeBSD-compatible KTR_USER/KTRFAC_USER 2000-12-17 16:04:51 +00:00
jdolecek
aca80bc6f2 use LKM name "compat_FOO", which matches name of the resulting LKM .o file 2000-12-17 16:00:37 +00:00
jdolecek
df68499f38 make LKM safe 2000-12-17 15:55:47 +00:00
jdolecek
cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
ad
b5aee7bd4c Thinko. 2000-12-17 14:46:43 +00:00
ad
3b02b279aa Regen. 2000-12-17 13:56:19 +00:00
ad
d092cb0d0a Sync with PixelStamp drivers. 2000-12-17 13:56:05 +00:00
ad
553c5108d4 Add wscons drivers for the DEC PixelStamp graphics accelerators. 2000-12-17 13:52:03 +00:00
itojun
60fa2b29af fix typo in function name (rn_satsifies_leaf -> satisfies). indent.
split rn_inithead() into two function - i'm putting some hook around here.
2000-12-17 10:23:19 +00:00
jmc
d1c6f1123f Add pnpbios_getiosize 2000-12-17 07:59:14 +00:00