Lines Matching refs:bl2_ep
45 static void __dead2 bl1_run_bl2(entry_point_info_t *bl2_ep)
50 bl2_ep->args.arg0 = RUN_IMAGE;
52 if (GET_SECURITY_STATE(bl2_ep->h.attr) == NON_SECURE)
53 change_security_state(GET_SECURITY_STATE(bl2_ep->h.attr));
55 write_spsr_el3(bl2_ep->spsr);
56 write_elr_el3(bl2_ep->pc);
58 eret(bl2_ep->args.arg0,
59 bl2_ep->args.arg1,
60 bl2_ep->args.arg2,
61 bl2_ep->args.arg3,
62 bl2_ep->args.arg4,
63 bl2_ep->args.arg5,
64 bl2_ep->args.arg6,
65 bl2_ep->args.arg7);
121 entry_point_info_t bl2_ep = { {0} };
140 SET_PARAM_HEAD(&bl2_ep, PARAM_EP, VERSION_1, 0);
178 &bl2_ep);
211 bl1_plat_set_bl2_ep_info(&bl2_image_info, &bl2_ep);
212 bl2_ep.args.arg1 = (unsigned long)bl2_tzram_layout;
215 (unsigned long long) bl2_ep.pc);
216 INFO("BL1: BL2 spsr = 0x%x\n", bl2_ep.spsr);
220 bl1_run_bl2(&bl2_ep);