From 131affc05a81d19193391263fd7890447ee44d09 Mon Sep 17 00:00:00 2001 From: Pattrick Hueper Date: Sat, 14 Mar 2009 15:43:28 +0000 Subject: [PATCH] use CONFIG_YABEL_DEBUG_FLAGS when setting debug_flags Signed-off-by: Pattrick Hueper Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/coreboot-v3@1149 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- util/x86emu/yabel/biosemu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util/x86emu/yabel/biosemu.c b/util/x86emu/yabel/biosemu.c index 27387d04f0..059ac04588 100644 --- a/util/x86emu/yabel/biosemu.c +++ b/util/x86emu/yabel/biosemu.c @@ -67,9 +67,12 @@ biosemu(u8 *biosmem, u32 biosmem_size, struct device * dev, unsigned long rom_ad u8 *rom_image; int i = 0; #ifdef DEBUG - debug_flags = DEBUG_PRINT_INT10 | DEBUG_PNP | DEBUG_PMM | DEBUG_INTR; + debug_flags = 0;//DEBUG_PRINT_INT10 | DEBUG_PNP | DEBUG_INTR | DEBUG_CHECK_VMEM_ACCESS | DEBUG_MEM | DEBUG_IO; // | DEBUG_CHECK_VMEM_ACCESS | DEBUG_MEM | DEBUG_IO; // | DEBUG_TRACE_X86EMU | DEBUG_JMP; + + /* use CONFIG_YABEL_DEBUG_FLAGS, too... */ + debug_flags |= CONFIG_YABEL_DEBUG_FLAGS; #endif if (biosmem_size < MIN_REQUIRED_VMEM_SIZE) { printf("Error: Not enough virtual memory: %x, required: %x!\n",