174136 Commits

Author SHA1 Message Date
skrll
79c7887582 Bring back cpu_setfunc.
cpu_lwp_fork should use cpu_setfunc, but not right now.
2008-10-16 17:42:26 +00:00
martin
ec4b77b48c resurrect cpu_setfunc(), adapted to new world order. 2008-10-16 17:08:33 +00:00
pooka
19b5350e77 call rump_netisr_init() 2008-10-16 16:41:07 +00:00
pooka
346ffecff3 ...... except that the compat converter is actually supposed to convert
the ioctl, not return random garbage.  It returning random garbage
causes an interface with an interesting netmask to get set and
hence a very interesting effect when you try to add a route for
your system.

All in all, a very healthy debugging session (if you're a vampire
or a wraith).
2008-10-16 16:40:39 +00:00
dholland
72c2627f1f Wrap declaration of a STATIC function that's only conditionally defined
in a suitable ifdef, so things still compile if STATIC is defined as
"static", which is for some reason not the default.
2008-10-16 15:36:23 +00:00
dholland
744c8edc4b Wrap declaration of a STATIC function that's only conditionally defined
in a suitable ifdef, so things still compile if STATIC is defined as
"static", which is for some reason not the default.

(In the long run STATIC should go away - it might have once been a
portability hack but now definitely serves no purpose.)
2008-10-16 15:31:05 +00:00
pooka
a60de16dcb ... except that compat_ifioctl() must know how to route the
commands further.
2008-10-16 15:02:10 +00:00
dholland
e54c6daca4 Remove unused global variables 2008-10-16 14:55:28 +00:00
pooka
61c2d7025c Add a few compat stubs. They shouldn't be required at all, but I
don't currently have the time to wage a holy war against how the
kernel decides it wants them.
2008-10-16 14:38:39 +00:00
christos
18c51ff05b Provide a way for a program to override the PIE flags. 2008-10-16 14:36:42 +00:00
dholland
0faa1734e3 Use "extern" properly for referencing globals defined in other modules.
Now builds cleanly with -warn-common.
2008-10-16 14:36:40 +00:00
christos
3b55965a05 Never build this with PIE. 2008-10-16 14:36:20 +00:00
hans
ce49696b30 Set nexaddr on qbus vaxen to enable remapping of buffers when booting
from MSCP devices. Fixes MSCP boot problem introduced by moving boot up
to allow for bigger kernels. OK by matt.
2008-10-16 13:39:25 +00:00
pooka
8447026c71 appease 64bit gcc 2008-10-16 13:36:06 +00:00
hans
991c2cc9b0 fix detection of unknown massbus devices, ok by matt 2008-10-16 12:47:22 +00:00
pooka
a162d50c30 regen 2008-10-16 10:32:28 +00:00
pooka
44bb67c4bb Be more verbose about the performance hit. 2008-10-16 10:30:17 +00:00
pooka
46b5f75de9 build librumpnet 2008-10-16 09:44:12 +00:00
pooka
11a1b3f96a add do-sys-rump-net-lib 2008-10-16 09:43:12 +00:00
pooka
f6e8419ce8 update set lists for:
* rump_nfs
* librumpfs_nfs
* librumpnet{,_net,_netinet,_sockin,_virtif}
2008-10-16 09:39:43 +00:00
pooka
d72ee403e1 Add & enable rump_nfs. 2008-10-16 09:30:57 +00:00
pooka
37b61acf1e * descend into rump/net
* descend into fs/lib/libnfs
2008-10-16 09:29:43 +00:00
pooka
ce2bb4bac6 Add a prototype to allow this to build (will be moved to a better
place later).
2008-10-16 09:25:30 +00:00
pooka
e66325797b kill default DBG=-g 2008-10-16 09:24:51 +00:00
pooka
61c5cf598d Convert mount_nfs to the mount_foo_parseargs() format. No functional
change.
2008-10-16 09:12:54 +00:00
ad
a5611119c0 Another revivesa merge botch. 2008-10-16 08:52:20 +00:00
ad
ad507e54f8 _lwp_kill: set SI_LWP in the siginfo, not SI_USER. 2008-10-16 08:47:07 +00:00
dholland
3b398d5c25 Adjust previous; apb@ points out that _PATH_TMP is provided by compat_defs.h;
thus, this shouldn't need a paranoid fallback definition.
And, use _PATH_TMP also in the second place that was using a hardwired "/tmp".
2008-10-16 05:41:13 +00:00
dholland
36c1b19ba1 Fix ridiculously small filename buffer for temporary file and resulting
truncation if $TMPDIR is set; also, fix an error path to not leave the
temporary file behind. From Gao Ya'nan in PR 39746.
While here, use _PATH_TMP instead of a hardwired "/tmp".
2008-10-16 05:35:01 +00:00
wrstuden
08a6eca79e Bring back saframe. Noted by Robert Swindells. 2008-10-16 04:02:32 +00:00
wrstuden
e5d0434bf7 sys/sa.h and sys/satypes.h are both needed, so revive/include them. 2008-10-16 03:51:54 +00:00
pooka
47c581b572 nfs_boot calls some networking stack routines directly. Since rump
will not invoke nfs_boot in the foreseeable future, provide those
routines as stubs in case sockin is used instead of the real
networking stack.
2008-10-15 22:25:26 +00:00
pooka
2d1a1a1ecf Don't descend into rumptest automatically. Otherwise a manual
"make install" in this directory does some funnies.
2008-10-15 20:41:11 +00:00
wrstuden
02b557280f Pre-declare struct sadata_vp here so we avoid a circular dependency
between this file and savar.h. This lets lwp.h stand on its own.

I do not understand why compiling kernels on i386 did not catch this.
2008-10-15 20:32:46 +00:00
pooka
1ff56ab29e One more init I happened to forget: iostat_init() 2008-10-15 20:15:37 +00:00
scw
edeb3e1fec Reduce the scope of PPPoE session IDs from globally unique to per-interface
unique. Some brands of ADSL modems pick a hard-coded session ID which
would otherwise make it impossible to use two of them in the same system
simultaneously.
2008-10-15 20:08:33 +00:00
pooka
084e92b62d Reword quite out-of-place (even historically) "nqnfs 2" error message. 2008-10-15 19:06:45 +00:00
bouyer
2a95f206c2 Regen: fix entry description. 2008-10-15 18:31:16 +00:00
bouyer
dd0d5e5a64 Fix entry description. 2008-10-15 18:30:29 +00:00
matt
74b13f5d12 Use RET/RETc as appropriate 2008-10-15 18:07:46 +00:00
wrstuden
566aaebc36 Looks like we need sa.h after all for userland. Add it back. 2008-10-15 18:07:28 +00:00
bouyer
34fc5ca03c Regen: add more ICH9 ethernet devices. 2008-10-15 17:34:51 +00:00
bouyer
cf67af4a36 Add support for more ethenet ICH9 devices. Tested by Pouya D. Tafti
on a 82801I_IGP_M_AMT.
2008-10-15 17:32:04 +00:00
christos
1269d9a570 don't compile/link libraries with pie 2008-10-15 17:31:50 +00:00
matt
9bb26ef454 Add fa526_flush_prefetchbuf 2008-10-15 16:56:49 +00:00
matt
285956ae5c Make sure the register used is 0 when doing ops which affect the entire
cache or tlb.
2008-10-15 16:38:10 +00:00
wrstuden
e27861f46e Add a weak alias for ktr_saupcall, so things build w/o KTRACE compiled. 2008-10-15 16:03:29 +00:00
sborrill
fb3d071819 Correct existing Xen example and add Xen with serial console example.
Refer to boot.cfg(5) for Xen examples from boot(8).
2008-10-15 14:32:26 +00:00
pooka
c66ebd3d57 For NFSV3CREATE_EXCLUSIVE verifier, just use arc4random() instead
of the first inet address on INET systems (which is likely to be
localhost).
2008-10-15 14:21:35 +00:00
pooka
513be93faf Revert revivesa merge botch to fix build. 2008-10-15 14:09:21 +00:00