Home
last modified time | relevance | path

Searched refs:security_state (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/include/bl31/
Dcontext_mgmt.h46 void *cm_get_context_by_mpidr(uint64_t mpidr, uint32_t security_state);
47 static inline void *cm_get_context(uint32_t security_state);
50 uint32_t security_state);
51 static inline void cm_set_context(void *context, uint32_t security_state);
53 void cm_prepare_el3_exit(uint32_t security_state);
54 void cm_el1_sysregs_context_save(uint32_t security_state);
55 void cm_el1_sysregs_context_restore(uint32_t security_state);
56 void cm_set_elr_el3(uint32_t security_state, uint64_t entrypoint);
57 void cm_set_elr_spsr_el3(uint32_t security_state,
59 void cm_write_scr_el3_bit(uint32_t security_state,
[all …]
Dinterrupt_mgmt.h121 uint32_t get_scr_el3_from_routing_model(uint32_t security_state);
127 int disable_intr_rm_local(uint32_t type, uint32_t security_state);
128 int enable_intr_rm_local(uint32_t type, uint32_t security_state);
Dbl31.h40 void bl31_next_el_arch_setup(uint32_t security_state);
/device/linaro/bootloader/arm-trusted-firmware/bl31/
Dcontext_mgmt.c72 void *cm_get_context_by_mpidr(uint64_t mpidr, uint32_t security_state) in cm_get_context_by_mpidr() argument
74 assert(sec_state_is_valid(security_state)); in cm_get_context_by_mpidr()
76 return get_cpu_data_by_mpidr(mpidr, cpu_context[security_state]); in cm_get_context_by_mpidr()
83 void cm_set_context_by_mpidr(uint64_t mpidr, void *context, uint32_t security_state) in cm_set_context_by_mpidr() argument
85 assert(sec_state_is_valid(security_state)); in cm_set_context_by_mpidr()
87 set_cpu_data_by_mpidr(mpidr, cpu_context[security_state], context); in cm_set_context_by_mpidr()
134 uint32_t security_state; in cm_init_context() local
141 security_state = GET_SECURITY_STATE(ep->h.attr); in cm_init_context()
142 ctx = cm_get_context_by_mpidr(mpidr, security_state); in cm_init_context()
157 if (security_state != SECURE) in cm_init_context()
[all …]
Dinterrupt_mgmt.c106 uint32_t get_scr_el3_from_routing_model(uint32_t security_state) in get_scr_el3_from_routing_model() argument
110 assert(sec_state_is_valid(security_state)); in get_scr_el3_from_routing_model()
111 scr_el3 = intr_type_descs[INTR_TYPE_NS].scr_el3[security_state]; in get_scr_el3_from_routing_model()
112 scr_el3 |= intr_type_descs[INTR_TYPE_S_EL1].scr_el3[security_state]; in get_scr_el3_from_routing_model()
113 scr_el3 |= intr_type_descs[INTR_TYPE_EL3].scr_el3[security_state]; in get_scr_el3_from_routing_model()
125 uint32_t security_state) in set_scr_el3_from_rm() argument
129 flag = get_interrupt_rm_flag(interrupt_type_flags, security_state); in set_scr_el3_from_rm()
130 bit_pos = plat_interrupt_type_to_line(type, security_state); in set_scr_el3_from_rm()
131 intr_type_descs[type].scr_el3[security_state] = flag << bit_pos; in set_scr_el3_from_rm()
132 cm_write_scr_el3_bit(security_state, bit_pos, flag); in set_scr_el3_from_rm()
[all …]
Dbl31_main.c125 void bl31_set_next_image_type(uint32_t security_state) in bl31_set_next_image_type() argument
127 assert(sec_state_is_valid(security_state)); in bl31_set_next_image_type()
128 next_image_type = security_state; in bl31_set_next_image_type()
/device/linaro/bootloader/arm-trusted-firmware/plat/common/
Dplat_gic.c70 uint32_t security_state) in plat_interrupt_type_to_line() argument
72 return arm_gic_interrupt_type_to_line(type, security_state); in plat_interrupt_type_to_line()
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/arm/
Darm_gic.h50 uint32_t security_state);
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/
Darm_gic.c367 uint32_t security_state) in arm_gic_interrupt_type_to_line() argument
373 assert(sec_state_is_valid(security_state)); in arm_gic_interrupt_type_to_line()
/device/linaro/bootloader/arm-trusted-firmware/include/plat/common/
Dplatform.h67 uint32_t security_state);
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dinterrupt-framework-design.md352 uint32_t cm_get_scr_el3(uint32_t security_state);
353 void cm_write_scr_el3_bit(uint32_t security_state,