86 #define BIOS_WARNING 4
100 #define BIOS_NOTICE 5
160 #ifndef __ASSEMBLER__
166 #define BIOS_LOG_PREFIX_PATTERN "[%.5s] "
167 #define BIOS_LOG_PREFIX_MAX_LEVEL BIOS_SPEW
190 #define BIOS_LOG_ESCAPE_PATTERN "\x1b[%sm"
191 #define BIOS_LOG_ESCAPE_RESET "\x1b[0m"
212 #define BIOS_LOG_MARKER_START 0x10
213 #define BIOS_LOG_MARKER_END (BIOS_LOG_MARKER_START + BIOS_LOG_PREFIX_MAX_LEVEL)
214 #define BIOS_LOG_IS_MARKER(c) ((c) >= BIOS_LOG_MARKER_START && (c) <= BIOS_LOG_MARKER_END)
215 #define BIOS_LOG_LEVEL_TO_MARKER(level) (BIOS_LOG_MARKER_START + (level))
216 #define BIOS_LOG_MARKER_TO_LEVEL(c) ((c) - BIOS_LOG_MARKER_START)
static const char bios_log_prefix[BIOS_LOG_PREFIX_MAX_LEVEL+1][5]
#define BIOS_INFO
BIOS_INFO - Expected events.
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_CRIT
BIOS_CRIT - Recovery unlikely.
#define BIOS_LOG_PREFIX_MAX_LEVEL
#define BIOS_NOTICE
BIOS_NOTICE - Unexpected but relatively insignificant.
#define BIOS_ALERT
BIOS_ALERT - Dying / Unrecoverable.
#define BIOS_EMERG
BIOS_EMERG - Emergency / Fatal.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.
static const char bios_log_escape[BIOS_LOG_PREFIX_MAX_LEVEL+1][8]
#define BIOS_WARNING
BIOS_WARNING - Bad configuration.