pass -static-libstdc++ via LDFLAGS
[AROS.git] / rom / exec / coldreboot.c
blob9f8d2d9a912e585d412de5c42b1f07e57a5ad67d
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: ColdReboot() - Reboot the computer.
6 Lang: english
7 */
9 #include <aros/debug.h>
11 #include "exec_util.h"
13 /*****************************************************************************
15 NAME */
16 #include <proto/exec.h>
18 AROS_LH0(void, ColdReboot,
20 /* LOCATION */
21 struct ExecBase *, SysBase, 121, Exec)
23 /* FUNCTION
24 This function will reboot the computer.
26 INPUTS
27 None.
29 RESULT
30 This function does not return.
32 NOTES
33 It can be quite harmful to call this function. It may be possible that
34 you will lose data from other tasks not having saved, or disk buffers
35 not being flushed. Plus you could annoy the (other) users.
37 EXAMPLE
39 BUGS
41 SEE ALSO
43 INTERNALS
44 This function is not really necessary, and could be left unimplemented
45 on many systems. It is best when using this function to allow the memory
46 contents to remain as they are, since some programs may use this
47 function when installing resident modules.
49 ******************************************************************************/
51 AROS_LIBFUNC_INIT
53 Exec_DoResetCallbacks((struct IntExecBase *)SysBase, SD_ACTION_WARMREBOOT);
55 AROS_LIBFUNC_EXIT
56 } /* ColdReboot() */