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 <console/console.h>
4 #include <program_loading.h>
5 
6 void qemu_power8_main(void);
7 
8 /* The qemu part of all this is very, very non-hardware like.
9  * So it gets its own bootblock.
10  */
11 void qemu_power8_main(void)
12 {
13  if (CONFIG(BOOTBLOCK_CONSOLE)) {
14  console_init();
15  }
16 
17  run_romstage();
18 }
@ CONFIG
Definition: dsi_common.h:201
void console_init(void)
Definition: init.c:49
void qemu_power8_main(void)
Definition: bootblock.c:11
void run_romstage(void)
Definition: prog_loaders.c:18