197638 Commits

Author SHA1 Message Date
chs
1bb795ff6c move macros for validating fs/gs to segments.h and use them
in the linux32 code as well.
2011-02-07 03:54:45 +00:00
jakllsch
4abad0c82d Third argument of MODULE() is typically a string literal.
Moreover it (at least sometimes) didn't build otherwise.
2011-02-07 03:14:28 +00:00
jakllsch
f9880b2188 Make this build.
Also, the previous commit contanined "unintended" functional changes I'm
going to ignore.
2011-02-07 03:03:16 +00:00
jmcneill
3670180a8a %d -> %zd for size_t printf format 2011-02-07 02:57:49 +00:00
christos
7b5e4e85d3 KNF, no functional changes intended. 2011-02-07 02:06:20 +00:00
dholland
b0b5abdaa0 Fix typo, from Henning Petersen in PR 44513. 2011-02-07 01:37:12 +00:00
christos
ce3fa327b8 provide __arraycount() if not there. 2011-02-07 00:26:27 +00:00
jmcneill
5efc85b67e - add support for using compressed images as splash images
- retire SPLASHSCREEN_PROGRESS and SPLASHSCREEN_IMAGE options
2011-02-06 23:25:16 +00:00
jmcneill
86ef644484 add support for passing image files to the kernel with the 'splash' keyword:
vesa on;splash /netbsd.jpg;boot -z
2011-02-06 23:16:05 +00:00
jmcneill
4f25757c6e add BI_MODULE_IMAGE boot module type 2011-02-06 23:14:04 +00:00
jmcneill
4ed3c0a866 add a public domain image decoder 2011-02-06 23:13:04 +00:00
njoly
5867fbf60a Regen for MPMan. 2011-02-06 23:11:54 +00:00
njoly
3859919bd4 Add MPMan to the vendor list. 2011-02-06 23:11:11 +00:00
pooka
f5d3a9ff38 don't use __arraycount in tools 2011-02-06 23:03:02 +00:00
pooka
b915a641c8 update macro names to match new ones
(i don't know why they changed, just fixing the build)
2011-02-06 21:38:09 +00:00
pooka
15fa3c8c84 Support query of the partition size in case underlying device is
a wedge.  This still lacks the proplibistic query of the sector
size and just assumes 512.  It's good that we make asking a file's
size as simple as requiring one stat(), one open() and three (3)
different ioctls plus some proplist mumbojumbo.  I'm surprised it's
available at all by means other than #wish.

code mostly from Taylor R Campbell, rant from me.
2011-02-06 21:05:53 +00:00
jmmv
3b500cc2c3 Fix the 'test' target to force atf to use its own files from DESTDIR instead
of the installed ones.  This is achieved by overriding all ATF_* environment
variables and making them point inside DESTDIR.
2011-02-06 19:38:48 +00:00
jmmv
773d35b30a Add missing DPADD on libatf-c.a. Spotted by Garrett Cooper. 2011-02-06 19:34:20 +00:00
dyoung
2158ec89af Delete unnecessary casts to void *. No functional change intended. Same
assembly generated before and after this change.
2011-02-06 19:12:55 +00:00
pooka
eb725c2168 Call daemon() later to make sure there is a listening socket by
the time the foreground process exits.

discussed with mrg.
2011-02-06 19:00:53 +00:00
plunky
590bad2347 respond to L2CAP Information requests 2011-02-06 18:50:59 +00:00
pooka
c221725e98 librumphijack build infra 2011-02-06 18:47:55 +00:00
pooka
fbc821a08c Add a simple test for the purpose of making sure rumphijack works
on -current in addition to 5.x.  The test serves a simple index.html
on a hijacked bozohttpd and checks the file can be retrieved.
2011-02-06 18:44:29 +00:00
tsutsui
f73265d5d8 Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.
- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
  all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
  should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
  and I can't confirm that 362 and 382 actually have SGC bus.
  (I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
  once after keycode with NoSymbol problem is addressed.
  (We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
  cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
  grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
2011-02-06 18:40:55 +00:00
tsutsui
9af8da4eb7 Note NetBSD/hp300 wscons. 2011-02-06 18:38:01 +00:00
tsutsui
0bd3f40c4b Initially generate hildevs_data.h from hildevs. 2011-02-06 18:34:52 +00:00
tsutsui
a9f8e3a76c Add NetBSD's RCS Id. 2011-02-06 18:32:55 +00:00
christos
27eb1769a9 use unsigned char instead of uint8_t, easier for portability 2011-02-06 18:28:22 +00:00
tsutsui
b04b7da893 Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.
- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
  all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
  should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
  and I can't confirm that 362 and 382 actually have SGC bus.
  (I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
  once after keycode with NoSymbol problem is addressed.
  (We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
  cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
  grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
2011-02-06 18:26:51 +00:00
pooka
627ff529aa Fix a race condition in the worker thread caching logic: if we got
two or more syscall requests before any worker thread ran, we might
not have enough threads to handle the requests.  In some scenarios
this could lead to a deadlock.
2011-02-06 18:25:48 +00:00
bouyer
28f32144bc wm_gmii_reset(): restore generic reset delays to what they were before
rev 1.186. This makes the following hardware find its PHY again, and I can't
see how these larger delays could be a problem for other hardware:

wm0 at pci6 dev 7 function 0: Intel i82541GI 1000BASE-T Ethernet, rev. 5
wm0: interrupting at ioapic2 pin 0, event channel 5
wm0: 32-bit 66MHz PCI bus
wm0: 65536 word (16 address bits) SPI EEPROM
wm0: Ethernet address 00:13:72:54:ee:13
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
2011-02-06 16:23:00 +00:00
pooka
b5dd289bbd make it possible to specify client connection retry model in
RUMPHIJACK_RETRY
2011-02-06 15:48:20 +00:00
pooka
065ac12ba8 Add another connection retry model which simply does exit(1) if
the connection is severed.
(mostly for tests so that everything can be hooked to rump_server's exit)
2011-02-06 15:43:20 +00:00
pooka
9f3861f636 Make sure to close parent's server communication socket after fork. 2011-02-06 15:41:37 +00:00
haad
a8805143c7 Revert my fix. 2011-02-06 14:29:25 +00:00
tsutsui
7f708326a6 Remove trailing TABs. 2011-02-06 14:26:09 +00:00
pooka
c4359a17f8 be kinder about kqueue()
(but paradoxically omit the surprise)
2011-02-06 13:05:19 +00:00
wiz
daf77513cf Put -l compatibility note in STANDARDS section. 2011-02-06 12:49:32 +00:00
darcy
d87812693f Add -l option to copy a tree as links.
Non-standard option similar to Gnutools cp(1)
Approved by core.
2011-02-06 12:37:48 +00:00
njoly
0913e1dac9 Do Skip device checks, which ends up parsing fstab, when working on a
filesystem image with -F option set.
2011-02-06 12:02:59 +00:00
tsutsui
920e84bce6 - adjust a comment for frodo (362 doesn't have frodo)
- whitespace nits
2011-02-06 06:47:15 +00:00
tsutsui
16eec029a7 Regen from diodevs rev 1.13:
> Pull description about TurboVRX ("tigershark") display from OpenBSD.
2011-02-06 04:06:58 +00:00
tsutsui
dc87ed5261 Pull description about TurboVRX ("tigershark") display from OpenBSD. 2011-02-06 04:06:11 +00:00
tsutsui
e61d973507 RENASSIANCE -> RENAISSANCE 2011-02-06 03:53:25 +00:00
tsutsui
351a48811c Regen from diodevs rev 1.12:
> RENASSIANCE -> RENAISSANCE
2011-02-06 03:51:58 +00:00
tsutsui
0aed283d11 RENASSIANCE -> RENAISSANCE 2011-02-06 03:51:22 +00:00
yamt
dd0251ed9d add a directory which i forgot to add with sys/modules/Makefile rev.1.60 2011-02-06 02:28:50 +00:00
christos
6f4121938f Add the actual function files. From FreeBSD via Stathis Kamperis 2011-02-06 01:53:38 +00:00
haad
46aad63040 Putter depends on puffs add missing dependience. 2011-02-06 01:28:16 +00:00
joerg
48360965f3 Add LLVM and clang build system. It is enabled by MKLLVM=yes.
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
2011-02-06 01:13:42 +00:00