![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/cache.h>
#include <arch/lib_helpers.h>
#include <arch/mmu.h>
#include <arch/transition.h>
#include <assert.h>
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) |
Definition at line 9 of file transition.c.
Referenced by exc_entry().
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.
Definition at line 33 of file transition.c.
References arg, assert, CPTR_EL3_TCPAC_DISABLE, CPTR_EL3_TFP_DISABLE, CPTR_EL3_TTA_DISABLE, EL2, elx_state::elr, exc_state::elx, get_el_from_spsr(), mmu_disable(), exc_state::regs, SCR_API, SCR_APK, SCR_FIEN, SCR_HCE, SCR_NS, SCR_RES1, SCR_RW, SCR_SMD, SCR_ST, SCTLR_RES1, elx_state::sp_elx, elx_state::spsr, SPSR_ERET_32, trans_switch(), and regs::x.
Referenced by run_payload().