ReactOS  0.4.15-dev-1397-g19779b3
reboot.c File Reference
#include <hal.h>
#include <debug.h>
Include dependency graph for reboot.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

VOID NTAPI HalReturnToFirmware (IN FIRMWARE_REENTRY Action)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file reboot.c.

Function Documentation

◆ HalReturnToFirmware()

VOID NTAPI HalReturnToFirmware ( IN FIRMWARE_REENTRY  Action)

Definition at line 22 of file reboot.c.

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 }
#define DbgPrint
Definition: loader.c:25
void DbgBreakPoint()
Definition: mach.c:553
VOID NTAPI InbvAcquireDisplayOwnership(VOID)
Definition: inbv.c:528
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
Definition: wdfiotarget.h:506

Referenced by KdbpCmdReboot(), KdpSendWaitContinue(), KeBugCheckWithTf(), and PopShutdownSystem().