2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
5 Desc: ColdReboot() - Reboot the computer.
9 #include <aros/debug.h>
11 #include "exec_util.h"
13 /*****************************************************************************
16 #include <proto/exec.h>
18 AROS_LH0(void, ColdReboot
,
21 struct ExecBase
*, SysBase
, 121, Exec
)
24 This function will reboot the computer.
30 This function does not return.
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.
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 ******************************************************************************/
53 Exec_DoResetCallbacks((struct IntExecBase
*)SysBase
, SD_ACTION_WARMREBOOT
);