| 208 | } |
| 209 | |
| 210 | void |
| 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 | } |
nothing calls this directly
no test coverage detected