seoul: make input available via bios

Enables us to interact with GRUB bootloader during early boot.

Issue #1702
This commit is contained in:
Alexander Boettcher 2015-09-11 16:56:37 +02:00 committed by Christian Helmuth
parent 4da7e89d6b
commit 21e86227bc
5 changed files with 7 additions and 5 deletions

View File

@ -1 +1 @@
06deb9c426754ba1ba028e056bcd33a1b47d2d0b ac479be8608aa7923053f4f12f05de533209b848

View File

@ -3,8 +3,8 @@ VERSION := git
DOWNLOADS := seoul.git DOWNLOADS := seoul.git
URL(seoul) := https://github.com/alex-ab/seoul.git URL(seoul) := https://github.com/alex-ab/seoul.git
# branch genode_15_08 - containing smp and vbios patches # branch genode_15_08
REV(seoul) := 5522d06563fa09a532e0e69e845866bd21605fa2 REV(seoul) := 2861f495ddcbf714c8b7944ce1c39985a164348c
DIR(seoul) := src/app/seoul DIR(seoul) := src/app/seoul
# #

View File

@ -76,7 +76,7 @@ if {!$use_multiboot} {
} }
puts $vm_cfg_fd { puts $vm_cfg_fd {
<vbios_keyboard/> <vbios_keyboard host_keyboard="0x10000"/>
<vbios_mem/> <vbios_mem/>
<vbios_time/> <vbios_time/>
<vbios_reset/>} <vbios_reset/>}

View File

@ -336,6 +336,8 @@ void Vancouver_console::entry()
} }
for (int i = 0, num_ev = input.flush(); i < num_ev; i++) { for (int i = 0, num_ev = input.flush(); i < num_ev; i++) {
if (!fb_active) fb_active = true;
Input::Event *ev = &ev_buf[i]; Input::Event *ev = &ev_buf[i];
/* update mouse model (PS2) */ /* update mouse model (PS2) */

View File

@ -88,7 +88,7 @@ MODEL_INFO(drive, "sigma0drive", "controller", "port")
MODEL_INFO(vbios_multiboot, "modaddr", "lowmem") MODEL_INFO(vbios_multiboot, "modaddr", "lowmem")
MODEL_INFO_NO_ARG(vbios_disk) MODEL_INFO_NO_ARG(vbios_disk)
MODEL_INFO_NO_ARG(vbios_keyboard) MODEL_INFO(vbios_keyboard, "host_keyboard")
MODEL_INFO_NO_ARG(vbios_mem) MODEL_INFO_NO_ARG(vbios_mem)
MODEL_INFO_NO_ARG(vbios_time) MODEL_INFO_NO_ARG(vbios_time)
MODEL_INFO_NO_ARG(vbios_reset) MODEL_INFO_NO_ARG(vbios_reset)