coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <bootblock_common.h>
4 #include <console/console.h>
5 #include <cpu/x86/bist.h>
6 
8 {
9  post_code(0x05);
10 
11  /* Halt if there was a built in self test failure */
12  if (bist) {
13  console_init();
14  report_bist_failure(bist);
15  }
16 
17  /* Call lib/bootblock.c main */
18  bootblock_main_with_basetime(base_timestamp);
19 }
#define asmlinkage
Definition: cpu.h:8
static void report_bist_failure(u32 bist)
Definition: bist.h:7
asmlinkage void bootblock_c_entry_bist(uint64_t base_timestamp, uint32_t bist)
Definition: bootblock.c:9
void console_init(void)
Definition: init.c:49
void bootblock_main_with_basetime(uint64_t base_timestamp)
Definition: bootblock.c:71
#define post_code(value)
Definition: post_code.h:12
unsigned int uint32_t
Definition: stdint.h:14
unsigned long long uint64_t
Definition: stdint.h:17