diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-09-18 10:47:23 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-22 11:13:22 -0400 |
commit | d6728f301d7e6e31ba0ee2fa51ed4a24feab8860 (patch) | |
tree | ecd2513c252137d032ab726a289406fd1df93f75 /src/optionroms.c | |
parent | 0ebc29f9c4db27f7f0a9d3dcc49563811ce06546 (diff) | |
download | seabios-d6728f301d7e6e31ba0ee2fa51ed4a24feab8860.tar.gz |
add serial console support
Redirect int10 calls to serial console output.
Parse serial input and queue key events.
The serial console can work both as primary display
and in parallel to another vga display (splitmode).
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/optionroms.c')
-rw-r--r-- | src/optionroms.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/optionroms.c b/src/optionroms.c index 65f7fe0e..092393a5 100644 --- a/src/optionroms.c +++ b/src/optionroms.c @@ -432,12 +432,9 @@ vgarom_setup(void) run_file_roms("vgaroms/", 1, NULL); rom_reserve(0); - if (rom_get_last() == BUILD_ROM_START) - // No VGA rom found - return; - - VgaROM = (void*)BUILD_ROM_START; - enable_vga_console(); + if (rom_get_last() != BUILD_ROM_START) + // VGA rom found + VgaROM = (void*)BUILD_ROM_START; } void |