/tf-a-ffa_el3_spmc/bl32/sp_min/ |
A D | wa_cve_2017_5715_bpiall.S | 13 add sp, sp, #1 /* Reset: 0b111 */ 14 add sp, sp, #1 /* Undef: 0b110 */ 15 add sp, sp, #1 /* Syscall: 0b101 */ 16 add sp, sp, #1 /* Prefetch abort: 0b100 */ 17 add sp, sp, #1 /* Data abort: 0b011 */ 18 add sp, sp, #1 /* Reserved: 0b010 */ 19 add sp, sp, #1 /* IRQ: 0b001 */ 48 bic sp, sp, #0x7 58 bic sp, sp, #0x7 65 bic sp, sp, #0x7 [all …]
|
A D | wa_cve_2017_5715_icache_inv.S | 13 add sp, sp, #1 /* Reset: 0b111 */ 14 add sp, sp, #1 /* Undef: 0b110 */ 15 add sp, sp, #1 /* Syscall: 0b101 */ 16 add sp, sp, #1 /* Prefetch abort: 0b100 */ 17 add sp, sp, #1 /* Data abort: 0b011 */ 18 add sp, sp, #1 /* Reserved: 0b010 */ 19 add sp, sp, #1 /* IRQ: 0b001 */ 49 bic sp, sp, #0x7 59 bic sp, sp, #0x7 66 bic sp, sp, #0x7 [all …]
|
/tf-a-ffa_el3_spmc/plat/nxp/common/psci/aarch64/ |
A D | psci_utils.S | 36 stp x4, x5, [sp, #-16]! 37 stp x6, x7, [sp, #-16]! 38 stp x8, x9, [sp, #-16]! 39 stp x10, x11, [sp, #-16]! 40 stp x12, x13, [sp, #-16]! 41 stp x14, x15, [sp, #-16]! 42 stp x16, x17, [sp, #-16]! 43 stp x18, x30, [sp, #-16]! 186 ldp x18, x30, [sp], #16 187 ldp x16, x17, [sp], #16 [all …]
|
/tf-a-ffa_el3_spmc/bl32/tsp/aarch64/ |
A D | tsp_exceptions.S | 21 sub sp, sp, SCRATCH_REG_SIZE 22 stp x0, x1, [sp] 23 stp x2, x3, [sp, #0x10] 24 stp x4, x5, [sp, #0x20] 25 stp x6, x7, [sp, #0x30] 26 stp x8, x9, [sp, #0x40] 35 ldp x0, x1, [sp] 36 ldp x2, x3, [sp, #0x10] 37 ldp x4, x5, [sp, #0x20] 38 ldp x6, x7, [sp, #0x30] [all …]
|
/tf-a-ffa_el3_spmc/services/std_svc/spm/spmc/ |
A D | spmc_setup.c | 35 unsigned int get_ec_index(sp_desc_t *sp) in get_ec_index() argument 50 ctx = &sp->ec[sel0_sp_ec_index].cpu_ctx; in spmc_el0_sp_setup() 52 init_xlat_tables_ctx(sp->xlat_ctx_handle); in spmc_el0_sp_setup() 136 sp->xlat_ctx_handle->xlat_regime = in spmc_el0_sp_setup() 144 mmap_add_region_ctx(sp->xlat_ctx_handle, in spmc_el0_sp_setup() 152 sp->sp_stack_base + sp->sp_stack_size); in spmc_el0_sp_setup() 160 assert(NULL != sp); in spmc_el1_sp_setup() 176 if (sp->secondary_ep) { in spmc_el1_sp_setup() 183 write_ctx_reg(get_gpregs_ctx(&sp->ec[get_ec_index(sp)].cpu_ctx), in spmc_el1_sp_setup() 195 if (sp->sp_id == INV_SP_ID) in spmc_sp_common_setup() [all …]
|
A D | spmc_pm.c | 49 assert (NULL != sp); in spmc_cpu_on_finish_handler() 52 if (sp-> runtime_el == EL0) in spmc_cpu_on_finish_handler() 64 spin_lock(&sp->secondary_ep_lock); in spmc_cpu_on_finish_handler() 65 if (0 == sp->secondary_ep) { in spmc_cpu_on_finish_handler() 70 sec_ec_ep_info.pc = sp->secondary_ep; in spmc_cpu_on_finish_handler() 71 spin_unlock(&sp->secondary_ep_lock); in spmc_cpu_on_finish_handler() 80 ec = &sp->ec[get_ec_index(sp)]; in spmc_cpu_on_finish_handler() 116 assert (NULL != sp); in spmc_cpu_off_handler() 119 if (sp-> runtime_el == EL0) in spmc_cpu_off_handler() 123 ec = &sp->ec[get_ec_index(sp)]; in spmc_cpu_off_handler() [all …]
|
A D | spmc_main.c | 280 sp_desc_t *sp; in direct_req_smc_handler() local 301 if (NULL == sp) in direct_req_smc_handler() 332 sp_desc_t *sp; in direct_resp_smc_handler() local 348 if (NULL == sp) in direct_resp_smc_handler() 626 sp_desc_t *sp; in ffa_run_handler() local 686 sp_desc_t *sp; in msg_wait_handler() local 778 sp_desc_t *sp; in ffa_sec_ep_register_handler() local 1081 sp_desc_t *sp; in find_and_prepare_sp_context() local 1140 if (sp->runtime_el != EL0 && sp->runtime_el != EL1) { in find_and_prepare_sp_context() 1215 ec = &sp->ec[get_ec_index(sp)]; in sp_init() [all …]
|
/tf-a-ffa_el3_spmc/drivers/renesas/common/pwrc/ |
A D | call_sram.S | 21 stp x29, x30, [sp,#-16] 24 mov x3, sp 25 mov sp, x1 28 sub sp, sp, #16 29 stp x0, x3, [sp] 40 ldp x0, x2, [sp,#0] 43 mov sp, x2 46 ldp x29, x30, [sp,#-16]
|
/tf-a-ffa_el3_spmc/lib/psci/aarch64/ |
A D | psci_helpers.S | 31 stp x29, x30, [sp,#-16]! 32 stp x19, x20, [sp,#-16]! 55 mov x1, sp 57 mov x0, sp 67 sub x1, sp, x0 70 ldp x19, x20, [sp], #16 71 ldp x29, x30, [sp], #16 85 stp x29, x30, [sp,#-16]! 101 mov x1, sp 103 mov x0, sp [all …]
|
/tf-a-ffa_el3_spmc/lib/compiler-rt/builtins/arm/ |
A D | aeabi_ldivmod.S | 27 sub sp, sp, #16 28 add r6, sp, #8 29 str r6, [sp] 39 ldr r2, [sp, #8] 40 ldr r3, [sp, #12] 41 add sp, sp, #16
|
A D | aeabi_uldivmod.S | 27 sub sp, sp, #16 28 add r6, sp, #8 29 str r6, [sp] 39 ldr r2, [sp, #8] 40 ldr r3, [sp, #12] 41 add sp, sp, #16
|
/tf-a-ffa_el3_spmc/lib/cpus/aarch64/ |
A D | wa_cve_2017_5715_bpiall.S | 26 stp x0, x1, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X0] 27 stp x2, x3, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X2] 28 stp x4, x5, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X4] 29 stp x6, x7, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X6] 30 stp x8, x9, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X8] 31 stp x10, x11, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X10] 32 stp x12, x13, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X12] 33 stp x14, x15, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X14] 34 stp x16, x17, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X16] 35 stp x18, x19, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X18] [all …]
|
/tf-a-ffa_el3_spmc/services/spd/tspd/ |
A D | tspd_helpers.S | 23 mov x3, sp 25 sub sp, sp, #TSPD_C_RT_CTX_SIZE 28 stp x19, x20, [sp, #TSPD_C_RT_CTX_X19] 29 stp x21, x22, [sp, #TSPD_C_RT_CTX_X21] 30 stp x23, x24, [sp, #TSPD_C_RT_CTX_X23] 31 stp x25, x26, [sp, #TSPD_C_RT_CTX_X25] 32 stp x27, x28, [sp, #TSPD_C_RT_CTX_X27] 33 stp x29, x30, [sp, #TSPD_C_RT_CTX_X29] 59 mov sp, x0
|
/tf-a-ffa_el3_spmc/services/spd/opteed/ |
A D | opteed_helpers.S | 23 mov x3, sp 25 sub sp, sp, #OPTEED_C_RT_CTX_SIZE 28 stp x19, x20, [sp, #OPTEED_C_RT_CTX_X19] 29 stp x21, x22, [sp, #OPTEED_C_RT_CTX_X21] 30 stp x23, x24, [sp, #OPTEED_C_RT_CTX_X23] 31 stp x25, x26, [sp, #OPTEED_C_RT_CTX_X25] 32 stp x27, x28, [sp, #OPTEED_C_RT_CTX_X27] 33 stp x29, x30, [sp, #OPTEED_C_RT_CTX_X29] 59 mov sp, x0
|
/tf-a-ffa_el3_spmc/services/spd/tlkd/ |
A D | tlkd_helpers.S | 25 mov x3, sp 27 sub sp, sp, #TLKD_C_RT_CTX_SIZE 30 stp x19, x20, [sp, #TLKD_C_RT_CTX_X19] 31 stp x21, x22, [sp, #TLKD_C_RT_CTX_X21] 32 stp x23, x24, [sp, #TLKD_C_RT_CTX_X23] 33 stp x25, x26, [sp, #TLKD_C_RT_CTX_X25] 34 stp x27, x28, [sp, #TLKD_C_RT_CTX_X27] 35 stp x29, x30, [sp, #TLKD_C_RT_CTX_X29] 60 mov sp, x0
|
/tf-a-ffa_el3_spmc/services/std_svc/spm/common/aarch64/ |
A D | spm_helpers.S | 23 mov x3, sp 25 sub sp, sp, #SP_C_RT_CTX_SIZE 28 stp x19, x20, [sp, #SP_C_RT_CTX_X19] 29 stp x21, x22, [sp, #SP_C_RT_CTX_X21] 30 stp x23, x24, [sp, #SP_C_RT_CTX_X23] 31 stp x25, x26, [sp, #SP_C_RT_CTX_X25] 32 stp x27, x28, [sp, #SP_C_RT_CTX_X27] 33 stp x29, x30, [sp, #SP_C_RT_CTX_X29] 55 mov sp, x0
|
/tf-a-ffa_el3_spmc/services/std_svc/spmd/aarch64/ |
A D | spmd_helpers.S | 23 mov x3, sp 25 sub sp, sp, #SPMD_C_RT_CTX_SIZE 28 stp x19, x20, [sp, #SPMD_C_RT_CTX_X19] 29 stp x21, x22, [sp, #SPMD_C_RT_CTX_X21] 30 stp x23, x24, [sp, #SPMD_C_RT_CTX_X23] 31 stp x25, x26, [sp, #SPMD_C_RT_CTX_X25] 32 stp x27, x28, [sp, #SPMD_C_RT_CTX_X27] 33 stp x29, x30, [sp, #SPMD_C_RT_CTX_X29] 54 mov sp, x0
|
/tf-a-ffa_el3_spmc/bl31/aarch64/ |
A D | ea_delegate.S | 53 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR] 66 stp x0, x1, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X0] 67 stp x2, x3, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X2] 68 stp x4, x5, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X4] 118 ldr x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR] 135 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR] 239 ldr x5, [sp, #CTX_EL3STATE_OFFSET + CTX_ESR_EL3] 267 mov x3, sp 273 mov sp, x5 278 mov x28, sp [all …]
|
A D | runtime_exceptions.S | 64 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR] 100 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR] 139 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR] 154 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR] 196 ldr x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR] 227 mov x20, sp 229 mov sp, x2 295 stp x29, x30, [sp, #-16]! 304 ldp x29, x30, [sp], #16 480 mov x6, sp [all …]
|
/tf-a-ffa_el3_spmc/tools/sptool/ |
A D | sptool.c | 100 if (sp != NULL) { in cleanup() 101 if (sp->img_data != NULL) { in cleanup() 102 free(sp->img_data); in cleanup() 105 if (sp->pm_data != NULL) { in cleanup() 106 free(sp->pm_data); in cleanup() 109 free(sp); in cleanup() 238 sp->pm_offset = file_ptr; in output_write() 239 xfwrite(sp->pm_data, sp->pm_size, f); in output_write() 242 file_ptr = align_to((sp->pm_offset + sp->pm_size), PAGE_SIZE); in output_write() 247 sp->img_offset = file_ptr; in output_write() [all …]
|
/tf-a-ffa_el3_spmc/include/arch/aarch32/ |
A D | smccc_macros.S | 21 stm sp, {r0-r12} 22 mov r0, sp 33 stm r0!, {sp, lr} 37 stm r0!, {r2, sp, lr} 41 stm r0!, {r2, sp, lr} 45 stm r0!, {r2, sp, lr} 49 stm r0!, {r2, sp, lr} 53 stm r0!, {r2, sp, lr} 129 mov sp, r0 175 ldm r1!, {sp, lr} [all …]
|
/tf-a-ffa_el3_spmc/plat/renesas/common/aarch64/ |
A D | plat_helpers.S | 260 mov x1, sp 262 mov sp, x2 267 ldr x1, [sp], #16 268 mov sp, x1 279 mov x1, sp 281 mov sp, x2 288 ldr x5, [sp], #16 289 ldr x4, [sp], #16 290 ldr x3, [sp], #16 292 ldr x1, [sp], #16 [all …]
|
/tf-a-ffa_el3_spmc/services/spd/trusty/ |
A D | trusty_helpers.S | 9 .macro push ra, rb, sp=sp 10 stp \ra, \rb, [\sp,#-16]! 13 .macro pop ra, rb, sp=sp 14 ldp \ra, \rb, [\sp], #16 27 mov x9, sp 29 mov sp, x10
|
/tf-a-ffa_el3_spmc/lib/psci/aarch32/ |
A D | psci_helpers.S | 80 mov r1, sp 82 mov r0, sp 120 mov r1, sp 122 mov r0, sp 132 sub r1, sp, r0
|
/tf-a-ffa_el3_spmc/bl32/sp_min/aarch32/ |
A D | entrypoint.S | 172 str lr, [sp, #SMC_CTX_LR_MON] 180 strd r0, r1, [sp, #SMC_CTX_GPREG_R0] 182 ldr lr, [sp, #SMC_CTX_SP_MON] 184 str lr, [sp, #SMC_CTX_SP_MON] 185 ldrd r0, r1, [sp, #SMC_CTX_GPREG_R0] 196 mov r2, sp /* handle */ 197 ldr sp, [r2, #SMC_CTX_SP_MON] 208 ldrd r4, r5, [sp], #8 252 str lr, [sp, #SMC_CTX_LR_MON] 259 mov r2, sp [all …]
|