scw
66a84140b8
Use "EMUL_HAS_SYS___syscall" instead of checking p->p_emul.
...
Removes dependency on COMPAT_AOUT_M68K.
2000-12-02 13:45:14 +00:00
sato
0f6c05e8d7
- polling battery voltage value from A/D port.
...
currently polling only.
if verbose mode, kernel print A/D raw value every polling.
2000-12-02 08:35:45 +00:00
matt
7168049e66
Add -EB to make building kernel on LE systems easier.
2000-12-02 06:23:48 +00:00
matt
305bef7250
Cleanup/fixup gten support. Add TNF copyright (opps). This now outputs
...
text correctly. There is no colormap support (e.g. the mechanisms are in
place but does yet talk to the hardware).
2000-12-02 05:46:46 +00:00
mrg
f5a3788577
pull over lost fix from nebsd32_exec.c:
...
>revision 1.25
>date: 2000/12/01 08:59:02; author: mrg; state: Exp; lines: +2 -2
>in netbsd32_elf32_probe(), 'pos' is really a pointer to an Elf_Addr, not a
>vaddr_t. cast the pointer before dereferencing it to avoid the alignment
>fault that broke compat_netbsd32, cuz pos is defined like:
> Elf_Addr phdr = 0, pos = 0;
>in exec_elf32.c.
2000-12-02 04:08:35 +00:00
mrg
3da40e83e7
const poison to avoid a warning.
2000-12-02 03:57:26 +00:00
itojun
cc1e5d5b5a
remove obsolete comment on MINCLSIZE
2000-12-02 03:03:14 +00:00
itojun
bbaa97fa45
sync with latest kame.
...
- validate strdup() error on argument parsing.
- use strlcat on complex string manipulation.
2000-12-02 02:54:21 +00:00
hubertf
1e2914d00b
Document that the path to the configuration file given on the command
...
line must be absolute, unless the -d option is given on the command line.
2000-12-02 02:15:34 +00:00
thorpej
074a0c939d
In krb5_sendto(), try the send/recv *inside* the loop through the
...
addinfos, so that e.g. if we fail to connect with an IPv6 address,
we can fall back onto an IPv4 address.
2000-12-02 01:53:08 +00:00
jdolecek
df127e0001
make netbsd32_copyargs() an inline
2000-12-01 22:05:18 +00:00
matt
0b76f4efdf
Add support for the IBM ThinkPad 820 G10 display (which is a WD90C24A behind
...
a funky PCI-VLBUS bridge).
2000-12-01 21:54:01 +00:00
jdolecek
e53f148af5
put a.out/elf32 specific things in netbsd32_exec_{aout|elf32}.c
...
emul_netbsd32 was moved to netbsd32_netbsd.c
g/c netbsd32_exec.c now
2000-12-01 21:51:08 +00:00
jdolecek
758d9354ff
always define COMPAT_OLDSOCK (this tracks rev.1.55 of kern/uipc_syscalls.c)
...
move definition of emul_netbsd32 from netbsd32_exec.c here
fix couple of compile nits I encountered while compiling this with
sparc cross-compiler
2000-12-01 21:48:24 +00:00
jdolecek
445c16b759
implement linux_sys_setdomainname()/linux_sys_swapon(), using code
...
from compat_09_sys_setdomainname()/compat_12_sys_swapon().
2000-12-01 21:14:42 +00:00
jdolecek
31cf7b914c
regen
2000-12-01 21:11:02 +00:00
jdolecek
058a5a87bd
replace compat_09_sys_setdomainname() with linux_sys_setdomainname(),
...
compat_12_sys_swapon() with linux_sys_swapon() - this is to drop dependency
on COMPAT_12/COMPAT_09
2000-12-01 21:02:55 +00:00
jdolecek
fc181f91c6
use EMUL_GETPID_PASS_PPID or EMUL_GETID_PASS_EID to find out if one should
...
pass parent pid for getpid() or effective id for get[ug]id(), instead
of compile-time dependency
2000-12-01 20:34:17 +00:00
jdolecek
b490742cef
if LINUX_MACHDEP_PASS_PPID_AND_EUID is defined for given arch, add
...
flags EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID to emul_linux
define this option for alpha
2000-12-01 20:31:13 +00:00
jdolecek
f3d1c08b2a
check emul flags for EMUL_HAS_SYS___syscall instead of comparing
...
callp to sysent; the COMPAT_AOUT hack is gone
2000-12-01 19:50:17 +00:00
jdolecek
d06ce6de86
set the EMUL_HAS_SYS___syscall flag for emul_netbsd
2000-12-01 19:41:49 +00:00
jdolecek
5c032b6899
define EXEC_AOUT before including freebsd_exec.h, so that the a.out stuff
...
gets defined
2000-12-01 19:35:39 +00:00
jdolecek
8e91e3f0bd
make LKM safe
2000-12-01 19:26:57 +00:00
jdolecek
2ff42428df
put elf32 specific code from svr4_exec.c to separate file svr4_exec_elf32.c
2000-12-01 19:26:26 +00:00
jdolecek
dc7c57f299
make LKM safe
2000-12-01 19:25:10 +00:00
jdolecek
36e6e46132
put aout specific sunos code from sunos_exec.c to separate file
...
sunos_exec_aout.c
make LKM safe
add EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID to emul_sunos flags
2000-12-01 19:24:36 +00:00
jdolecek
43ac5f6b81
put aout specific sunos code from sunos_exec.c to separate file
...
sunos_exec_aout.c
2000-12-01 19:23:10 +00:00
jdolecek
7f86cf1b2c
make LKM safe
2000-12-01 19:20:56 +00:00
jdolecek
e0c059250f
emul_osf1: add flags EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID
2000-12-01 19:20:22 +00:00
jdolecek
70569d32c8
prototype netbsd32_stat12_to_netbsd32()
2000-12-01 19:18:46 +00:00
jdolecek
f1badb80a7
put executable format specific code from ibcs2_exec.c to separate
...
files ibcs2_exec_coff.c, ibcs2_exec_elf32.c, ibcs2_exec_xout.c as
appropriate
2000-12-01 19:17:41 +00:00
jdolecek
e826fe9d58
split aout-specific code to sepatate file hpux_exec_aout.c
2000-12-01 19:15:12 +00:00
jdolecek
b4a8a5fbce
split aout and elf32 specific code to separate files
...
emul_freebsd: add emul flags
EMUL_HAS_SYS___syscall|EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID
2000-12-01 19:13:47 +00:00
jdolecek
caae796b52
add emul flag EMUL_HAS_SYS___syscall
2000-12-01 19:12:11 +00:00
jdolecek
011229ffcb
make LKM safe
2000-12-01 18:16:54 +00:00
kei
4389b3cbed
fix a typo in the printf message.
2000-12-01 18:09:01 +00:00
kei
b134a87a76
fix a typo in comment. remove a whitespace at the end of line.
2000-12-01 18:07:11 +00:00
jdolecek
23a13e04be
LKMify, g/c no more needed extern declarations, make hpuxtobsdioctl() static
2000-12-01 18:05:53 +00:00
jdolecek
31a6e57929
LKMify
2000-12-01 18:03:54 +00:00
jdolecek
9e8eb7e8f1
add three emul flags:
...
EMUL_HAS_SYS___syscall - has SYS___syscall
EMUL_GETPID_PASS_PPID - pass parent pid in getpid()
EMUL_GETID_PASS_EID - pass also effective id in get[ug]id()
2000-12-01 17:59:12 +00:00
tsutsui
a8fdbdec1c
Remove unused pcbb() macro.
2000-12-01 17:57:43 +00:00
eeh
bf3bbac849
Don't allow pmap_collect() to run on the kernel pmap since it will
...
undo the work of pmap_growkernel().
2000-12-01 17:17:29 +00:00
bjh21
cb5273b547
First attempt at an EtherH driver. Can just about transmit and receive
...
packets. Interrupt enabling is left to the RISC OS driver, medium selection
is untested and it's hard-wired to the MAC address of my card. Not really
for production use.
2000-12-01 14:28:36 +00:00
jdolecek
798f64c85b
put linux_sys_uselib() to separate file linux_uselib.c
2000-12-01 13:49:35 +00:00
jdolecek
81f0543ba6
fix the emulation path
2000-12-01 13:21:37 +00:00
jdolecek
30760da04a
no need to define emul_osf1, <compat/osf1/osf1_exec.h> defines it for us now
...
set execsw[] entrys' priority to appropriate values
2000-12-01 12:57:55 +00:00
jdolecek
02f3b54d49
struct execsw: rename es_flags to es_prio, provide defines
...
EXECSW_PRIO_ANY, EXECSW_PRIO_FIRST, EXECSW_PRIO_LAST to mark
entry's priority
2000-12-01 12:56:25 +00:00
jdolecek
28c12f0c39
provide extern const struct emul emul_osf1
2000-12-01 12:51:03 +00:00
simonb
c878d09614
For mount_mfs, allow an 'm' suffix to the file system size option to
...
specify the size of the mfs in megabytes.
Inspired by the Solaris tmpfs "-o size=sz" option.
2000-12-01 12:48:09 +00:00
jdolecek
01040d97a2
add e_path (emulation path) to struct emul, which replaces emulation-specific
...
*_emul_path variables
change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation
remove no longer needed header files
add e_flags and e_syscall to struct emul; these are unsed and empty for now
2000-12-01 12:28:30 +00:00