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
7
asmlinkage
void
bootblock_c_entry_bist
(
uint64_t
base_timestamp,
uint32_t
bist)
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
}
asmlinkage
#define asmlinkage
Definition:
cpu.h:8
bist.h
report_bist_failure
static void report_bist_failure(u32 bist)
Definition:
bist.h:7
bootblock_common.h
console.h
bootblock_c_entry_bist
asmlinkage void bootblock_c_entry_bist(uint64_t base_timestamp, uint32_t bist)
Definition:
bootblock.c:9
console_init
void console_init(void)
Definition:
init.c:49
bootblock_main_with_basetime
void bootblock_main_with_basetime(uint64_t base_timestamp)
Definition:
bootblock.c:71
post_code
#define post_code(value)
Definition:
post_code.h:12
uint32_t
unsigned int uint32_t
Definition:
stdint.h:14
uint64_t
unsigned long long uint64_t
Definition:
stdint.h:17
src
cpu
qemu-x86
bootblock.c
Generated by
1.9.1