MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _startC

Function _startC

freebsd/mips/mips/elf_trampoline.c:210–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void
211_startC(register_t a0, register_t a1, register_t a2, register_t a3)
212{
213 unsigned int * code;
214 int i;
215 void (*entry_point)(register_t, register_t, register_t, register_t);
216
217 /*
218 * Relocate segment to the predefined memory location
219 * Most likely it will be KSEG0/KSEG1 address
220 */
221 entry_point = load_kernel(kernel_start);
222
223 /* Pass saved registers to original _start */
224 entry_point(a0, a1, a2, a3);
225}

Callers

nothing calls this directly

Calls 1

load_kernelFunction · 0.85

Tested by

no test coverage detected