197638 Commits

Author SHA1 Message Date
matt
dfed083ad4 Since curlwp and curproc must always be non-NULL, remove the == NULL branches. 2011-02-09 18:24:44 +00:00
tsutsui
674f943685 Don't forget to build and install MI HIL man pages. 2011-02-09 15:31:30 +00:00
tsutsui
d57520da96 - pull MI HIL device man pages from OpenBSD
- remove obsolete hp300 ite, grf, and hil devices
2011-02-09 15:12:40 +00:00
bouyer
bde889cccb Fix build when GENFB is not there. 2011-02-09 15:02:00 +00:00
wiz
e033a66ef0 New sentence, new line. Sort SEE ALSO. Use Dq. Noun is "setup". Fix a Dd. 2011-02-09 14:37:55 +00:00
pooka
cf0dbcff8b more testies 2011-02-09 14:34:42 +00:00
pooka
dab4b449d7 Add test which checks rumpclient does not use fds 0-2 for its
internal purposes.
2011-02-09 14:32:45 +00:00
pooka
82aa883702 The following happens when sending mail with mutt via a rump
TCP/IP stack:

* mutt prepares to exec the smtp client: it forks and closes all
  file descriptors
* when the next networking syscall is done, rumpclient detects that
  the communication fd returned EBADF and does a reconnect,
  gets descriptor 0 for the socket and descriptor 1 for kqueue
* mutt opens the mail file and implicitly assumes it'll get 0-2,
  but in fact gets 2-4
* mutt execs the smtp agent which tries to read the mail from
  stdin (rumpclient communication socket) and fails

Even if mutt correctly did dup2() things would go south when trying
to communicate with the kernel server the next time, since rumpclient
would actually be talking with some mail body instead (well, it
could work, but in that case you'd need to write *really* weird
mails ;).

Hence, prevent rumpclient from using the special fd's 0-2 for its
purposes.

Should fix mutt problem reported by Alexander Nasonov.
2011-02-09 14:29:58 +00:00
tsutsui
33fa7ec7aa - update SYNOPSIS and SEE ALSO for wscons support
- remove descriptions about obsolete ioctl
2011-02-09 14:13:09 +00:00
tsutsui
5493296943 Add lists for ews4800mips and hp300 Xorg servers. 2011-02-09 13:41:00 +00:00
tsutsui
e96a78107f Add defintions for ews4800mips and hp300 Xorg servers. 2011-02-09 13:37:48 +00:00
jmcneill
960f1e30de if genfb is attached, hook into db_trap_callback to switch in and out of
polling mode as necessary
2011-02-09 13:24:23 +00:00
jmcneill
9204517c6d switch genfb to polling mode at shutdown 2011-02-09 13:19:53 +00:00
jmcneill
f24dfbb13c add vcons_{enable,disable}_polling and genfb_{enable,disable}_polling
functions, to switch between intr and polling modes when VCONS_DRAW_INTR
is defined
2011-02-09 13:19:18 +00:00
kefren
34493327dd use RT_ROUNDUP provided by net/route.h 2011-02-09 11:38:57 +00:00
pooka
a804f47907 Exterminate a bug I created in 2009. 2011-02-09 11:22:49 +00:00
rmind
bb9ae7c0c2 Restore historic SCCS IDs in the comments (were removed in previous commit).
Noted by wiz@.
2011-02-09 10:25:40 +00:00
pooka
79b560da8c Don't do highestFD check with USE_POLL. It provides no benefit
but causes a dependency between RLIMIT_NOFILE and rumphijack FDOFF.

christos ok
2011-02-09 09:46:59 +00:00
tsutsui
10c24972b3 NHIL is no more. 2011-02-09 09:32:49 +00:00
tsutsui
455d1e697c Remove leftover debug stuff. 2011-02-09 09:29:57 +00:00
haad
240ef7b2ab Fix libdm breakage on 64bit platforms. 2011-02-09 08:11:37 +00:00
dholland
c7df2d80f4 Fix broken build (hi Christos!) 2011-02-09 06:26:48 +00:00
schnoebe
431ec7cce7 List all the aliases supported for GPT partition types. 2011-02-09 05:11:15 +00:00
jmcneill
319b724dd2 Add VESA VBE/DDC EDID support for determining the monitor's preferred
video mode. "vesa on" will now select the preferred mode @ 8bpp if it can
be determined and is supported by the display adapter, otherwise it will
use 640x480 @ 8bpp.
2011-02-09 04:37:54 +00:00
jmcneill
0d6f289098 PRIx64 instead of llx for uint64_t format 2011-02-09 02:30:09 +00:00
agc
ff0d414d6f Make sure we include <inttypes.h> if we have it. From Rumko. 2011-02-09 00:59:23 +00:00
jmcneill
15ee4c2816 %zu for size_t, not %zd 2011-02-08 23:28:24 +00:00
jmcneill
3f11f2aa84 VCONS_DRAW_INTR changes:
- use softint instead of workqueue for drawing
- track scr_dirty with atomic_ops
2011-02-08 23:06:25 +00:00
christos
e95e36baec - WARNS ?= 4
- fix memory leaks
- fix error printing
- pass lint
- KNF
- constify
- ansify
2011-02-08 22:16:58 +00:00
plunky
9119e9c88f the default socket rcvbuf for L2CAP is only 4Kbytes which is only
2 and a bit ethernet packets. Check and increase SO_RCVBUF on startup
so that we have buffers for 10 complete packets, should solve a
reported problem with overruns at higher connection speeds (our L2CAP
does not have any flow control).

(the default can still be adjusted upwards using sysctl)
2011-02-08 21:59:50 +00:00
plunky
bc0aea6bfb check number of filters received against max possible 2011-02-08 21:43:45 +00:00
ahoka
4a22e1afa7 Add missing prototype for x86_genfb_mtrr_init to fix build.
Hi Jared!
2011-02-08 20:55:51 +00:00
rmind
9b6bd2d968 Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
2011-02-08 20:20:06 +00:00
haad
a1daaacf38 Fix build after libdm import sorry for breaking build. 2011-02-08 19:57:10 +00:00
pooka
8ffa45b220 Fix pasto, use GETSYSCALLS() where possible 2011-02-08 19:12:54 +00:00
plunky
6fea4fd6c5 newer pcc front end provides some definitions according to arch,
so provide the TARGMACH definition to the compiler here.

(makes no difference to the currently imported sources, but
will be easier for people wanting to try newer sources)
2011-02-08 18:26:25 +00:00
plunky
7349c9ffe7 use built-in macro ___STRING() rather than rolling our own 2011-02-08 18:14:00 +00:00
pooka
8331b66064 Make sure we can do host kevent since the -current (and recent nb5)
libc resolver uses it.  Error out in case of rump fd kevent (TODO).
Fixes one more problem pointed out by Alexander Nasonov.

Also, implement dup().
(TODO: implement it along the fcntl path too)
2011-02-08 14:45:35 +00:00
njoly
d3f0bc52cf Add missing debug keyword for libdm.so.0.0.debug. 2011-02-08 14:24:59 +00:00
pgoyette
4f8abcabc1 Use PRIu64 to fix build on amd64 (and presumably other 64-bit ports) 2011-02-08 13:58:54 +00:00
jmcneill
232459ad54 abuse config_interrupts to make sure we don't switch to 'intr' mode until
interrupts are enabled
2011-02-08 13:40:35 +00:00
jmcneill
8485f28760 add support for command buffering in vcons. still a WIP, same limitations
as async drawing (no ddb, needs interrupts). you can try it with options
VCONS_DRAW_INTR. as with async, there are still occasional glitches.
2011-02-08 12:45:04 +00:00
jym
576896857d FLOPPYPAD + ${MACHINE} instead of hardcoding amd64. 2011-02-08 12:25:36 +00:00
phx
c08a223c49 Added LevelOne NASCon and some Nettronix based devices. 2011-02-08 12:21:26 +00:00
pooka
0d0ce98254 add std dprint to fdcall 2011-02-08 12:20:11 +00:00
pooka
8e6ede8c05 Turn the "idle workers available" from a flag into a counter so
that we can finally avoid all races (*knock knock*).
2011-02-08 11:21:22 +00:00
tsutsui
5f0017864b Disable more file-system and pseudo-devices to shrink install floppies. 2011-02-08 11:09:14 +00:00
jmcneill
7a38046c74 add a 'setmode' callback to genfb and use it to setup write-combining
MTRRs on x86 whenever switching to WSDISPLAYIO_MODE_EMUL
2011-02-08 10:52:56 +00:00
rmind
8adab6527d Build fix. 2011-02-08 10:45:40 +00:00
pooka
deba567af1 oh no, more tests 2011-02-08 10:13:13 +00:00