diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-03-26 19:21:20 +0000 |
---|---|---|
committer | <> | 2014-05-08 15:03:54 +0000 |
commit | fb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch) | |
tree | c2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/Devices/PC/BIOS/print.c | |
parent | 58ed4748338f9466599adfc8a9171280ed99e23f (diff) | |
download | VirtualBox-master.tar.gz |
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/Devices/PC/BIOS/print.c')
-rw-r--r-- | src/VBox/Devices/PC/BIOS/print.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/VBox/Devices/PC/BIOS/print.c b/src/VBox/Devices/PC/BIOS/print.c index 7d549949..e8a82d94 100644 --- a/src/VBox/Devices/PC/BIOS/print.c +++ b/src/VBox/Devices/PC/BIOS/print.c @@ -47,8 +47,6 @@ // Debug printf support /* Redirect INFO output to backdoor logging port. */ -#define PANIC_PORT 0x400 -#define PANIC_PORT2 0x401 #define INFO_PORT 0x504 #define DEBUG_PORT 0x403 @@ -154,17 +152,14 @@ void bios_printf(uint16_t action, const char *s, ...) bx_bool in_format; int i; uint16_t arg, nibble, hibyte, format_width, hexadd; - va_list args; - + va_list args; + va_start( args, s ); - + in_format = 0; format_width = 0; - + if ((action & BIOS_PRINTF_DEBHALT) == BIOS_PRINTF_DEBHALT) { -#if BX_VIRTUAL_PORTS - outb(PANIC_PORT2, 0x00); -#endif bios_printf (BIOS_PRINTF_SCREEN, "FATAL: "); } |