![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/transition.h>
Go to the source code of this file.
Data Structures | |
struct | exception_handler |
Enumerations | |
enum | { EXC_RET_IGNORED , EXC_RET_ABORT , EXC_RET_HANDLED , EXC_RET_HANDLED_DUMP_STATE } |
Functions | |
void | exception_init (void) |
void | exception_init_asm (void *exception_stack_end) |
int | exception_handler_register (uint64_t vid, struct exception_handler *h) |
int | exception_handler_unregister (uint64_t vid, struct exception_handler *h) |
anonymous enum |
Enumerator | |
---|---|
EXC_RET_IGNORED | |
EXC_RET_ABORT | |
EXC_RET_HANDLED | |
EXC_RET_HANDLED_DUMP_STATE |
Definition at line 18 of file exception.h.
int exception_handler_register | ( | uint64_t | vid, |
struct exception_handler * | h | ||
) |
Definition at line 68 of file exception.c.
References handlers, exception_handler::next, NUM_EXC_VIDS, store_release, and vid.
Referenced by probe_mb(), and test_exception().
int exception_handler_unregister | ( | uint64_t | vid, |
struct exception_handler * | h | ||
) |
Definition at line 80 of file exception.c.
References handlers, exception_handler::next, NULL, NUM_EXC_VIDS, store_release, and vid.
Referenced by probe_mb(), and test_exception().
Definition at line 120 of file exception.c.
References ARRAY_SIZE, BIOS_DEBUG, CONFIG, exception_init_asm(), exception_stack, exception_stack_end, get_cs(), IGATE_FLAGS, intr_entries, load_idt(), printk, read_sctlr(), SCTLR_TE, SCTLR_V, set_vbar(), test_exception(), and write_sctlr().
Referenced by bootblock_main(), bootblock_main_with_timestamp(), main(), platform_romstage_main(), romstage(), tegra124_main(), and tegra210_main().