mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
43 lines
983 B
C
43 lines
983 B
C
/*
|
|
* PROJECT: ReactOS HAL
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: hal/halarm/generic/reboot.c
|
|
* PURPOSE: Reboot Function
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
#include <hal.h>
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* PUBLIC FUNCTIONS **********************************************************/
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
VOID
|
|
NTAPI
|
|
HalReturnToFirmware(IN FIRMWARE_REENTRY Action)
|
|
{
|
|
/* Check what kind of action this is */
|
|
switch (Action)
|
|
{
|
|
/* All recognized actions */
|
|
case HalHaltRoutine:
|
|
case HalRebootRoutine:
|
|
|
|
/* Acquire the display */
|
|
InbvAcquireDisplayOwnership();
|
|
|
|
/* Anything else */
|
|
default:
|
|
|
|
/* Print message and break */
|
|
DbgPrint("HalReturnToFirmware called!\n");
|
|
DbgBreakPoint();
|
|
}
|
|
}
|
|
|
|
/* EOF */
|