Removed debugging detritus and fixed a typo.
[AROS.git] / arch / all-hosted / bootstrap / kickstart.c
blob59939b71621807f2cd26abf880e7ef5606fbb27d
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 * This routine runs a kickstart.
13 * It's in a separate file because on some hosts (UNIX for example) the process can be
14 * more complicated.
16 int kick(int __aros (*addr)(), struct TagItem *msg)
18 int i = addr(msg, AROS_BOOT_MAGIC);
20 DisplayError("Kernel exited with code %d", i);
21 return i;