diff mbox

[07/14] pcbios: enable debug output for debug.

Message ID 1254305929-14993-8-git-send-email-yamahata@valinux.co.jp
State Superseded
Headers show

Commit Message

Isaku Yamahata Sept. 30, 2009, 10:18 a.m. UTC
enable debug output for debug.
doen't enable DEBUG_ATA because it causes qemu SEGV.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
---
 rombios.c |   16 ++++++++--------
 rombios.h |    2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)
diff mbox

Patch

diff --git a/rombios.c b/rombios.c
index 6efd5d7..fb4dce7 100644
--- a/rombios.c
+++ b/rombios.c
@@ -125,15 +125,15 @@ 
 #include "rombios.h"
 
 #define DEBUG_ATA          0
-#define DEBUG_INT13_HD     0
-#define DEBUG_INT13_CD     0
-#define DEBUG_INT13_ET     0
-#define DEBUG_INT13_FL     0
-#define DEBUG_INT15        0
+#define DEBUG_INT13_HD     1
+#define DEBUG_INT13_CD     1
+#define DEBUG_INT13_ET     1
+#define DEBUG_INT13_FL     1
+#define DEBUG_INT15        1
 #define DEBUG_INT16        0
 #define DEBUG_INT1A        0
-#define DEBUG_INT74        0
-#define DEBUG_APM          0
+#define DEBUG_INT74        1
+#define DEBUG_APM          1
 
 #define BX_CPU           3
 #define BX_USE_PS2_MOUSE 1
@@ -151,7 +151,7 @@ 
 #define BX_MAX_ATA_DEVICES      (BX_MAX_ATA_INTERFACES*2)
 
 #define BX_VIRTUAL_PORTS 1 /* normal output to Bochs ports */
-#define BX_DEBUG_SERIAL  0 /* output to COM1 */
+#define BX_DEBUG_SERIAL  1 /* output to COM1 */
 
    /* model byte 0xFC = AT */
 #define SYS_MODEL_ID     0xFC
diff --git a/rombios.h b/rombios.h
index dbf3bd3..e1e3e6e 100644
--- a/rombios.h
+++ b/rombios.h
@@ -26,7 +26,7 @@ 
 #else
 #  define BX_ROMBIOS32     0
 #endif
-#define DEBUG_ROMBIOS    0
+#define DEBUG_ROMBIOS    1
 
 #define PANIC_PORT  0x400
 #define PANIC_PORT2 0x401