Lines Matching defs:ep
58 void cm_setup_context(cpu_context_t *ctx, const entry_point_info_t *ep)
66 security_state = GET_SECURITY_STATE(ep->h.attr);
101 assert(((ep->spsr >> SPSR_E_SHIFT) & SPSR_E_MASK) ==
102 (EP_GET_EE(ep->h.attr) >> EP_EE_SHIFT));
104 sctlr = (EP_GET_EE(ep->h.attr) != 0U) ? SCTLR_EE_BIT : 0U;
113 if (GET_M32(ep->spsr) == MODE32_hyp)
122 write_ctx_reg(reg_ctx, CTX_LR, ep->pc);
123 write_ctx_reg(reg_ctx, CTX_SPSR, ep->spsr);
129 memcpy((void *)reg_ctx, (void *)&ep->args, sizeof(aapcs32_params_t));
166 const entry_point_info_t *ep)
169 ctx = cm_get_context_by_index(cpu_idx, GET_SECURITY_STATE(ep->h.attr));
170 cm_setup_context(ctx, ep);
178 void cm_init_my_context(const entry_point_info_t *ep)
181 ctx = cm_get_context(GET_SECURITY_STATE(ep->h.attr));
182 cm_setup_context(ctx, ep);