rombios/debug: Reduce verbosity of rombios
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 6 Aug 2013 13:48:40 +0000 (14:48 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 8 Aug 2013 11:03:24 +0000 (12:03 +0100)
Default builds of Qemu have the Bochs debug port logging #ifdef'd out, so
remove all the completely wasted VMExits

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
tools/firmware/rombios/rombios.h

index 93d12a489fdd1e77f2a91f1432c2f4582a3f0604..0308a18f29ef3a425314f58fbe5cbe063e52c7d2 100644 (file)
 // per-device basis. Debug info are sent only in debug mode
 #if DEBUG_ROMBIOS
 #  define BX_DEBUG(format, p...)  bios_printf(BIOS_PRINTF_INFO, format, ##p)
+#  define BX_INFO(format, p...)   bios_printf(BIOS_PRINTF_INFO, format, ##p)
 #else
 #  define BX_DEBUG(format, p...)
+#  define BX_INFO(format, p...)
 #endif
-#define BX_INFO(format, p...)   bios_printf(BIOS_PRINTF_INFO, format, ##p)
 #define BX_PANIC(format, p...)  bios_printf(BIOS_PRINTF_DEBHALT, format, ##p)
 
 #define ACPI_DATA_SIZE    0x00010000L