- New ARM HAL after 2 nights in the company of a madman.
[reactos.git] / reactos / hal / halarm / generic / reboot.c
1 /*
2 * PROJECT: ReactOS HAL
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: hal/halarm/generic/reboot.c
5 * PURPOSE: Reboot Function
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9 /* INCLUDES ******************************************************************/
10
11 #include <hal.h>
12 #define NDEBUG
13 #include <debug.h>
14
15 /* PUBLIC FUNCTIONS **********************************************************/
16
17 /*
18 * @implemented
19 */
20 VOID
21 NTAPI
22 HalReturnToFirmware(IN FIRMWARE_REENTRY Action)
23 {
24 /* Check what kind of action this is */
25 switch (Action)
26 {
27 /* All recognized actions */
28 case HalHaltRoutine:
29 case HalRebootRoutine:
30
31 /* Acquire the display */
32 InbvAcquireDisplayOwnership();
33
34 /* Anything else */
35 default:
36
37 /* Print message and break */
38 DbgPrint("HalReturnToFirmware called!\n");
39 DbgBreakPoint();
40 }
41 }
42
43 /* EOF */