summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPattrick Hueper <phueper@hueper.net>2009-03-17 14:08:03 +0000
committerPattrick Hueper <phueper@hueper.net>2009-03-17 14:08:03 +0000
commitbece997519005157607d8214571cffe0b90213bc (patch)
treec6dd9d2a65265773b0344369997e59f8813910da
parentc6ffdb6c17c540bf4a41053465a6e4b26b5b0aac (diff)
downloadcoreboot-bece997519005157607d8214571cffe0b90213bc.tar.gz
coreboot-bece997519005157607d8214571cffe0b90213bc.tar.bz2
coreboot-bece997519005157607d8214571cffe0b90213bc.zip
update documentation of yabel debug flags
Signed-off-by: Pattrick Hueper <phueper@hueper.net> Acked-by: Joseph Smith <joe@settoplinux.org> git-svn-id: svn://coreboot.org/repository/coreboot-v3@1152 f3766cd6-281f-0410-b1cd-43a5c92072e9
-rw-r--r--util/x86emu/yabel/debug.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/util/x86emu/yabel/debug.h b/util/x86emu/yabel/debug.h
index 987029afc6d9..ee14dfd13c16 100644
--- a/util/x86emu/yabel/debug.h
+++ b/util/x86emu/yabel/debug.h
@@ -35,6 +35,28 @@ extern void x86emu_dump_xregs(void);
static inline void clr_ci(void) {};
static inline void set_ci(void) {};
+/* Set CONFIG_YABEL_DEBUG_FLAGS is a binary switch that allows you
+ * to select the following items to debug. 1=on 0=off. After you
+ * decide what you want to debug create the binary value, convert to hex
+ * and set the Option (Ex. CONFIG_YABEL_DEBUG_FLAGS = 0x31FF //Debug All).
+ *
+ * |-DEBUG_JMP - print info about JMP and RETF opcodes from x86emu
+ * ||-DEBUG_TRACE_X86EMU - print _all_ opcodes that are executed by x86emu (WARNING: this will produce a LOT of output)
+ * |||-Currently unused
+ * ||||-Currently unused
+ * |||||-Currently unused
+ * ||||||-DEBUG_PNP - Print Plug And Play access made by option rom
+ * |||||||-DEBUG_DISK - Print Disk I/O related messages, currently unused
+ * ||||||||-DEBUG_PMM - Print messages related to POST Memory Manager (PMM)
+ * |||||||||-DEBUG_VBE - Print messages related to VESA BIOS Extension (VBE) functions
+ * ||||||||||-DEBUG_PRINT_INT10 - let INT10 (i.e. character output) calls print messages to Debug output
+ * |||||||||||-DEBUG_INTR - Print messages related to interrupt handling
+ * ||||||||||||-DEBUG_CHECK_VMEM_ACCESS - Print messages related to accesse to certain areas of the virtual Memory (e.g. BDA (BIOS Data Area) or Interrupt Vectors)
+ * |||||||||||||-DEBUG_MEM - Print memory access made by option rom (NOTE: this also includes accesses to fetch instructions)
+ * ||||||||||||||-DEBUG_IO - Print I/O access made by option rom
+ * 11000111111111 - Max Binary Value, Debug All (WARNING: - This could run for hours)
+ */
+
#define DEBUG_IO 0x1
#define DEBUG_MEM 0x2
// set this to print messages for certain virtual memory accesses (Interrupt Vectors, ...)