ReactOS  0.4.14-dev-317-g96040ec
reboot.c
Go to the documentation of this file.
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
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 */
33 
34  /* Anything else */
35  default:
36 
37  /* Print message and break */
38  DbgPrint("HalReturnToFirmware called!\n");
39  DbgBreakPoint();
40  }
41 }
42 
43 /* EOF */
#define IN
Definition: typedefs.h:38
#define DbgPrint
Definition: loader.c:25
void DbgBreakPoint()
Definition: mach.c:553
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
enum _FIRMWARE_REENTRY FIRMWARE_REENTRY
_In_ PLIST_ENTRY _In_ PSTRING _In_ USHORT _In_opt_ PSTRING _In_opt_ PSTRING _In_ ULONG _In_ ULONG Action
Definition: fsrtlfuncs.h:738
VOID NTAPI HalReturnToFirmware(IN FIRMWARE_REENTRY Action)
Definition: reboot.c:22
VOID NTAPI InbvAcquireDisplayOwnership(VOID)
Definition: inbv.c:532