2 Copyright © 1995-2009, The AROS Development Team. All rights reserved.
5 Desc: ShutdownA() - Shut down the operating system.
9 #include <aros/debug.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
16 AROS_LH1(ULONG
, ShutdownA
,
19 AROS_LHA(ULONG
, action
, D0
),
22 struct ExecBase
*, SysBase
, 173, Exec
)
25 This function will shut down the operating system.
29 * SD_ACTION_POWEROFF - power off the machine.
30 * SD_ACTION_COLDREBOOT - cold reboot the machine (not only AROS).
33 This function does not return in case of success. Otherwise is returns
37 It can be quite harmful to call this function. It may be possible that
38 you will lose data from other tasks not having saved, or disk buffers
39 not being flushed. Plus you could annoy the (other) users.
48 ******************************************************************************/
52 /* This is a stub, we don't know what to do here. The actual implementation
53 is entirely arch-specific. */