coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
exception.h File Reference
#include <stdint.h>
Include dependency graph for exception.h:

Go to the source code of this file.

Data Structures

struct  trapframe
 
struct  insn_fetch_t
 

Typedefs

typedef uint32_t insn_t
 

Functions

static void exception_init (void)
 
void redirect_trap (void)
 
void trap_handler (trapframe *tf)
 
void handle_supervisor_call (trapframe *tf)
 
void handle_misaligned (trapframe *tf)
 

Typedef Documentation

◆ insn_t

typedef uint32_t insn_t

Definition at line 17 of file exception.h.

Function Documentation

◆ exception_init()

static void exception_init ( void  )
inlinestatic

Definition at line 24 of file exception.h.

◆ handle_misaligned()

◆ handle_supervisor_call()

void handle_supervisor_call ( trapframe tf)

◆ redirect_trap()

void redirect_trap ( void  )

Definition at line 151 of file trap_handler.c.

References EXTRACT_FIELD, INSERT_FIELD, MSTATUS_MPP, and MSTATUS_SPP.

Referenced by handle_misaligned().

Here is the caller graph for this function:

◆ trap_handler()