Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 79) sorted by relevance

1234

/trusted-firmware-a-3.7.0/bl32/sp_min/
Dwa_cve_2017_5715_bpiall.S13 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 */
39 tst sp, #4
42 tst sp, #2
46 tst sp, #1
[all …]
Dwa_cve_2017_5715_icache_inv.S13 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 */
40 tst sp, #4
43 tst sp, #2
47 tst sp, #1
[all …]
/trusted-firmware-a-3.7.0/plat/nxp/common/psci/aarch64/
Dpsci_utils.S36 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 …]
/trusted-firmware-a-3.7.0/bl32/tsp/aarch64/
Dtsp_exceptions.S21 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]
27 stp x10, x11, [sp, #0x50]
28 stp x12, x13, [sp, #0x60]
29 stp x14, x15, [sp, #0x70]
30 stp x16, x17, [sp, #0x80]
[all …]
/trusted-firmware-a-3.7.0/drivers/renesas/common/pwrc/
Dcall_sram.S21 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]
/trusted-firmware-a-3.7.0/plat/nxp/common/ocram/aarch64/
Docram.S28 stp x4, x5, [sp, #-16]!
29 stp x6, x7, [sp, #-16]!
30 stp x8, x9, [sp, #-16]!
31 stp x10, x11, [sp, #-16]!
32 stp x12, x13, [sp, #-16]!
33 stp x18, x30, [sp, #-16]!
64 ldp x18, x30, [sp], #16
65 ldp x12, x13, [sp], #16
66 ldp x10, x11, [sp], #16
67 ldp x8, x9, [sp], #16
[all …]
/trusted-firmware-a-3.7.0/lib/psci/aarch64/
Dpsci_helpers.S31 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 …]
/trusted-firmware-a-3.7.0/bl31/aarch64/
Dea_delegate.S114 str x30, [sp, #CTX_EL3STATE_OFFSET + CTX_SAVED_GPREG_LR]
116 str x30, [sp, #CTX_EL3STATE_OFFSET + CTX_SAVED_ESR_EL3]
118 str x30, [sp, #CTX_EL3STATE_OFFSET + CTX_SAVED_SPSR_EL3]
120 str x30, [sp, #CTX_EL3STATE_OFFSET + CTX_SAVED_ELR_EL3]
123 str x30, [sp, #CTX_EL3STATE_OFFSET + CTX_NESTED_EA_FLAG]
130 ldr x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR]
140 ldr x30, [sp, #CTX_EL3STATE_OFFSET + CTX_SAVED_ELR_EL3]
142 str xzr, [sp, #CTX_EL3STATE_OFFSET + CTX_SAVED_ELR_EL3]
143 ldr x30, [sp, #CTX_EL3STATE_OFFSET + CTX_SAVED_SPSR_EL3]
145 str xzr, [sp, #CTX_EL3STATE_OFFSET + CTX_SAVED_SPSR_EL3]
[all …]
/trusted-firmware-a-3.7.0/services/std_svc/spm/el3_spmc/
Dspmc_pm.c43 struct secure_partition_desc *sp = spmc_get_current_sp_ctx(); in spmc_cpu_on_finish_handler() local
50 assert(sp != NULL); in spmc_cpu_on_finish_handler()
62 if (sp->secondary_ep == 0) { in spmc_cpu_on_finish_handler()
67 sec_ec_ep_info.pc = sp->secondary_ep; in spmc_cpu_on_finish_handler()
72 spmc_el1_sp_setup(sp, &sec_ec_ep_info); in spmc_cpu_on_finish_handler()
73 spmc_sp_common_ep_commit(sp, &sec_ec_ep_info); in spmc_cpu_on_finish_handler()
76 ec = spmc_get_sp_ec(sp); in spmc_cpu_on_finish_handler()
88 INFO("SP (0x%x) init start on core%u.\n", sp->sp_id, linear_id); in spmc_cpu_on_finish_handler()
106 struct secure_partition_desc *sp = spmc_get_current_sp_ctx(); in spmc_send_pm_msg() local
114 ec = spmc_get_sp_ec(sp); in spmc_send_pm_msg()
[all …]
Dspmc_setup.c40 struct secure_partition_desc *sp) in spmc_create_boot_info() argument
60 if (sp->ffa_version == MAKE_FFA_VERSION(1, 0)) { in spmc_create_boot_info()
96 boot_header->version = sp->ffa_version; in spmc_create_boot_info()
149 unsigned int get_ec_index(struct secure_partition_desc *sp) in get_ec_index() argument
155 void spmc_el1_sp_setup(struct secure_partition_desc *sp, in spmc_el1_sp_setup() argument
159 assert(sp != NULL); in spmc_el1_sp_setup()
179 if (sp->secondary_ep != 0U) { in spmc_el1_sp_setup()
184 assert(sp->secondary_ep == ep_info->pc); in spmc_el1_sp_setup()
190 void spmc_sp_common_setup(struct secure_partition_desc *sp, in spmc_sp_common_setup() argument
197 if (sp->sp_id == INV_SP_ID) { in spmc_sp_common_setup()
[all …]
Dspmc_main.c78 struct sp_exec_ctx *spmc_get_sp_ec(struct secure_partition_desc *sp) in spmc_get_sp_ec() argument
80 return &(sp->ec[get_ec_index(sp)]); in spmc_get_sp_ec()
267 struct secure_partition_desc *sp; in direct_msg_validate_dst_id() local
280 sp = spmc_get_sp_ctx(dst_id); in direct_msg_validate_dst_id()
281 if (sp != NULL) { in direct_msg_validate_dst_id()
337 struct secure_partition_desc *sp; in direct_req_smc_handler() local
385 sp = spmc_get_sp_ctx(dst_id); in direct_req_smc_handler()
386 if (sp == NULL) { in direct_req_smc_handler()
397 idx = get_ec_index(sp); in direct_req_smc_handler()
398 if (sp->ec[idx].rt_state != RT_STATE_WAITING) { in direct_req_smc_handler()
[all …]
/trusted-firmware-a-3.7.0/lib/compiler-rt/builtins/arm/
Daeabi_ldivmod.S26 sub sp, sp, #16
27 add r6, sp, #8
28 str r6, [sp]
38 ldr r2, [sp, #8]
39 ldr r3, [sp, #12]
40 add sp, sp, #16
Daeabi_uldivmod.S26 sub sp, sp, #16
27 add r6, sp, #8
28 str r6, [sp]
38 ldr r2, [sp, #8]
39 ldr r3, [sp, #12]
40 add sp, sp, #16
/trusted-firmware-a-3.7.0/lib/cpus/aarch64/
Dwa_cve_2017_5715_bpiall.S26 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 …]
/trusted-firmware-a-3.7.0/services/spd/tspd/
Dtspd_helpers.S23 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
/trusted-firmware-a-3.7.0/services/std_svc/spm/common/aarch64/
Dspm_helpers.S23 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
/trusted-firmware-a-3.7.0/services/std_svc/rmmd/aarch64/
Drmmd_helpers.S23 mov x3, sp
25 sub sp, sp, #RMMD_C_RT_CTX_SIZE
28 stp x19, x20, [sp, #RMMD_C_RT_CTX_X19]
29 stp x21, x22, [sp, #RMMD_C_RT_CTX_X21]
30 stp x23, x24, [sp, #RMMD_C_RT_CTX_X23]
31 stp x25, x26, [sp, #RMMD_C_RT_CTX_X25]
32 stp x27, x28, [sp, #RMMD_C_RT_CTX_X27]
33 stp x29, x30, [sp, #RMMD_C_RT_CTX_X29]
54 mov sp, x0
/trusted-firmware-a-3.7.0/services/spd/opteed/
Dopteed_helpers.S23 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
/trusted-firmware-a-3.7.0/services/spd/pncd/
Dpncd_helpers.S23 mov x3, sp
25 sub sp, sp, #PNCD_C_RT_CTX_SIZE
28 stp x19, x20, [sp, #PNCD_C_RT_CTX_X19]
29 stp x21, x22, [sp, #PNCD_C_RT_CTX_X21]
30 stp x23, x24, [sp, #PNCD_C_RT_CTX_X23]
31 stp x25, x26, [sp, #PNCD_C_RT_CTX_X25]
32 stp x27, x28, [sp, #PNCD_C_RT_CTX_X27]
33 stp x29, x30, [sp, #PNCD_C_RT_CTX_X29]
59 mov sp, x0
/trusted-firmware-a-3.7.0/services/spd/tlkd/
Dtlkd_helpers.S25 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
/trusted-firmware-a-3.7.0/services/std_svc/spmd/aarch64/
Dspmd_helpers.S23 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
/trusted-firmware-a-3.7.0/tools/sptool/
Dsp_mk_generator.py87 def get_sp_pkg(sp, args :dict): argument
116 def get_uuid(sp_layout, sp, args :dict): argument
118 if "uuid" in sp_layout[sp]:
120 uuid_std = uuid.UUID(sp_layout[sp]['uuid'])
122 with open(get_sp_manifest_full_path(sp_layout[sp], args), "r") as pm_f:
135 def get_load_address(sp_layout, sp, args :dict): argument
137 with open(get_sp_manifest_full_path(sp_layout[sp], args), "r") as pm_f:
152 def gen_fdt_sources(sp_layout, sp, args :dict): argument
154 manifest_path = get_sp_manifest_full_path(sp_layout[sp], args)
159 def gen_sptool_args(sp_layout, sp, args :dict): argument
[all …]
/trusted-firmware-a-3.7.0/plat/renesas/common/aarch64/
Dplat_helpers.S260 mov x1, sp
262 mov sp, x2
263 str x1, [sp, #-16]!
264 str x30, [sp, #-16]!
266 ldr x30, [sp], #16
267 ldr x1, [sp], #16
268 mov sp, x1
279 mov x1, sp
281 mov sp, x2
282 str x1, [sp, #-16]!
[all …]
/trusted-firmware-a-3.7.0/include/arch/aarch32/
Dsmccc_macros.S21 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}
108 str r5, [sp, #SMC_CTX_PMCR]
114 1: str r4, [sp, #SMC_CTX_SCR]
[all …]
/trusted-firmware-a-3.7.0/lib/el3_runtime/aarch64/
Dcontext.S383 ldr x17, [sp, #CTX_EL3STATE_OFFSET + CTX_MPAM3_EL3]
405 stp x0, x1, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X0]
406 stp x2, x3, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X2]
407 stp x4, x5, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X4]
408 stp x6, x7, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X6]
409 stp x8, x9, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X8]
410 stp x10, x11, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X10]
411 stp x12, x13, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X12]
412 stp x14, x15, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X14]
413 stp x16, x17, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X16]
[all …]

1234