Commit Graph

97702 Commits

Author SHA1 Message Date
pooka
839034650f * hang all mountpoints from rootvnode in our virtual mount hierarchy
* set VV_ROOT for the rootvnode to make getcwd realize it has met
  its journey's end
2008-11-27 16:40:40 +00:00
hauke
37bef7c624 Remove various COMPAT_ options for unsupported releases and optional
features; remove parallel printer driver.
Bring back pppoe support.
2008-11-27 15:44:04 +00:00
skrll
5e046fc3d9 Print the trapframe pointer in the trace output. 2008-11-27 14:28:23 +00:00
pooka
31b0163f0d Add nfs server rump library.
(not descended into on purpose)
2008-11-27 14:14:30 +00:00
pooka
83f531e6a8 Use struct nfs_fattr in struct flrep instead of uint32_t array
acrobatics to get rid of type punning warning.
2008-11-27 14:04:58 +00:00
pooka
35861926cc Link in a networking domain, required by nfs. 2008-11-27 11:31:59 +00:00
nakayama
b5158d6d2a No need to dig into mips/conf since mips/conf/Makefile has been removed. 2008-11-27 10:18:08 +00:00
pooka
8fc8f3a7a3 g/c #if 0'd ubc_flush() 2008-11-27 08:46:09 +00:00
pooka
f50af27351 Move more vfs-related vm routines from rumpkern to rumpvfs. 2008-11-27 08:13:15 +00:00
pooka
2ee7b4e103 Remove the whole magic ubc window thingie. All file systems use
ubc_uiomove() now, so we can hook ourselves there.
2008-11-27 08:05:27 +00:00
joerg
252f7304b2 Another assym.h dependency. 2008-11-27 01:57:40 +00:00
joerg
d54a83bf7a - ifconfig down support
- ALTQ support
2008-11-26 21:34:07 +00:00
pooka
b4099c3e1d Rototill all remaining file systems to use ubc_uiomove() instead
of the ubc_alloc() - uiomove() - ubc_release() dance.
2008-11-26 20:17:33 +00:00
pooka
23046e71b2 Add a few symbols required by nfsd 2008-11-26 15:04:02 +00:00
pooka
e40a46d006 regen 2008-11-26 15:02:05 +00:00
pooka
3c61b47d93 RUMP some syscalls required by nfsd. 2008-11-26 15:01:17 +00:00
pooka
eaff187ca4 Add dummy pr_ctloutput. I'm sure I had one at some point, since
it's required for rump_nfs to work, but I guess I lost it somewhere.
(yes, it should actually be implemented also)
2008-11-26 07:19:48 +00:00
matt
6d863ad603 gpn, not gnp. 2008-11-26 05:30:50 +00:00
matt
ef77c48fb2 Add children of geminiipi 2008-11-26 05:25:27 +00:00
tsutsui
2c79796d32 Use binuptime(9) and emulate 1GiHz (2^30) counter rather than
nanouptime(9) and 1GHz counter to avoid extra rescaling.
Suggested and reviewed by kardel@.
2008-11-25 23:10:43 +00:00
matt
17f430185a u_int32_t -> uint32_t 2008-11-25 22:18:17 +00:00
bouyer
5a3b0bf2c9 npxdna(): even if there's no effective FPU context switch set ci_fpused;
FPU will be used and needs to be switched on next context switch.
Fix "panic: npxintr: wrong process" with Xen.
2008-11-25 21:53:50 +00:00
pooka
d6457e83e1 Make sockin radix-capable. 2008-11-25 20:42:01 +00:00
pooka
eebcd28057 Support PRU_BIND / PRU_LISTEN / PRU_ACCEPT in sockin. 2008-11-25 20:39:57 +00:00
pooka
50176705eb Take reference for proc0 rootdir vnode. 2008-11-25 20:35:46 +00:00
pooka
e346dcad76 "Manually" call rn_init() to make sure it's done. The real kernel
hooks it up with domain constructors in a fascinating way.
2008-11-25 18:44:05 +00:00
pooka
ec538307e6 fix comment (no functional change) 2008-11-25 18:38:08 +00:00
pooka
922d39c2b2 Heave-ho radix.c from librumpnet_net to librumpnet. 2008-11-25 18:36:08 +00:00
bouyer
42a9987790 npxsave_cpu() set ci_fpused so that the FPU will be disabled on next context
switch on Xen. Fix "npxintr: came from nowhere" kernel messages on Xen/i386.
2008-11-25 18:33:21 +00:00
pooka
c6e7028d1c Make dom_maxrtkey of inet/inet6domain the size of the ip_encap pack
structures.  This is far from optimal, but gets rid of iffy
#ifdef INET in radix.c.  The radix bonsai still needs lots of love
before loading domains dynamically is possible...
2008-11-25 18:28:05 +00:00
ad
9d09ecfa96 sigaction1: we need to remember if the sigcontext method may be useable,
because libc can use it even if siginfo is available.

Changes are needed in libc to stop this being a performance penalty but
they will come later.
2008-11-25 16:42:44 +00:00
ad
bd14467c41 fpudna: enable interrupts in an error path. 2008-11-25 16:27:36 +00:00
ad
36ebc18492 trap07: do NOT enable interrupts before calling fpudna or we could be
preempted.
2008-11-25 16:25:29 +00:00
tsutsui
953d0b8986 In machclk functions always emulate 1GHz counter using nanotime(9)
since it has enough resolution via timecounter(9).
Using machine dependent cpu_counter() is not MP safe
and it won't work even on UP with Speedstep etc.

No particular comment on tech-kern, and also closes PR kern/39835.
2008-11-25 15:59:10 +00:00
ad
93ea4650a6 dumpsys: don't spew numbers into the log. 2008-11-25 15:51:34 +00:00
skrll
5222358697 -#include "opt_modular.h" 2008-11-25 15:50:52 +00:00
nakayama
4cb83f9c6e Make DDB shows right register values on 32-bit sparc64 kernels.
- define db_expr_t as int64_t.
- %gsr is 32-bit, so use db_sparc_intop.
- sync arguments with function prototype.
- ansify.
2008-11-25 15:41:11 +00:00
ad
4f64126fc1 A fix for failed TSC calibration with the message "ERROR: %lld cycle TSC
drift observed".

On i386, cpu_cc_skew was written out as two 32-bit words. If unlucky, the
boot processor could read the whole 64-bit value after only 32-bits of the
update were written back to main memory.
2008-11-25 15:40:30 +00:00
ad
a5a0d68555 Print the size as decimal. 2008-11-25 15:15:28 +00:00
ad
31afc5b6d8 Add some basic DDB stuff for modules. 2008-11-25 15:14:07 +00:00
ad
173ac732fd -#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
2008-11-25 15:13:47 +00:00
ad
c90afa3efc vax uses v3 trampoline. 2008-11-25 15:05:38 +00:00
pooka
1ba9363d08 Comment police. No functional or GENERIC size change. 2008-11-25 14:28:42 +00:00
pooka
ad71247a89 When testing if a file system handles file handles (ha ha ha), be
content with just the vp-to-fh-size check.
(removes a very weird error path in the code)
2008-11-25 14:04:23 +00:00
tsutsui
b8f301461c Add #ifdef _KERNEL_OPT. 2008-11-25 14:02:16 +00:00
ad
44435f5a02 Make pxeboot understand boot.cfg. 2008-11-25 13:23:54 +00:00
ad
378bfa9aa9 Cut-and-paste strikes again. Set fsmod here too. 2008-11-25 13:18:37 +00:00
cube
78c770f784 Descend into the new modules during the build. 2008-11-25 12:50:03 +00:00
he
0f2d00e5bc Don't be lazy and let one directory's Makefile install an include
file from another directory, as that only causes problems with
mtree later on when encountering the /.. path component.  Instead,
descend into dev/ and use the Makefile there to install dev/crmfbreg.h
in the appropriate directory.
2008-11-25 09:47:40 +00:00
skrll
1d28e9aeb0 Add empty module_init_md so that options MODULAR compiles. 2008-11-25 09:43:05 +00:00