Commit Graph

218200 Commits

Author SHA1 Message Date
macallan
5b4a4538c0 make this work on G5
from Phileas Fogg, interrupt fixup from me
2013-04-28 00:42:29 +00:00
jakllsch
37ee57142f remove trailing whitespace 2013-04-28 00:41:22 +00:00
joerg
d81d2afdeb Update to LLVM/Clang snapshot r180686. Allows building without cxxabi.h. 2013-04-28 00:41:00 +00:00
joerg
ee8b1e3e15 Typo 2013-04-28 00:14:14 +00:00
joerg
5f14cb8bb7 Optionally recurse into libc++. 2013-04-27 23:03:10 +00:00
joerg
ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
joerg
560a52b9a0 Retire ldexp sources. scalbn has the aliases. 2013-04-27 22:58:15 +00:00
christos
70417199d5 more needs-flag removed. 2013-04-27 22:56:39 +00:00
rkujawa
026c3432cd Note Thylacine USB support. 2013-04-27 22:42:08 +00:00
rkujawa
d425271cba Add slhci at zbus (Thylacine) and some USB HID devices. 2013-04-27 22:29:56 +00:00
rkujawa
5bc844d257 Add Thylacine USB Host Controller driver (just a zbus frontend to slhci).
Barely works due to combination of SL811HS brain damagae and our unforgiving
driver. At least most keyboards and mices are good. Of course on amiga WSCONS
kernel is needed to make any use of them.
2013-04-27 22:27:33 +00:00
pooka
92384a689b Make sure spin mutexes get allocated as spin mutexes (the hypervisor
asserts it now).
2013-04-27 22:26:57 +00:00
christos
9434c99ee1 more bogus number removal 2013-04-27 22:21:12 +00:00
christos
1da1754862 allocate dynamically 2013-04-27 22:12:42 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
joerg
89a508fbb5 Systematically include sys/featuretest.h when _NETBSD_SOURCE is used.
Some are redundant, but make verification with grep much easier.
2013-04-27 21:35:24 +00:00
joerg
e8c1e0eee9 Include sys/featuretest.h before using _NETBSD_SOURCE. 2013-04-27 21:24:27 +00:00
joerg
cce2130bb3 machine/ansi.h is included by sys/ansi.h. 2013-04-27 21:22:05 +00:00
christos
e3f6e1aa23 no more needs flag 2013-04-27 21:19:19 +00:00
christos
5f4b970906 allocate devices dynamically. 2013-04-27 21:18:42 +00:00
joerg
eb3cdf8761 Provide stubs for pthread_detach/pthread_join. 2013-04-27 20:36:47 +00:00
christos
8c31c1cdbd fix warning 2013-04-27 20:13:16 +00:00
joerg
bc802c017d Add a dummy s_scalbln.S to avoid the generic implementations of scalbln
and co on i386 and amd64. They are implemented next to scalbn and co.
2013-04-27 18:44:39 +00:00
joerg
877d9fe29e Add aliases to scalbn* as ldexp*, they are identical for FLT_RADIX=2. 2013-04-27 18:43:25 +00:00
joerg
5204c9072e Add aliases for scalbn* to ldexp, they are identical for FLT_RADIX=2. 2013-04-27 18:39:28 +00:00
joerg
d816b4de58 Use the correct register on AMD64 for the argument. 2013-04-27 18:36:41 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
christos
28b4efbeda turn off debugging 2013-04-27 18:17:37 +00:00
pooka
b0711f2cf4 nuke unused var 2013-04-27 17:35:10 +00:00
christos
00e9557175 ccd and cgd don't need flag 2013-04-27 17:22:58 +00:00
joerg
c3a587caac Move scalbnl back to s_scalbln.c to match the assembler implementations. 2013-04-27 17:20:36 +00:00
joerg
a3f958023b Casting is a not a valid way to check for overflow, so be explicit and
use the limit macros.
2013-04-27 17:19:47 +00:00
christos
5495875b76 ccd does not need flags anymore 2013-04-27 17:16:43 +00:00
christos
d4724c689e Add debugging info. 2013-04-27 17:13:50 +00:00
christos
b08b65c634 - no limit on the number of ccd devices.
- provide sysctl for getting information.
2013-04-27 17:13:32 +00:00
christos
c673655ecf one less kvm groveller. Use sysctl to get ccd info. 2013-04-27 17:12:36 +00:00
pooka
9dd496792d make the random hypercall more generic 2013-04-27 16:56:29 +00:00
joerg
4dfc9ad094 Use namespace.h. Don't redefine scalblnl on 64bit platforms. 2013-04-27 16:43:13 +00:00
pooka
b8f5ee1a3f roll mutex init hypercalls into one (one of them already took a flag anyway) 2013-04-27 16:32:56 +00:00
pooka
62745a330c move struct lwp forward decl before its first use. otherwise it's rather
pointless.  some whitespace landscaping too.
2013-04-27 16:05:54 +00:00
pooka
bd14d4eb65 wrap unportable register_t with a long. should do it in the front
of the house too, but at least this is a start.
2013-04-27 16:02:55 +00:00
tsutsui
48209c5742 Change one aprint_error_dev(9) to aprint_debug_dev(9) to avoid console spam.
My aue (BUFFALO LUA2-TX) generates a bunch of
"aue0: 1 usb errors on intr: IOERROR" errors during TRX,
but works without visible problems.
XXX this is not autoconf(9) message
2013-04-27 15:57:41 +00:00
pooka
439ef2016c * treat kern_malloc.c as an unreal allocator (it's so lightweight)
* get rid of the rumpuser_realloc() hypercall
* pass size to rumpuser_free()
2013-04-27 15:34:53 +00:00
pooka
5e77ea46d8 Let the includer figure out where to get stdint or equivalent from. 2013-04-27 15:32:36 +00:00
pooka
319110a96f Get rid of the rump__init() macro. it was never useful and just makes
debugging less obvious.
2013-04-27 15:13:11 +00:00
pooka
c05fab5d36 rumpuser_poll() is used only by sockin, so make the hypercall
private to that component.
2013-04-27 15:01:21 +00:00
pooka
93b95ff6a0 * integrate rumpuser_getversion() with the hypervisor initialization
* rename some identifiers to better match reality
2013-04-27 14:59:08 +00:00
pooka
693c3be679 remove prototypes for interfaces no longer provided 2013-04-27 14:02:17 +00:00
pooka
bc3aabc030 Try to make sure that the appropriate calls to mutex_enter() takes
a spin mutex (i.e. does not relinquish cpu context while trying to
take the mutex).

Bump the hypercall interface version number.  I'll be doing a bunch
of other cleanups to simplify the interface for the benefit of
alternative hypervisor implementations.  I'll be riding this bump
and doing a second one only after I'm finished with all of the
changes.
2013-04-27 13:59:46 +00:00
kardel
20899880c5 fix panic due to physaddr instead of offset being passed to ahd_dmamap_sync 2013-04-27 13:25:09 +00:00