Home
last modified time | relevance | path

Searched refs:r0 (Results 1 – 13 of 13) sorted by relevance

/trusty/kernel/lib/mmutest/
Dmmutest_arm.S40 mov r0, #0
54 mov r0, #0
67 ldr r0, =.Ltest_rodata_long
71 str r1, [r0]
73 ldr r0, [r0]
97 ldreq r1, [r0]
100 ldrtne r1, [r0]
105 streq r1, [r0]
108 strtne r1, [r0]
112 ldr r2, [r0]
[all …]
/trusty/hardware/nxp/platform/imx/
Dvtimer.S35 push {r0}
38 SWITCH_SCR_TO_NONSECURE r0
40 mrc p15, 0, r0, c0, c1, 1 /* read ID_PFR1 */
41 ands r0, r0, #CPUID_ARM_GENTIMER_EXT_MASK /* test arch timer bits */
42 movne r0, #0
43 mcrrne p15, 4, r0, r0, c14 /* Reset CNTVOFF to zero */
45 SWITCH_SCR_TO_SECURE r0
48 pop {r0}
/trusty/kernel/lib/arm_trng/
Darm_trng.c57 if ((long)smc_ret.r0 < 0) { in arm_trng_check_for_support()
58 panic("ARM TRNG version SMC error: %lx\n", smc_ret.r0); in arm_trng_check_for_support()
61 long trng_major_version = (long)smc_ret.r0 >> 16; in arm_trng_check_for_support()
68 if ((long)smc_ret.r0 < 0) { in arm_trng_check_for_support()
69 panic("ARM TRNG features SMC error: %lx\n", smc_ret.r0); in arm_trng_check_for_support()
101 if ((long)smc_ret.r0 != TRNG_ERROR_NO_ENTROPY) { in platform_random_get_bytes()
125 if ((long)smc_ret.r0 < 0) { in platform_random_get_bytes()
126 panic("ARM TRNG RND SMC error: %lx\n", smc_ret.r0); in platform_random_get_bytes()
/trusty/kernel/app/fptest/
Dfptest_arm.S29 .macro init_regs vall=r0, valh=r1, reg=0
56 mov r1, r0
57 mov r0, #0
58 check_regs r0, r1, r2, r3, ip
/trusty/kernel/lib/smc/arch/arm/
Dsmc.S34 push {r0, lr}
37 mov r0, r1
50 stmia r12, {r0-r7}
/trusty/kernel/lib/smc/include/lib/smc/
Dsmc.h29 ulong r0; member
39 struct smc_ret8 smc8(ulong r0,
48 struct smc_ret8 hvc8(ulong r0,
/trusty/kernel/lib/sm/arch/arm/
Dentry.S36 mov r1, r0
41 ldr r0, =SMC_SC_NS_RETURN
48 stmia r12, {r0-r3, r7}
101 str r0, [r5, #__MMU_INITIAL_MAPPING_SIZE_OFFSET]
Dmonitor.S65 push {r0-r3, ip}
147 pop {r0-r3, ip}
277 mov r0, r1 /* secure os passes the return code in r1 */
294 ldr r0, =SMC_FC_FIQ_ENTER
307 ldr r0, [sp, #(6 * 4)] /* load saved spsr */
323 msr spsr_cfsx, r0
338 mov r0, r12 /* restore r0 used for smc number */
355 mov lr, r0
357 mov r0, lr
/trusty/kernel/services/smc/
Dsmc_service.c48 ulong r0; member
74 register ulong _r0 __asm__(SMC_ARG0) = regs->r0; in smc()
83 .r0 = _r0, in smc()
133 .r0 = (ulong)request.params[0], in smc_service_handle_msg()
140 response.msg.params[0] = ret.r0; in smc_service_handle_msg()
145 if ((int32_t)ret.r0 == SM_ERR_UNDEFINED_SMC) { in smc_service_handle_msg()
/trusty/kernel/platform/generic-arm64/
Dsmc.c44 ulong generic_arm64_smc(ulong r0, ulong r1, ulong r2, ulong r3) { in generic_arm64_smc() argument
45 register ulong _r0 __asm__(SMC_ARG0) = r0; in generic_arm64_smc()
Dsmc.h49 ulong generic_arm64_smc(ulong r0, ulong r1, ulong r2, ulong r3);
/trusty/kernel/lib/arm_ffa/
Darm_ffa.c60 switch (smc_ret.r0) { in arm_ffa_call_id_get()
79 TRACEF("Unexpected FFA SMC: %lx\n", smc_ret.r0); in arm_ffa_call_id_get()
94 if (smc_ret.r0 == (ulong)FFA_ERROR_NOT_SUPPORTED) { in arm_ffa_call_version()
97 *major_ret = FFA_VERSION_TO_MAJOR(smc_ret.r0); in arm_ffa_call_version()
98 *minor_ret = FFA_VERSION_TO_MINOR(smc_ret.r0); in arm_ffa_call_version()
124 switch (smc_ret.r0) { in arm_ffa_call_features()
146 TRACEF("Unexpected FFA SMC: %lx\n", smc_ret.r0); in arm_ffa_call_features()
169 switch (smc_ret.r0) { in arm_ffa_call_mem_retrieve_req()
211 switch (smc_ret.r0) { in arm_ffa_call_mem_frag_rx()
236 TRACEF("Unexpected function id returned 0x%08lx\n", smc_ret.r0); in arm_ffa_call_mem_frag_rx()
[all …]
/trusty/kernel/lib/sm/
DREADME20 "platform_reset". It also assumes that r0 contains the size of memory reserved