Commit Graph

1935 Commits

Author SHA1 Message Date
pooka
f4c932abd9 bump for TOOLS_BUILDRUMP 2013-01-31 19:16:11 +00:00
para
19d40baab3 make vmem(9) ready to be used early during bootstrap to replace extent(9)
pass memory for vmem structs into the initialization function and
do away with the static pool of vmem structs.
remove special bootstrapping of the quantum cache pools of the kmem_va_arena
as memory for pool_caches is allocated via pool_allocator_meta which is
fully operational at this point.
2013-01-29 21:26:24 +00:00
para
39dafdefa9 revert previous commit not yet fully functional, sorry 2013-01-26 15:18:00 +00:00
para
cca299e0a3 make vmem(9) ready to be used early during bootstrap to replace extent(9).
pass memory for vmem structs into the initialization functions and
do away with the static pools for this.
factor out the vmem internal structures into a private header.
remove special bootstrapping of the kmem_va_arena as all necessary memory
comes from pool_allocator_meta wich is fully operational at this point.
2013-01-26 13:50:33 +00:00
christos
1d7af1d4c0 use the definitions from lock.h 2013-01-22 22:10:22 +00:00
rmind
9f60dd2442 Provide xc_send_ipi() routine in RUMP, which is required for high-priority
xcall(9) mechanism.  It is emulated using low-priority xcall(9).
2013-01-20 17:09:47 +00:00
pooka
aa8c5f6e4d Helps ELF platforms if I spell __ELF__ correctly ... 2013-01-17 23:21:20 +00:00
pooka
549ee191c9 bump version for recent portability fixes 2013-01-17 21:53:14 +00:00
pooka
da698c0c16 regen 2013-01-17 21:31:11 +00:00
pooka
90b354b7c2 For non-NetBSD, assume leading underscore with !__ELF__ (fixes PE-COFF) 2013-01-17 21:12:39 +00:00
pooka
d95e8f23bb fix debug printf formats 2013-01-14 20:21:32 +00:00
pooka
5164f1abe4 fix typo 2013-01-14 16:52:35 +00:00
pooka
e0ae50a3ed Remove routines which don't make sense (maybe they're some intermediate
phase of the component framework?)
2013-01-14 16:50:54 +00:00
pooka
5b831a6d28 Set networking soft interrupt vectors earlier, just in case interface
component initialization causes network traffic to be received.
2013-01-14 16:48:08 +00:00
pooka
76a5d8ab57 Don't use __weak_alias where the component framework is sufficient. 2013-01-14 16:45:47 +00:00
pooka
708fe0a7b0 Add some asserts to component initialization. 2013-01-14 16:35:06 +00:00
pooka
d2e20983e2 Update a bit. yay, this file isn't completely append-only! 2013-01-08 13:45:28 +00:00
pooka
1124205570 Update a bit. 2013-01-08 13:12:26 +00:00
skrll
f7f22bc647 Provide splsoftserial.
GRRR RUMP
2013-01-08 08:55:28 +00:00
pooka
4a38ad2878 bump for arch linux/rpi support. 2012-12-30 23:52:48 +00:00
pooka
db5793172f Take into account armv6 hacks from common/lib/libc/arch/arm/atomic to
allow this to build with -march=armv6k
2012-12-30 23:52:12 +00:00
pooka
0d0544e941 Since cvs does not provide a version number for the entire tree, provide
identifiers which can be used by external parties to check if the NetBSD
source tree is of required vintage.

inspired by a buildrump.sh bug report due to an out-of-date src
2012-12-27 15:17:01 +00:00
pooka
5b1097b855 regen 2012-12-13 17:17:21 +00:00
pooka
809bf01583 Add the ability to define compat structs and include a few. 2012-12-13 17:17:00 +00:00
pgoyette
e1d0e8f360 File is common between pp6 and ppc64 ports, so define ARCH_ELFSIZE
accordingly.

From christos@, resolves the latest build break
2012-11-24 18:16:15 +00:00
pooka
0163bf03f8 satisfy the slightly more picky clang 2012-11-22 21:23:08 +00:00
pooka
2b493f5e4b Pass linker script with -Wl,-T to avoid clang incompating itself out
without flagging an error.
2012-11-22 21:21:21 +00:00
pooka
e4cca1b663 Instead of maintaining an evergrowing list of -U's, leave that up
to an external script.
2012-11-21 17:53:10 +00:00
pooka
49029daa1a Don't duplicate arbitrary chunks of bsd.sys.mk in here (especially
-Wsign-compare, since that doesn't even work with the kernel, and was
just previously masked by -isystem).  Reorder a bit too.
2012-11-21 17:51:42 +00:00
pooka
8d40a1e7f7 Don't unconditionally use the error-silencing magic of -isystem
(as opposed to -I) on every component, only the zfs ones depend on it
to build.  Regular modules might benefit from a similar move.
2012-11-21 17:48:05 +00:00
pooka
b65f40a8c1 export register_t to rump kernel users on solaris 2012-11-21 17:41:27 +00:00
pooka
bc4e542d48 regen 2012-11-21 17:36:17 +00:00
pooka
be5ba4807d ok, rump_sockaddr_in was a pretty desperate kludge in the first place,
much better solved by syscall compat.  but, now it's really time to let
it go since solaris thinks it's nice to define s_addr around any way
it likes.
2012-11-21 17:35:21 +00:00
pooka
2d406de167 This component is not WARNS>3 clean (example: it includes socketvar.h
which does signed-unsigned comparison in an inline function).  Why it
compiled at all is one of those marvels of compiler technology.
2012-11-21 11:03:13 +00:00
pooka
505022ec4d regen 2012-11-18 21:20:16 +00:00
pooka
cb85005ba5 Necessary _KERNEL wrap to previous. 2012-11-18 21:19:52 +00:00
pooka
cfabaa1815 regen 2012-11-18 19:25:25 +00:00
pooka
bb890b4673 make work for non-c++ (???) 2012-11-18 19:25:09 +00:00
pooka
3342b3582d regen 2012-11-18 19:04:32 +00:00
pooka
7753a0419d While mucking in here, give the [local] client a chance to access all
rump kernel (i.e. NetBSD) errnos, not just EJUSTRETURN.
2012-11-18 19:03:43 +00:00
pooka
ad077d507d regen 2012-11-18 18:40:05 +00:00
pooka
005755d8e9 Finally remove the "temporary" __VTYPE_DEFINED stuff I added >5 years ago. 2012-11-18 18:39:23 +00:00
dholland
4604e9c421 Regen from updated namei.src. 2012-11-18 18:25:50 +00:00
pooka
81eb87ebc6 include correct header 2012-11-17 16:38:22 +00:00
pooka
e51fe9c308 kill some -Wunused-but-set-variable warnings 2012-11-13 20:10:02 +00:00
pooka
ee0fcc872d add some -U's for linux builds 2012-11-13 19:12:42 +00:00
dholland
4bd3ba2714 regen 2012-11-05 19:06:39 +00:00
dholland
67d4c46b16 regen 2012-11-05 17:27:52 +00:00
dholland
17158b916c regen 2012-11-05 17:24:39 +00:00
dholland
1617a81dd1 Disentangle the namecache from the internals of namei.
- Move the namecache's hash computation to inside the namecache code,
instead of being spread out all over the place. Remove cn_hash from
struct componentname and delete all uses of it.

 - It is no longer necessary (if it ever was) for cache_lookup and
cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases
that cache_enter already checks for.

 - Rearrange the interface of cache_lookup (and cache_lookup_raw) to
make it somewhat simpler, to exclude certain nonexistent error
conditions, and (most importantly) to make it not require write access
to cnp->cn_flags.

This change requires a kernel bump.
2012-11-05 17:24:09 +00:00