coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
reset.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <arch/cache.h>
4 #include <console/console.h>
5 #include <halt.h>
6 #include <reset.h>
7 
9 {
10  printk(BIOS_INFO, "%s() called!\n", __func__);
13  halt();
14 }
15 
16 #if CONFIG(MISSING_BOARD_RESET)
17 void do_board_reset(void)
18 {
19  printk(BIOS_CRIT, "No board_reset implementation, hanging...\n");
20 }
21 #endif
void dcache_clean_all(void)
Definition: cache.c:14
#define printk(level,...)
Definition: stdlib.h:16
#define __noreturn
Definition: compiler.h:31
void __noreturn halt(void)
halt the system reliably
Definition: halt.c:6
__noreturn void board_reset(void)
Definition: reset.c:8
#define BIOS_INFO
BIOS_INFO - Expected events.
Definition: loglevel.h:113
#define BIOS_CRIT
BIOS_CRIT - Recovery unlikely.
Definition: loglevel.h:56
void do_board_reset(void)
Definition: reset.c:8