blob: ca3e796cadb11d5f3638d027c2171355591eae0c (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "bootloader.h"
_Noreturn void bootloader(struct systemid *boot)
{
if (!boot->load_addr) fail();
long *stack = (long*) (boot->stack_master ? boot->stack_master : 0x06002000);
jump((void*) boot->load_addr, stack);
}
|