diff options
author | Peter Grehan <grehan@FreeBSD.org> | 2016-05-27 06:30:35 +0000 |
---|---|---|
committer | Peter Grehan <grehan@FreeBSD.org> | 2016-05-27 06:30:35 +0000 |
commit | 205b961b15c4de4789f484ddd795b6a42d1b1eac (patch) | |
tree | d8d5b95e3d4e75c7ed8f9b706473818eb1c9a273 /bhyverun.c | |
parent | 361da738642363e66a65852a8ddaa3e19b8e4797 (diff) | |
download | src-205b961b15c4de4789f484ddd795b6a42d1b1eac.tar.gz src-205b961b15c4de4789f484ddd795b6a42d1b1eac.zip |
Initial bhyve native graphics support.
This adds emulations for a raw framebuffer device, PS2 keyboard/mouse,
XHCI USB controller and a USB tablet.
A simple VNC server is provided for keyboard/mouse input, and graphics
output.
A VGA emulation is included, but is currently disconnected until an
additional bhyve change to block out VGA memory is committed.
Credits:
- raw framebuffer, VNC server, XHCI controller, USB bus/device emulation
and UEFI f/w support by Leon Dang
- VGA, console/g, initial VNC server by tychon@
- PS2 keyboard/mouse jointly done by tychon@ and Leon Dang
- hypervisor framebuffer mem support by neel@
Tested by: Michael Dexter, in a number of revisions of this code.
With the appropriate UEFI image, FreeBSD, Windows and Linux guests can
installed and run in graphics mode using the UEFI/GOP framebuffer.
Notes
Notes:
svn path=/projects/bhyve_graphics/; revision=300829
Diffstat (limited to 'bhyverun.c')
-rw-r--r-- | bhyverun.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bhyverun.c b/bhyverun.c index bfa135b16cce..e62dc6887309 100644 --- a/bhyverun.c +++ b/bhyverun.c @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include "bhyverun.h" #include "acpi.h" +#include "atkbdc.h" #include "inout.h" #include "dbgport.h" #include "fwctl.h" @@ -901,6 +902,7 @@ main(int argc, char *argv[]) init_mem(); init_inout(); + atkbdc_init(ctx); pci_irq_init(ctx); ioapic_init(ctx); |