pooka
b00f3c3b11
regen
2015-08-24 16:07:10 +00:00
pooka
8dc07d6aab
Use BUILDRUMP_IMACROS if specified.
2015-08-24 09:45:44 +00:00
pooka
8affc54712
kill now-unnecessary empty opt files (_KERNEL_OPT'ed probably eons ago)
2015-08-21 12:45:10 +00:00
pooka
5837845c12
Move constant cpp macros from Makefile.rump into opt_rumpkernel.h
...
(makes cc invocation lines a bit shorter)
2015-08-21 12:39:07 +00:00
christos
8ae7da9704
Remove KERN.ioconf, ksyms does not really need it.
2015-08-21 06:56:12 +00:00
christos
88b7aebae8
XXX: there must be a better way to do this.
2015-08-20 14:27:15 +00:00
christos
838b8310be
add ioconf files for pseudo device attach prototypes
2015-08-20 12:20:09 +00:00
christos
2244edcb62
generate ioconf.h for pseudo-device attach prototype
2015-08-20 12:04:30 +00:00
christos
1a4eecf195
use ioconf.h for pseudo-device attach prototypes
2015-08-20 11:59:16 +00:00
christos
50213afafb
put back bsd.init.mk
2015-08-20 11:58:26 +00:00
christos
f2fa9ab00d
use ioconf files for pseudo-device attach prototypes
2015-08-20 11:51:12 +00:00
pooka
015ffe5bef
Don't use KASSERT() to test for external return values, use panic()
...
from Robert Millan <rmh@freebsd.org>
2015-08-16 11:06:54 +00:00
pooka
2cecb63011
Fix handle typos/pastos in bus_space_barrier() calls
2015-08-11 22:28:34 +00:00
pooka
5ede295be8
Since the rump kernel does not know when the container it's running in
...
actually halts, print "halted" in the hypercall.
2015-07-24 14:11:11 +00:00
hannken
126bb89545
rump_vfs_mount_print: use vfs_vnode_iterator to print attached vnodes.
2015-07-22 08:36:05 +00:00
justin
d17e40e2f5
Add uname to rump sources
2015-07-07 12:40:13 +00:00
justin
034bfbdba3
Move hw.machine and hw.machine_arch sysctls to base so rump can use them
...
This allows uname(3) and uname(1) to work on rump kernels.
2015-07-07 12:38:02 +00:00
pooka
dda5ec9669
add brconfig to userland utils
2015-06-29 08:40:52 +00:00
hannken
46401132fa
VOP_INACTIVE() is a rump operation, not a specfs operation.
2015-06-23 10:41:32 +00:00
pooka
a3cfad0d94
regen
2015-06-18 15:19:50 +00:00
pooka
b64d94ca7f
note RUMP_{,LOCK}DEBUG default values
2015-06-17 11:48:06 +00:00
pooka
adb470c84b
Remove unreal allocators, unconditionally use subr_{kmem,pool}.
...
Will, with other work, allow to tighten the memory allocation hypercall
specification to page-granularity allocations in the future.
2015-06-17 11:46:33 +00:00
pooka
36505d0ef2
Add a "userfeature" definition for iospace. I/O space is supported if
...
that flag is given and calling the init routine succeeds (and we're on
x86, which we probably need to be on anyway for this PCI component to
currently be supported).
Also, some adjustments to make things between flags consistent, namely
deprecate the Makefile variable RUMP_PCI_IOSPACE and don't require
userfeature.h to map 1:1 to the interfaces.
Includes contributions from Robert Millan.
2015-06-15 15:38:52 +00:00
pooka
fb308390f9
add mixerctl to userland utils
2015-06-15 11:20:18 +00:00
pooka
4e8e1eb1eb
fix snafu to enable umass component also for amd64
2015-06-13 23:33:20 +00:00
dholland
d94a1d6201
Punctuate properly.
2015-06-12 17:50:01 +00:00
pooka
4e4d7694bd
create /dev/{audio,sound,mixer,audioctl} -> foo0 symlinks
...
from Robert Millan <rmh@freebsd.org> via rumpkernel-users
2015-06-08 12:18:04 +00:00
pooka
844804c7f8
Allow device components to create symlinks in /dev
...
e.g. /dev/audio -> audio0
from Robert Millan <rmh@freebsd.org> via rumpkernel-users
2015-06-08 12:16:47 +00:00
pooka
65a710860e
Add a "default" alias for RUMP_NBCOMPAT, in case "default" and "all"
...
stop being the same thing in the future.
2015-06-03 14:40:11 +00:00
pooka
9322d6a704
add rump kernel component for the auich driver
...
contributed by Robert Millan <rmh@freebsd.org> via private email
2015-06-03 14:06:19 +00:00
pooka
439ccf317e
implement bus_dmamem_free()
...
from Robert Millan <rmh@freebsd.org> via rumpkernel-users
2015-06-03 13:55:42 +00:00
pooka
64f1a6830b
Demand that rumpcomp_userfeatures_pci.h is available for providing
...
information about the hypercall interface implementation.
2015-06-03 13:43:23 +00:00
pooka
57bf183be4
Rework how the external hypercalls are specified, more in the direction of
...
something general. I'm not sure if it's entirely general yet (since PCI
is the only place to use it), but at least a step in the right direction.
2015-06-03 13:41:56 +00:00
pooka
7a8f766478
Add "all" and "none" as acceptable RUMP_NBCOMPAT value aliases to
...
undefined and empty, respectively.
2015-06-03 10:49:14 +00:00
pooka
f70d97a184
Annual update of deleting one entry. At this rate the TODO will be
...
empty in 2038!
2015-06-03 10:23:08 +00:00
pooka
7c06b62e62
In case pagedaemon can't release any more memory, use kpause() instead
...
of cv_timedwait() on the pagedaemon condvar -- it's no use constantly
waking the pagedaemon up for new memory allocation attempts, as will
happen e.g. if new network connections are constantly pouring in.
2015-06-02 14:07:48 +00:00
hannken
d8868b1ee7
Change lfs from hash table to vcache.
...
- Change lfs_valloc() to return an inode number and version instead of
a vnode and move lfs_ialloc() and lfs_vcreate() to new lfs_init_vnode().
- Add lfs_valloc_fixed() to allocate a known inode, used by kernel
roll forward.
- Remove lfs_*ref(), these functions cannot coexist with vcache and
their commented behaviour is far away from their implementation.
- Add the cleaner lwp and blockinfo to struct ulfsmount so lfs_loadvnode()
may use hints from the cleaner.
- Remove vnode locks from ulfs_lookup() like we did with ufs_lookup().
2015-05-31 15:48:02 +00:00
pooka
1c07d29649
Add a rump kernel component for the tap device.
...
from Wei Liu <wei.liu2@citrix.com> via private email
2015-05-29 12:32:23 +00:00
pooka
8109843429
implement DIOCGMEDIASIZE, from Martin Lucina
2015-05-26 16:48:05 +00:00
pooka
0ba8e59f87
Implement fo_poll so that rump_sys_poll(stdout) works
...
more or less as expected.
from Martin Lucina <martin@lucina.net> via rumpkernel-users
2015-05-26 15:29:39 +00:00
ozaki-r
b71bd7bda7
Remove leftover IPX-related stuffs
...
No objection on tech-kern and tech-net.
2015-05-25 08:29:01 +00:00
pooka
521e7b5ba9
Add a rump kernel components for USB PCI host controllers.
2015-05-20 12:21:38 +00:00
pooka
1e2e59a64c
Rename usb_at_ugenhc.c to the more generic usb_at_hc.c now that
...
host controllers beyond ugenhc are attached.
2015-05-20 11:53:08 +00:00
pooka
65e29fe174
also attach usb@{e,o,u}hci
2015-05-20 11:51:32 +00:00
pooka
44fa683b9a
build dev_verbose.c
2015-05-20 11:22:54 +00:00
pooka
e63dc818ef
call loginit() later, a lot later
2015-05-20 11:02:54 +00:00
pooka
a757287dfa
Rewrite rules so that makesyscalls.sh will not be executed multiple
...
times in a parallel make.
Hopefully fixes sporadic build failures reported by Justin
2015-05-18 17:49:16 +00:00
pooka
412bc0ef8d
Add pciide_machdep_compat_intr_establish().
...
Used by ... would you believe pciide?
2015-05-17 13:51:31 +00:00
pooka
4bf92fe14f
Implement bus_space_read/write_multi() and bus_space_subregion().
...
Used by (at least) wdc.
2015-05-17 13:45:37 +00:00
pooka
c67798ece2
Autogenerate /dev/ldNx nodes based on which units attached instead of
...
hardcoding some arbitrary value for N.
2015-05-16 15:03:12 +00:00