Copyright clean-up (part 1):
[AROS.git] / arch / all-ios / bootstrap / kickstart.c
blob7033de002370879e6d21439b393d0a300603184f
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/kernel.h>
7 #include <runtime.h>
9 #include "kickstart.h"
12 * Unfortunately it's impossible to fork() on iOS. fork()ed program can't register
13 * itself with Springboard and fails to run.
14 * So, well, currently we have no way to reboot AROS... Until we invent something clever. :)
16 int kick(int (*addr)(), struct TagItem *msg)
18 int i = addr(msg, AROS_BOOT_MAGIC);
20 DisplayError("Kernel exited with code %d", i);
21 return i;