move the generic arm kernel & exec to arm-native
[AROS.git] / arch / arm-native / exec / coldreboot.c
blobad5a17d0b380ca6a94599120429480d8f97f73c1
1 /*
2 Copyright © 2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: ColdReboot() - Reboot the computer.
6 Lang: english
7 */
9 #include <exec/types.h>
10 #include <exec/execbase.h>
11 #include <exec/tasks.h>
12 #include <aros/libcall.h>
14 #include <proto/exec.h>
16 #include "exec_intern.h"
17 #include "exec_util.h"
19 /* See rom/exec/coldreboot.c for documentation */
21 AROS_LH0(void, ColdReboot,
22 struct ExecBase *, SysBase, 121, Exec)
24 AROS_LIBFUNC_INIT
26 Exec_DoResetCallbacks((struct IntExecBase *)SysBase, SD_ACTION_WARMREBOOT);
28 asm volatile("mov pc,#0;");
30 AROS_LIBFUNC_EXIT