Home
last modified time | relevance | path

Searched refs:nsec_ctx (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/arch/arm/plat-ti/
A Dmain.c109 nsec_ctx->ub_regs.usr_sp = plat_boot_args->nsec_ctx.usr_sp; in init_sec_mon()
110 nsec_ctx->ub_regs.usr_lr = plat_boot_args->nsec_ctx.usr_lr; in init_sec_mon()
112 nsec_ctx->ub_regs.irq_sp = plat_boot_args->nsec_ctx.irq_sp; in init_sec_mon()
113 nsec_ctx->ub_regs.irq_lr = plat_boot_args->nsec_ctx.irq_lr; in init_sec_mon()
115 nsec_ctx->ub_regs.svc_sp = plat_boot_args->nsec_ctx.svc_sp; in init_sec_mon()
116 nsec_ctx->ub_regs.svc_lr = plat_boot_args->nsec_ctx.svc_lr; in init_sec_mon()
118 nsec_ctx->ub_regs.abt_sp = plat_boot_args->nsec_ctx.abt_sp; in init_sec_mon()
119 nsec_ctx->ub_regs.abt_lr = plat_boot_args->nsec_ctx.abt_lr; in init_sec_mon()
121 nsec_ctx->ub_regs.und_sp = plat_boot_args->nsec_ctx.und_sp; in init_sec_mon()
123 nsec_ctx->mon_lr = plat_boot_args->nsec_ctx.mon_lr; in init_sec_mon()
[all …]
/optee_os/core/arch/arm/kernel/
A Dboot.c125 struct sm_nsec_ctx *nsec_ctx; in init_sec_mon() local
130 nsec_ctx = sm_get_nsec_ctx(); in init_sec_mon()
131 nsec_ctx->mon_lr = nsec_entry; in init_sec_mon()
132 nsec_ctx->mon_spsr = CPSR_MODE_SVC | CPSR_I; in init_sec_mon()
134 nsec_ctx->mon_spsr |= CPSR_T; in init_sec_mon()

Completed in 5 milliseconds