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/
H A Dmain.c71 struct plat_nsec_ctx nsec_ctx; member
78 struct sm_nsec_ctx *nsec_ctx; in init_sec_mon() local
89 nsec_ctx = sm_get_nsec_ctx(); in init_sec_mon()
91 nsec_ctx->ub_regs.usr_sp = plat_boot_args->nsec_ctx.usr_sp; in init_sec_mon()
92 nsec_ctx->ub_regs.usr_lr = plat_boot_args->nsec_ctx.usr_lr; in init_sec_mon()
93 nsec_ctx->ub_regs.irq_spsr = plat_boot_args->nsec_ctx.irq_spsr; in init_sec_mon()
94 nsec_ctx->ub_regs.irq_sp = plat_boot_args->nsec_ctx.irq_sp; in init_sec_mon()
95 nsec_ctx->ub_regs.irq_lr = plat_boot_args->nsec_ctx.irq_lr; in init_sec_mon()
96 nsec_ctx->ub_regs.svc_spsr = plat_boot_args->nsec_ctx.svc_spsr; in init_sec_mon()
97 nsec_ctx->ub_regs.svc_sp = plat_boot_args->nsec_ctx.svc_sp; in init_sec_mon()
[all …]
/optee_os/core/arch/arm/kernel/
H A Dboot.c145 struct sm_nsec_ctx *nsec_ctx; in init_sec_mon() local
150 nsec_ctx = sm_get_nsec_ctx(); in init_sec_mon()
151 nsec_ctx->mon_lr = nsec_entry; in init_sec_mon()
152 nsec_ctx->mon_spsr = CPSR_MODE_SVC | CPSR_I; in init_sec_mon()
154 nsec_ctx->mon_spsr |= CPSR_T; in init_sec_mon()