Home
last modified time | relevance | path

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

12345

/trusted-firmware-a-3.4.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.4.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.4.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.4.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.4.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.4.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.4.0/lib/compiler-rt/builtins/arm/
Daeabi_ldivmod.S27 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
Daeabi_uldivmod.S27 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
/trusted-firmware-a-3.4.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()
87 INFO("SP (0x%x) init start on core%u.\n", sp->sp_id, linear_id); in spmc_cpu_on_finish_handler()
105 struct secure_partition_desc *sp = spmc_get_current_sp_ctx(); in spmc_send_pm_msg() local
113 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()
277 struct secure_partition_desc *sp; in direct_req_smc_handler() local
310 sp = spmc_get_sp_ctx(dst_id); in direct_req_smc_handler()
311 if (sp == NULL) { in direct_req_smc_handler()
322 idx = get_ec_index(sp); in direct_req_smc_handler()
323 if (sp->ec[idx].rt_state != RT_STATE_WAITING) { in direct_req_smc_handler()
325 idx, sp->ec[idx].rt_model); in direct_req_smc_handler()
333 sp->ec[idx].rt_state = RT_STATE_RUNNING; in direct_req_smc_handler()
334 sp->ec[idx].rt_model = RT_MODEL_DIR_REQ; in direct_req_smc_handler()
[all …]
/trusted-firmware-a-3.4.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.4.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.4.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.4.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.4.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.4.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.4.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.4.0/bl31/aarch64/
Dea_delegate.S53 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]
113 ldp x0, x1, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X0]
114 ldp x2, x3, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X2]
115 ldp x4, x5, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X4]
119 ldr x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR]
136 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR]
241 ldr x5, [sp, #CTX_EL3STATE_OFFSET + CTX_ESR_EL3]
[all …]
Druntime_exceptions.S64 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR]
101 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR]
103 str x30, [sp, #CTX_EL3STATE_OFFSET + CTX_IS_IN_EL3]
140 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR]
142 str x30, [sp, #CTX_EL3STATE_OFFSET + CTX_IS_IN_EL3]
155 str x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR]
156 ldr x30, [sp, #CTX_EL3STATE_OFFSET + CTX_IS_IN_EL3]
180 str x29, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X29]
183 ldr x29, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X29]
197 ldr x30, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_LR]
[all …]
/trusted-firmware-a-3.4.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.4.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.4.0/tools/sptool/
Dsp_mk_generator.py86 def get_sp_pkg(sp, args :dict): argument
123 def gen_fdt_sources(sp_layout, sp, args :dict): argument
125 manifest_path = get_sp_manifest_full_path(sp_layout[sp], args)
130 def gen_sptool_args(sp_layout, sp, args :dict): argument
132 sp_pkg = get_sp_pkg(sp, args)
133 sp_dtb_name = os.path.basename(get_file_from_layout(sp_layout[sp]["pm"]))[:-1] + "b"
142 pm_offset = get_pm_offset(sp_layout[sp])
144 image_offset = get_image_offset(sp_layout[sp])
161 owners = [sp_layout[sp].get("owner") for sp in sp_layout]
173 def gen_crt_args(sp_layout, sp, args :dict): argument
[all …]
/trusted-firmware-a-3.4.0/services/spd/trusty/
Dtrusty_helpers.S9 .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

12345