MCPcopy Create free account
hub / github.com/coreboot/coreboot / console_log_level

Function console_log_level

src/console/init.c:33–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33int console_log_level(int msg_level)
34{
35 int log_level = get_log_level();
36
37 if (log_level < 0)
38 return CONSOLE_LOG_NONE;
39
40 if (msg_level <= log_level)
41 return CONSOLE_LOG_ALL;
42
43 if (CONFIG(CONSOLE_CBMEM) && (msg_level <= BIOS_DEBUG))
44 return CONSOLE_LOG_FAST;
45
46 return 0;
47}
48
49void console_init(void)
50{

Callers 4

vprintkFunction · 0.70
detailed_blockFunction · 0.50
spi_readatFunction · 0.50
vprintkFunction · 0.50

Calls 1

get_log_levelFunction · 0.70

Tested by

no test coverage detected