13 #include <arm-trusted-firmware/include/export/common/bl_common_exp.h>
18 .version = PARAM_VERSION_1,
26 .version = PARAM_VERSION_1,
28 .attr = EP_NON_SECURE,
33 .image_id = BL32_IMAGE_ID,
37 .image_id = BL33_IMAGE_ID,
43 .type = PARAM_BL_PARAMS,
44 .version = PARAM_VERSION_2,
63 static struct bl_aux_param_uint64 cbtable_param = {
64 .h = { .type = BL_AUX_PARAM_COREBOOT_TABLE, },
66 if (!cbtable_param.value) {
68 if (cbtable_param.value)
80 die(
"BL31 load failed");
83 if (
CONFIG(ARM64_USE_SECURE_OS)) {
85 CONFIG_CBFS_PREFIX
"/secure_os");
88 die(
"BL32 load failed");
106 die(
"BL31 returned!");
static struct sdram_info params
static struct bl_aux_param_header * bl_aux_params
__weak void * soc_get_bl31_plat_params(void)
static bl_params_node_t bl33_params_node
static bl_params_t bl_params
void run_bl31(u64 payload_entry, u64 payload_arg0, u64 payload_spsr)
static entry_point_info_t bl33_ep_info
static entry_point_info_t bl32_ep_info
void register_bl31_aux_param(struct bl_aux_param_header *param)
static bl_params_node_t bl32_params_node
static struct bl31_plat_param * plat_params
enum cb_err cbfs_prog_stage_load(struct prog *prog)
void * cbmem_find(u32 id)
void __noreturn die(const char *fmt,...)
#define SPSR_EXCEPTION_MASK
static void * prog_entry(const struct prog *prog)
#define PROG_INIT(type_, name_)
bool selfload_check(struct prog *payload, enum bootmem_type dest_type)
const struct smm_save_state_ops *legacy_ops __weak
unsigned long long uint64_t
static uint8_t get_eret_el(uint8_t el, uint8_t l_or_h)
typedef void(X86APIP X86EMU_intrFuncs)(int num)