use the verbose=2 boot monitor setting to get extensive output for debugging

This commit is contained in:
Erik van der Kouwe
2010-02-13 22:11:16 +00:00
parent df60646f98
commit ff835e0e35
6 changed files with 79 additions and 17 deletions

View File

@@ -82,4 +82,11 @@
#define BOOT_VERBOSE(x)
#endif
#ifdef _SYSTEM
#define DEBUG_PRINT(params, level) do { \
if (verboseboot >= (level)) kprintf params; } while (0)
#define DEBUGBASIC(params) DEBUG_PRINT(params, VERBOSEBOOT_BASIC)
#define DEBUGMAX(params) DEBUG_PRINT(params, VERBOSEBOOT_MAX)
#endif
#endif /* DEBUG_H */