Commit Graph

1081 Commits

Author SHA1 Message Date
pooka
065afcb61a Minimize unnecessary differences in rump. 2010-01-13 01:53:38 +00:00
pooka
8bb03ea96b Add a few symbols used by the tty code. 2010-01-13 01:18:51 +00:00
pooka
e0714677a2 cgd is attached via the module interface now instead of pseudodevs. 2010-01-13 00:31:57 +00:00
pooka
a25612b2d0 If RUMP_VERBOSE is set in the env, set boothowto to AB_VERBOSE. 2010-01-13 00:07:40 +00:00
stacktic
1b7d9846f4 Fixed typo. 2010-01-11 19:19:57 +00:00
pooka
2d1ed1666f decend into ums, ukbd and wscons 2010-01-11 02:15:38 +00:00
pooka
6a31202221 Support ums (usb mouse) and ukbd (usb keyboard) drivers in rump.
(both components include tty support and uhid currently.  they should
be split out to separate ones.  i'll do that soon'ish).
2010-01-11 02:15:20 +00:00
pooka
20d948900e Add wscons rump component. 2010-01-11 02:12:51 +00:00
pooka
4f48ec16a6 Add a simple hack to make interrupt pipes work (can't close them
yet ... except with SIGINT.  "muah").
2010-01-10 22:13:18 +00:00
pooka
c73aaa6bc2 pass a few more requests through to ugen 2010-01-10 21:30:16 +00:00
martin
693845d2c3 Add a new optional function device_register_post_config(), symmetric to
device register, called after config is done with a device.
Only used if an arch defines  __HAVE_DEVICE_REGISTER_POSTCONFIG.
2010-01-10 13:42:34 +00:00
pooka
d52e469d3e pmf_init() 2010-01-09 16:32:57 +00:00
pooka
04d095d3c0 Include kern_pmf.c in rumpdev. 2010-01-09 16:29:32 +00:00
dyoung
cd6e1fbf91 Expand PMF_FN_* macros. 2010-01-08 19:53:10 +00:00
elad
3313b745e3 allow rump to build 2009-12-25 01:56:43 +00:00
stacktic
f3ec34d58f Fixed ukfs build on non-NetBSD system. 2009-12-23 17:17:59 +00:00
stacktic
5074dd48b8 Fixed build when using unreal allocators. 2009-12-23 17:16:40 +00:00
pooka
e1bbdeb452 regen: INRENAME 2009-12-23 01:09:57 +00:00
pooka
d18276c5b5 Fix block device open for non-REG backends. 2009-12-22 14:18:33 +00:00
pooka
c5aba687b9 Create sashimi nodes too. 2009-12-22 13:34:35 +00:00
pooka
a942008121 Include tty driver here for now to make this usable. Will disappear
from here later when I figure out the proper place.
(I'd commit it as a separate component, but I can't figure out how
to classify it, since it's logically none of vfs/net/dev)
2009-12-20 19:44:21 +00:00
pooka
70b07cba47 +libulpt 2009-12-20 15:43:57 +00:00
pooka
fe1700b9bf Add ucom@usb support. This uses the uplcom hardware driver currently
(because that's the hardware I happen to have), but others can just
be plugged in if a need arises.
2009-12-20 15:43:13 +00:00
pooka
2960de1123 Improve bulk transfer implementation by adding more complete
support for short reads.

Ironically, in some cases this works *worse* than the previous
incorrect implementation which silently ignored short reads.
Namely, I can now probe my sd@umass USB stick only once without
having to replug it.  Some ugen "bus reset" is probably needed,
but what exactly is unknown, and manual handjobs will have to
suffice for now.
2009-12-20 15:32:46 +00:00
pooka
3a5d99a092 add comment about prospective perils to previous 2009-12-20 13:56:36 +00:00
pooka
3b2dd63c4d pthread_cond_timedwait (and therefore rumpuser_cv_timedwait) wants
an absolute time instead of a delta.  Fix bug which caused timed
tsleeps to always wake up immediately (unless the system clock was
around "0", which was not very probable ;).
2009-12-20 13:49:36 +00:00
pooka
c3ed0371c2 Replace totally handwritten ioconf.c with only a semi handwritten
one, partially now generated with config(1).
2009-12-19 11:55:23 +00:00
pooka
af0de61919 get rid of unnecessary headers 2009-12-19 11:48:30 +00:00
pooka
13d2acdf04 define USBVERBOSE 2009-12-19 11:48:17 +00:00
pooka
b90ec0f9fd purge some stuff not used by this component anymore 2009-12-19 11:29:26 +00:00
pooka
33d0c9ec96 I got a report about this not compiling on mips64. While I could
not repeat the problem and while this should not be used at all on
mips64, the real fix is a little diablo in the details.  So hack
around it for now (yes, it results in only half of the locks being
used on 64bit platforms.  no biggie for a hack).
2009-12-18 22:37:18 +00:00
pooka
e7951bb626 Add devnull.c to sources (forgot to do it yesterday).
Thanks to gson for the ping.
2009-12-17 12:49:22 +00:00
pooka
f8bc172f73 * implement rump_vfs_makeonedevnode(), where the interface for creating
multiple nodes doesn't make sense: e.g. /dev/null would've had to
  be created with ("/dev/nul", 'l', 1)
* implement said /dev/null (just for show)
2009-12-17 00:29:46 +00:00
pooka
1ff647bdce update to newnewvers.sh usage 2009-12-16 21:25:55 +00:00
pooka
4304733e2c print spammy banner in spammy bootstrap 2009-12-16 20:59:04 +00:00
pooka
590ffe150c Generate vers.c and include it in the kernel component. 2009-12-16 20:57:15 +00:00
pooka
bea06e393f If zeroing len == 0, return immediately.
(kmem_alloc() doesn't like being called with size == 0)
2009-12-16 16:50:49 +00:00
pooka
aef2ecc09f add component for usb printers (ulpt driver) 2009-12-15 15:52:30 +00:00
pooka
5f20163f32 Support more stuff, e.g. mapping alternate interface setting to the
correct ugen ioctl.
2009-12-15 15:50:37 +00:00
matt
9ca0818a05 Make librump play with mips nicely. Define ARCH_ELFSIZE for mips to be 32.
This works for N64 kernels because objcopy them to be 32bit to the bootloaders
can handle them.
2009-12-14 21:19:23 +00:00
mrg
f7f0bc40ae rename LD32DIR to MLIBDIR. 2009-12-13 08:25:20 +00:00
pooka
fbc989bbef Use linker script to make __start/stop_link_set_modules be present
in libs built with binutils >=2.19.  This is a less error-prone
method than the previous where components had to be tagged in the
Makefile as modules (and if they weren't, things broke.  and vice
versa).
2009-12-12 17:10:19 +00:00
pooka
eede817dfd Include component.c instead of dummy.c so that domain constructors
get properly called.
2009-12-11 16:34:50 +00:00
pooka
72a8c45e4b Since rumpfs is no longer a module, remove rump_module from the
list of sources.  This, in a rather curious twist of linker magic,
broke anything using rump file systems when librumpvfs was compiled
with LIBDPLIBS pointing to librump.

Thanks to the several people who reported the problem, and especially
Arnaud Ysmal for noticing the paramount symptom that components
compiled in src/lib did not work while ones compiled in sys/rump/librump
did work.
2009-12-09 15:38:07 +00:00
haad
303ed12957 Add RUMP_SYS_OPEN define to replace open calls with their RUMP version. 2009-12-09 00:23:28 +00:00
pooka
7f79b0fadd Get rid of useless stubs. 2009-12-09 00:11:21 +00:00
stacktic
4d23b928bc Whitespace. 2009-12-08 08:18:24 +00:00
stacktic
f3098800b6 Fixed build without module bootstrap 2009-12-08 08:12:49 +00:00
pooka
32a3b13698 add comment 2009-12-07 17:38:16 +00:00
pooka
09aa8689fb Cast Oh Kath Ra once every second. 2009-12-05 22:44:08 +00:00