Commit Graph

196947 Commits

Author SHA1 Message Date
pooka 322c9db78b regen with no changes (to show previous commits affected rump only) 2011-01-17 16:22:53 +00:00
pooka 39a698a4f3 Mark a few 5.0 COMPAT syscalls as RUMP now that it's possible 2011-01-17 16:21:40 +00:00
pooka 46b3b0f6ce use compat code from sys/compat/common 2011-01-17 16:20:20 +00:00
pooka 53c9307857 Rework how syscall compat is handled for rump syscalls. The old
one had the problem of bypassing the syscall layer and doing a
function call into the kernel directly.  Therefore there was no
way for users of librumpclient to specify compat.  The new model
pushes the compat handling in the kernel and leaves only the task
of selecting the right syscall number to the client.

This change also introduces a stable ABI for rump syscalls, i.e.
it is possible to use the same syscall client library both on NetBSD
5.0 and -current and get the syscalls resolved to the right place
depending on the ABI at the time the client binary is compiled.

A list of what to be called when will have to maintained separately
simply because this information is not available in syscalls.master
-- in the case of the normal kernel we always want to resolve a
newly linked syscall to the latest version, whereas in rump we
might want to resolve a syscall to a -current kernel to the 5.0
compat call (because our client namespace is 5.0).  This information
in maintained in rump_syscalls_compat.h with the current format:

/* time_t change */
#if !__NetBSD_Prereq__(5,99,7)
#define RUMP_SYS_RENAME_STAT rump___sysimpl_stat30
....

If no compat override is given, a syscall resolves automatically
to the latest version of the syscall.

Also, this change autogenerates forward declarations for all syscall
types where it is possible (i.e. ones without typedef insanity).
This makes it possible to include rump_syscalls.h without including
rump.h.
2011-01-17 16:16:54 +00:00
jmcneill e1ef6a8005 note acpiwdrt(4) addition 2011-01-17 16:13:39 +00:00
jmcneill 21b4f7d5bd Xr acpiwdrt(4) 2011-01-17 16:09:48 +00:00
jmcneill 9037a9b3ff add acpiwdrt(4) man page 2011-01-17 16:08:19 +00:00
pooka 4ded7232b9 Put async i/o compat routines in a separate source module from the
ones related to clock and process management.
2011-01-17 15:57:04 +00:00
jmcneill b9c99a1608 add acpiwdrt 2011-01-17 15:56:03 +00:00
jmcneill 8ddcdc25a9 acpiwdrt needs sysmon_wdog 2011-01-17 15:55:24 +00:00
jmcneill 4eb5cd5a57 add acpiwdrt module glue 2011-01-17 15:49:56 +00:00
jmcneill 27686d11fe Add a driver for ACPI "Watchdog Resource Table" devices.
acpiwdrt0 at acpi0: mem 0xfed01000,0xfed01004
  acpiwdrt0: PCI 0:000:00:0 vendor 0x1106 product 0x3337
  acpiwdrt0: watchdog interval 1-1023 sec.
2011-01-17 15:49:13 +00:00
tsutsui 09292cecb8 Explicitly include <mips/pcb.h> for struct pcb. 2011-01-17 15:32:59 +00:00
jnemeth 376d1dd027 add TIL today I learned 2011-01-17 15:18:06 +00:00
tsutsui 247eefa18e Explicitly include <machine/pcb.h> for struct pcb. 2011-01-17 14:53:42 +00:00
tsutsui 4d58277bcd Explicitly include <machine/pcb.h> for struct pcb. 2011-01-17 14:36:32 +00:00
jdc 35725a69db Add (commented out) LOCKDEBUG and SYSCALL_DEBUG options. 2011-01-17 13:43:02 +00:00
skrll ddf6216538 Whitespace. 2011-01-17 12:37:46 +00:00
jruoho e11ffc9a79 Remove /usr/share/misc/operator. 2011-01-17 11:19:07 +00:00
jruoho 5e8dd2b4e9 Remove /usr/share/misc/operator. 2011-01-17 11:09:06 +00:00
matt 50078c4d66 Add long double functions for eq,ne,gt,le,ge,lt,neg ops. 2011-01-17 10:08:35 +00:00
matt cbf89944a0 Add -D_REENTRANT 2011-01-17 09:43:56 +00:00
matt 7eef82641e If LWP0_MD_INITIALIZER is defined, use it to initalize .l_md (avoid runtime
to do it if possible).
2011-01-17 08:26:58 +00:00
matt 51db1c5cf3 Kill _NOREGNAMES. Everything should be using %rX now. If it doesn't it
soon will.
2011-01-17 08:23:53 +00:00
skrll a673bf604d Add an membar_ops.S - not used currently. 2011-01-17 07:40:21 +00:00
uebayasi ab332b69c7 Fix a conditional include. 2011-01-17 07:36:58 +00:00
jruoho fe35f42c6b Note jruoho-x86intr branch. 2011-01-17 07:35:02 +00:00
jruoho e983fe9dee Replace reference to nonexistent if_otus(4) with otus(4). 2011-01-17 07:33:16 +00:00
matt c9b73ed954 Add #include <machine/pcb.h> 2011-01-17 07:32:54 +00:00
jruoho 05cd33ca3c Add two more references. 2011-01-17 07:32:05 +00:00
skrll b095c54869 Tweak layout - no functional change. 2011-01-17 07:29:17 +00:00
uebayasi 9d567f003d Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
matt 19cb1fa295 Don't define _NOREGNAMES since all of libkern is now compiled with it. 2011-01-17 07:07:36 +00:00
matt 4fe8145a2c Use %rX instead of X. (no function change). 2011-01-17 07:06:10 +00:00
matt 3cdfbf5853 Add a #include <machine/pcb.h> 2011-01-17 06:55:49 +00:00
matt a783addbee Change some register uses to %rX that were missed the firt time. 2011-01-17 06:54:57 +00:00
christos 003dddff9d PR/44235: Valeriy E. Ushakov: Don't pick up a block from the free list if
it is not big enough, allocate a new one. XXX: this is inefficient, but at
least it does not end up corrupting memory.
2011-01-17 03:04:10 +00:00
matt a79ae329be Note secureplt support for powerpc. 2011-01-17 01:35:24 +00:00
njoly fd24721ce5 In stat structure conversions, do set st_birthtimespec member values
if exists.
2011-01-16 23:21:16 +00:00
joerg 66ef8e5b14 Alpha doesn't need -traditional-cpp for assembler. 2011-01-16 19:29:59 +00:00
matt 709c8a2f01 Move powerpc gotptr to the end to preserve binary compatibility. 2011-01-16 15:56:37 +00:00
jmcneill 7f772947f7 save a line of dmesg 2011-01-16 14:16:03 +00:00
skrll 0dec4d9c8e Fix RCSId. 2011-01-16 12:07:26 +00:00
tsutsui 3b619c6ff4 Make pre-2.0 ELF binaries (with gcc-2.95.3/binutils-2.11.2) actually work
with options COMPAT_16.
Tested on R3000 pmax and R5000 sgimips, closes PR port-mips/44375.
2011-01-16 09:50:44 +00:00
tsutsui c1a2202ec6 Pull AL2230S radio support for chips:
>   zyd0: sorry, radio "PV2000" is not supported yet
>   zyd0: could not attach RF
mentioned in PR kern/43125. From (FreeBSD via) OpenBSD.

Untested (no hardware here), but should not affect other chips.
2011-01-16 09:08:29 +00:00
tsutsui 4dbd907d6a Regen from usbdevs rev 1.576:
> Add CyberTAN ZD1211B. From OpenBSD.
2011-01-16 08:59:08 +00:00
tsutsui b2e0405206 Add CyberTAN ZD1211B. From OpenBSD. 2011-01-16 08:58:03 +00:00
wiz 83a6212df8 Typo fixes, use more markup. 2011-01-16 08:00:01 +00:00
matt 2dd1b647a7 For cerror, allow -I../libc to allow inclusion of any assym.h, if up. 2011-01-16 03:29:36 +00:00
matt 156ba6dbc5 Add -D_NOREGNAMES 2011-01-16 03:22:19 +00:00