coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
exception.h File Reference
#include <arch/transition.h>
Include dependency graph for exception.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)
 

Enumeration Type Documentation

◆ anonymous enum

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.

Function Documentation

◆ exception_handler_register()

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().

Here is the caller graph for this function:

◆ exception_handler_unregister()

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().

Here is the caller graph for this function:

◆ exception_init()

◆ exception_init_asm()

void exception_init_asm ( void exception_stack_end)

Referenced by exception_init().

Here is the caller graph for this function: