Patch configure so that we dont need a seperate spec file for x86_64. Pass info about...
[AROS.git] / arch / all-ios / bootstrap / kickstart.c
blob30b06a8d3441f43d972634d05e8f4c09120ffaed
1 #include <aros/kernel.h>
2 #include <runtime.h>
4 #include "kickstart.h"
6 /*
7 * Unfortunately it's impossible to fork() on iOS. fork()ed program can't register
8 * itself with Springboard and fails to run.
9 * So, well, currently we have no way to reboot AROS... Until we invent something clever. :)
11 int kick(int (*addr)(), struct TagItem *msg)
13 int i = addr(msg, AROS_BOOT_MAGIC);
15 DisplayError("Kernel exited with code %d", i);
16 return i;