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

Function main

src/lib/bootblock.c:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void main(void)
77{
78 uint64_t base_timestamp = 0;
79
80 init_timer();
81
82 if (CONFIG(COLLECT_TIMESTAMPS))
83 base_timestamp = timestamp_get();
84
85 bootblock_main_with_timestamp(base_timestamp, NULL, 0);
86}
87
88#if CONFIG(COMPRESS_BOOTBLOCK)
89/*

Callers

nothing calls this directly

Calls 3

init_timerFunction · 0.70
timestamp_getFunction · 0.70

Tested by

no test coverage detected