Commit Graph

197875 Commits

Author SHA1 Message Date
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
pooka 5e6b266d97 Time to start adding tests for the routing code to make that part
of the kernel more approachable.

Begin the task with an xfail test for PR kern/40455.
2011-02-08 10:11:28 +00:00
wiz b3b821c790 Fix typos. 2011-02-08 09:51:55 +00:00
wiz 49efa429e3 Improve a bit. 2011-02-08 09:49:07 +00:00
wiz ce2e52a4f1 New sentence, new line. Bump date for previous. 2011-02-08 09:35:32 +00:00
cegger 849bcd741c add PS/2 registers from synaptics spec:
PMS_RESET_WRAP_MODE, PMS_SET_WRAP_MODE, PMS_ACK, PMS_ERROR and PMS_RESEND

while here use #define<tab> consistently.
2011-02-08 07:32:47 +00:00
matt b3b635b9aa Add IPI/cpu_send_ipi to intrsw. 2011-02-08 06:28:56 +00:00
matt 1ee018bbc3 Add MPC85xx variants.
Move to having a common kernel for all MPC85xx variants (CADMUS/PIXIS still
remain a problem).
2011-02-08 06:22:29 +00:00
matt ccada5e83b Allow code to allow inclusive/exclusive locators for subdevices.
(uses on mpc85xx to match on SVRs or not match on SVRs).
2011-02-08 06:21:03 +00:00
matt 065e8fe680 Add P2020/P2010 truth table definition.
Remove trailing whitespace.
2011-02-08 06:19:13 +00:00
matt 48389a60f2 Add more MPC85xx SVRs.
Fix/add debug register definitions.
2011-02-08 06:18:04 +00:00
matt 3d93f894a9 Add some P2020 / MPC856x definitions. 2011-02-08 06:16:59 +00:00
matt c33b602737 Add MPC8555/41, MPC8568/67, and P2020 variations. 2011-02-08 06:16:03 +00:00
matt 3d2bf50390 Powerpc send_ipi use ci_cpuid, not cpu_index 2011-02-08 06:14:50 +00:00