coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
transition.c File Reference
#include <arch/cache.h>
#include <arch/lib_helpers.h>
#include <arch/mmu.h>
#include <arch/transition.h>
#include <assert.h>
Include dependency graph for transition.c:

Go to the source code of this file.

Functions

void __weak exc_dispatch (struct exc_state *exc_state, uint64_t id)
 
void exc_entry (struct exc_state *exc_state, uint64_t id)
 
void transition_to_el2 (void *entry, void *arg, uint64_t spsr)
 

Function Documentation

◆ exc_dispatch()

void __weak exc_dispatch ( struct exc_state exc_state,
uint64_t  id 
)

Definition at line 9 of file transition.c.

Referenced by exc_entry().

Here is the caller graph for this function:

◆ exc_entry()

void exc_entry ( struct exc_state exc_state,
uint64_t  id 
)

Definition at line 14 of file transition.c.

References elx_state::elr, exc_state::elx, exc_dispatch(), get_mode_from_spsr(), exc_state::regs, regs::sp, elx_state::spsr, and SPSR_USE_H.

Here is the call graph for this function:

◆ transition_to_el2()

void transition_to_el2 ( void entry,
void arg,
uint64_t  spsr 
)