163367 Commits

Author SHA1 Message Date
dsl
db27b89936 Pecoff lkm doesn't need its own syscall table, remove and reinstate lkm build.
Add in pecoff_exec.c to lkm !
2007-11-10 09:43:13 +00:00
dsl
2cabf5c1f0 Remove the pecoff system table defines, they aren't needed since the
emulation uses a user-space library and normal netbsd calls.
2007-11-10 09:41:01 +00:00
xtraeme
91551751e7 Add another flag that is set only when the event was enqueued
(and its dictionary created) successfully and use it in the
POWER_EVENT_RECVDICT ioctl to check if the dictionary is ready before
calling prop_dictionary_copyout_ioctl().

This fixes a rare condition when too many events are enqueued and
there wasn't time to create the dictionary, so prop_dictionary_copyout_ioctl()
fails with a NULL pointer dereference.
2007-11-10 09:32:24 +00:00
yamt
110566cad5 install kmem.h for pstat. 2007-11-10 07:41:51 +00:00
yamt
d4b8e5537d for PR_NOTOUCH pool_item_header, use a bitmap rather than a freelist.
it saves some space and allows more items per a page.
2007-11-10 07:29:28 +00:00
marty
673ffdc2c8 Adding myself as per Welcome email. 2007-11-10 07:28:17 +00:00
yamt
86b2bae272 malloc -> kmem_alloc. 2007-11-10 07:23:10 +00:00
macallan
729749e0e4 unbork the initial console for macppc
ofb_cnattach() has nothing to do with ofb (anymore) - it's simply a dumb
rasops console we use until a real wsdisplay driver attaches, therefore
it needs to be #if NWSDISPLAY > 0, not NOFB > 0
Should probably be renamed to avoid future confusion.
2007-11-10 04:26:51 +00:00
ad
65b374fb48 Back out the tmpfs changes; there appears to be a bug lurking. 2007-11-10 03:36:16 +00:00
atatat
e1aff854df Put back the NetBSD tag 2007-11-10 03:12:10 +00:00
cube
66796c65e4 Make the "machine" statement define attributes for machine', arch' and
all the `subarch' given as parameters.  This is useful in combination with
ifdef...
2007-11-10 00:15:43 +00:00
dyoung
5121052595 Use sockaddr_in6_init(). 2007-11-10 00:14:31 +00:00
dyoung
c44fbd164e Use sockaddr_in6_init(). Use a static initializer for all1_sa.
Constify a cast (may as well).  No functional change intended.
2007-11-10 00:07:57 +00:00
dyoung
db42e9d78b Use sockaddr_in6_init(). 2007-11-10 00:05:57 +00:00
dyoung
94b72f0f97 Change macros SYN_CACHE_PUT() and SYN_CACHE_RM() into inline
subroutines syn_cache_put() and syn_cache_rm().
2007-11-09 23:55:58 +00:00
dyoung
9250821580 KNF. Remove superfluous casts and parentheses. 2007-11-09 23:53:13 +00:00
dyoung
e54fbb261f Use sockaddr_in_init(). KNF. No functional change intended. 2007-11-09 23:42:56 +00:00
cube
656cdcc8fb Add support for "ifdef <attribute>" blocks. It goes like this:
ifdef <attr> / ifndef <attr>
elifdef <attr>
elifndef <attr>
else
endif

No indentation is possible for now, it will come later.
2007-11-09 23:41:08 +00:00
christos
26515bc536 make the last argument of procfs_dir size_t 2007-11-09 22:45:49 +00:00
dsl
06f703623d Remove COMPAT_PECOFF from all - I suspect is doesn't build anymore,
and isn't worth fixing :-)
2007-11-09 22:31:47 +00:00
dsl
0588a2274c Do not build pecoff any more.
I don't think the code was ever more that a thought-project!
Certainly it shouldn't be using the netbsd system call table!
Probably all of compat/pecoff wants nuking.
2007-11-09 22:27:08 +00:00
plunky
3f86762d59 mention btkey(1) 2007-11-09 21:29:21 +00:00
plunky
e5a7441d16 Add a new utility 'btkey' for managment of Bluetooth Link Keys stored
in the NetBSD key cache (/var/db/bthcid.keys) and Bluetooth controller
memory.
2007-11-09 21:18:22 +00:00
plunky
985d6fdf0b Do not use insque/remque from libkern; they are about to be removed.
As an interim measure while the netiso code is being converted to
use queue(3) macros, define and use our own private equivalent
functions iso_insque/iso_remque.
2007-11-09 21:00:05 +00:00
macallan
f9f695f535 turn the channel lock into a spin mutex at IPL_NONE so it resembles the
simplelock it used to be
With this my macppc boxes no longer deadlock when init sets up serial ports
2007-11-09 20:31:16 +00:00
plunky
d6ed949b20 Fix ServiceSearchAttribute and ServiceSearch request handling
so that they match the whole list of UUIDs against a record,
as according to the spec

each profile now supplies a list of UUIDs instead of just a
service class.
2007-11-09 20:08:40 +00:00
njoly
d16de24e5a Make linux32_sys_oldolduname use LINUX_UNAME_ARCH instead of machine,
like other uname syscalls. While here, remove unneeded
LINUX_UNAME_ARCH #ifdef/#endif checks.
2007-11-09 17:43:17 +00:00
matt
9973b5d165 Change MOWNER_INIT to use C99 structure initializers. 2007-11-09 16:58:19 +00:00
vanhu
e76e80b28b From Arnaud Ebalard: some sanity checks, debug, and a better matching of SPD entries in getsp_r() 2007-11-09 16:28:14 +00:00
vanhu
faf3c4a53b From Arnaud Ebalard: Some sanity checking in pk_recv() 2007-11-09 16:27:58 +00:00
vanhu
70597b6cab From Arnaud Ebalard: Better matching of SPD entries in getsp_r(). 2007-11-09 16:27:47 +00:00
vanhu
cd8d63d79e From Arnaud Ebalard: Added some debug in get_proposal_r(). 2007-11-09 16:27:42 +00:00
dsl
2f3bd6bcd6 netbsd32_SYS_MAXSYSCALL -> NETBSD32_SYS_MAXSYSCALL 2007-11-09 15:40:42 +00:00
dsl
ee077208d9 Regen 2007-11-09 15:10:27 +00:00
dsl
3107f9cd42 Add arguments to sys_syscall and sys___syscall.
Use MI wrappers for them in netbsd32.
Change prefix for constants from netbsd32 to NETBSD32 (used in #defines etc).
2007-11-09 15:05:33 +00:00
dsl
d13ff754f9 Don't intercept sys_syscall and sys___syscall here, just call the MI code. 2007-11-09 14:59:37 +00:00
dsl
aad1fd25c9 Regen 2007-11-09 14:58:36 +00:00
dsl
fb82085e57 Add the 'args' argument to sys_syscall and sys___syscall. 2007-11-09 14:57:33 +00:00
dsl
f4311cf9b6 Generate normal prototypes (etc) for INDIR calls (sys_syscall and sys___syscall)
just flag the entries as SYCALL_INDIRECT.
2007-11-09 14:54:13 +00:00
dsl
2d7ba53498 Add MI implementations of the indirect stystem call functions sys_syscall()
and sys___syscall().
These functions are only used if the MI system call entry code doesn't
special-case the relevant entries.
2007-11-09 14:50:51 +00:00
yamt
f72b283e28 - fix timeout for -s.
- mention default values of some options.
2007-11-09 12:25:00 +00:00
martti
a43b234985 Added missing newline. 2007-11-09 08:26:47 +00:00
kefren
9536f25523 Don't MCLAIM in ipintr() because we do it anyway in ip_input() 2007-11-09 06:59:33 +00:00
dogcow
7b88afe00e also bump the /usr/lib version of libkvm.so. (hi, joerg!) 2007-11-09 05:54:42 +00:00
cube
baec5c01fc Don't pollute fsopttab with duplicate options for the sake of a test that
has probably been gone for a very long time.  Produces identical output.
2007-11-09 05:21:30 +00:00
cube
f51c36b80a - Make include/cinclude/package eat up to the next new-line character.
- Fix casts in getincludepath() and re-work it to ignore the unused end of
  the line.
2007-11-09 05:06:08 +00:00
christos
2668450a7f include stdbool.h instead of typedefing bool to int 2007-11-09 04:11:47 +00:00
manu
0e66fc990c tell about 88E8055 support 2007-11-09 03:54:45 +00:00
christos
0405bf4cb9 always compile getopt_long. some ifdef reduction. more to come. 2007-11-09 03:29:20 +00:00
xtraeme
70de6b1cab Erm, I don't know what I was thinking... it's VLM not VMS. 2007-11-09 01:15:10 +00:00