/device/linaro/bootloader/arm-trusted-firmware/include/lib/el3_runtime/ |
context_mgmt.h | 26 unsigned int security_state); 29 unsigned int security_state); 30 void *cm_get_context(uint32_t security_state); 31 void cm_set_context(void *context, uint32_t security_state); 35 void cm_prepare_el3_exit(uint32_t security_state); 38 void cm_el1_sysregs_context_save(uint32_t security_state); 39 void cm_el1_sysregs_context_restore(uint32_t security_state); 40 void cm_set_elr_el3(uint32_t security_state, uintptr_t entrypoint); 41 void cm_set_elr_spsr_el3(uint32_t security_state, 43 void cm_write_scr_el3_bit(uint32_t security_state, [all...] |
/device/linaro/bootloader/arm-trusted-firmware/bl31/ |
bl31_context_mgmt.c | 21 void *cm_get_context(uint32_t security_state) 23 assert(security_state <= NON_SECURE); 25 return get_cpu_data(cpu_context[security_state]); 32 void cm_set_context(void *context, uint32_t security_state) 34 assert(security_state <= NON_SECURE); 36 set_cpu_data(cpu_context[security_state], context); 46 unsigned int security_state) 48 assert(sec_state_is_valid(security_state)); 50 return get_cpu_data_by_index(cpu_idx, cpu_context[security_state]); 58 unsigned int security_state) 94 context, security_state); local [all...] |
interrupt_mgmt.c | 82 uint32_t get_scr_el3_from_routing_model(uint32_t security_state) 86 assert(sec_state_is_valid(security_state)); 87 scr_el3 = intr_type_descs[INTR_TYPE_NS].scr_el3[security_state]; 88 scr_el3 |= intr_type_descs[INTR_TYPE_S_EL1].scr_el3[security_state]; 89 scr_el3 |= intr_type_descs[INTR_TYPE_EL3].scr_el3[security_state]; 101 uint32_t security_state) 105 flag = get_interrupt_rm_flag(interrupt_type_flags, security_state); 106 bit_pos = plat_interrupt_type_to_line(type, security_state); 107 intr_type_descs[type].scr_el3[security_state] = flag << bit_pos; 112 if (cm_get_context(security_state)) [all...] |
bl31_main.c | 126 void bl31_set_next_image_type(uint32_t security_state) 128 assert(sec_state_is_valid(security_state)); 129 next_image_type = security_state;
|
/device/linaro/bootloader/arm-trusted-firmware/bl1/aarch64/ |
bl1_context_mgmt.c | 25 void *cm_get_context(uint32_t security_state) 27 assert(sec_state_is_valid(security_state)); 28 return bl1_cpu_context_ptr[security_state]; 31 void cm_set_context(void *context, uint32_t security_state) 33 assert(sec_state_is_valid(security_state)); 34 bl1_cpu_context_ptr[security_state] = context; 43 unsigned int security_state; local 67 security_state = GET_SECURITY_STATE(next_bl_ep->h.attr); 70 if (!cm_get_context(security_state)) 71 cm_set_context(&bl1_cpu_context[security_state], security_state) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/bl1/aarch32/ |
bl1_context_mgmt.c | 30 void *smc_get_ctx(unsigned int security_state) 32 assert(sec_state_is_valid(security_state)); 33 return &bl1_smc_context[security_state]; 36 void smc_set_next_ctx(unsigned int security_state) 38 assert(sec_state_is_valid(security_state)); 39 bl1_next_smc_context_ptr = &bl1_smc_context[security_state]; 48 void *cm_get_context(uint32_t security_state) 50 assert(sec_state_is_valid(security_state)); 51 return &bl1_cpu_context[security_state]; 103 unsigned int security_state; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/include/bl31/ |
bl31.h | 15 void bl31_next_el_arch_setup(uint32_t security_state);
|
interrupt_mgmt.h | 112 uint32_t get_scr_el3_from_routing_model(uint32_t security_state); 118 int disable_intr_rm_local(uint32_t type, uint32_t security_state); 119 int enable_intr_rm_local(uint32_t type, uint32_t security_state);
|
/device/linaro/bootloader/arm-trusted-firmware/plat/common/ |
plat_gic.c | 46 uint32_t security_state) 48 return arm_gic_interrupt_type_to_line(type, security_state);
|
plat_gicv3.c | 133 uint32_t security_state) 139 assert(sec_state_is_valid(security_state)); 148 if (security_state == SECURE) 157 if (security_state == SECURE)
|
plat_gicv2.c | 131 uint32_t security_state)
|
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/ |
qemu_gic.c | 47 uint32_t security_state) 53 assert(sec_state_is_valid(security_state));
|
/device/linaro/bootloader/arm-trusted-firmware/bl32/sp_min/ |
sp_min_main.c | 37 void *smc_get_ctx(unsigned int security_state) 39 assert(security_state == NON_SECURE); 43 void smc_set_next_ctx(unsigned int security_state) 45 assert(security_state == NON_SECURE); 59 void *cm_get_context(uint32_t security_state) 61 assert(security_state == NON_SECURE); 69 void cm_set_context(void *context, uint32_t security_state) 71 assert(security_state == NON_SECURE); 82 unsigned int security_state) 84 assert(security_state == NON_SECURE) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/lib/el3_runtime/aarch64/ |
context_mgmt.c | 61 unsigned int security_state; local 69 security_state = GET_SECURITY_STATE(ep->h.attr); 89 if (security_state != SECURE) 119 scr_el3 |= get_scr_el3_from_routing_model(security_state); 173 if (security_state == SECURE) { 244 void cm_prepare_el3_exit(uint32_t security_state) 247 cpu_context_t *ctx = cm_get_context(security_state); 251 if (security_state == NON_SECURE) { 425 cm_el1_sysregs_context_restore(security_state); 426 cm_set_next_eret_context(security_state); [all...] |
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/arm/ |
arm_gic.h | 26 uint32_t security_state) __deprecated;
|
/device/linaro/bootloader/arm-trusted-firmware/lib/el3_runtime/aarch32/ |
context_mgmt.c | 55 unsigned int security_state; local 61 security_state = GET_SECURITY_STATE(ep->h.attr); 75 if (security_state != SECURE) 78 if (security_state != SECURE) { 160 void cm_prepare_el3_exit(uint32_t security_state) 163 cpu_context_t *ctx = cm_get_context(security_state); 167 if (security_state == NON_SECURE) {
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/trusty/ |
trusty.c | 77 static struct args trusty_context_switch(uint32_t security_state, uint64_t r0, 84 assert(ctx->saved_security_state != security_state); 110 fpregs_context_save(get_fpregs_ctx(cm_get_context(security_state))); 112 cm_el1_sysregs_context_save(security_state); 114 ctx->saved_security_state = security_state; 117 assert(ctx->saved_security_state == !security_state); 119 cm_el1_sysregs_context_restore(security_state); 122 fpregs_context_restore(get_fpregs_ctx(cm_get_context(security_state))); 125 cm_set_next_eret_context(security_state);
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/ |
tegra_gic.c | 178 uint32_t security_state) 184 assert(sec_state_is_valid(security_state)); 329 uint32_t security_state) 331 return tegra_gic_interrupt_type_to_line(type, security_state);
|
/device/linaro/bootloader/arm-trusted-firmware/docs/ |
psci-lib-integration-guide.rst | 377 Argument : unsigned int cpu_idx, void *context, unsigned int security_state 384 argument), for the specified ``security_state`` (3rd argument) and CPU identified 385 by ``cpu_idx`` (first argument). The ``security_state`` will always be non-secure 398 Argument : uint32_t security_state 402 the specified ``security_state`` (first argument) for the current CPU. The caller 404 context pointers are stored prior to invoking this API. The ``security_state`` 412 Argument : unsigned int cpu_idx, unsigned int security_state 416 the specified ``security_state`` (second argument) for the CPU identified by 419 pointers are stored prior to invoking this API. The ``security_state`` will
|
interrupt-framework-design.rst | 379 uint32_t cm_get_scr_el3(uint32_t security_state); 380 void cm_write_scr_el3_bit(uint32_t security_state, [all...] |
/device/linaro/bootloader/arm-trusted-firmware/include/lib/aarch32/ |
smcc_helpers.h | 149 void *smc_get_ctx(unsigned int security_state); 152 void smc_set_next_ctx(unsigned int security_state);
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/ |
arm_gic.c | 326 uint32_t security_state) 332 assert(sec_state_is_valid(security_state));
|
/device/linaro/bootloader/arm-trusted-firmware/include/plat/common/ |
platform.h | 70 uint32_t security_state);
|