ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

reboot.c
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS HAL
00003  * LICENSE:         BSD - See COPYING.ARM in the top level directory
00004  * FILE:            hal/halarm/generic/reboot.c
00005  * PURPOSE:         Reboot Function
00006  * PROGRAMMERS:     ReactOS Portable Systems Group
00007  */
00008 
00009 /* INCLUDES ******************************************************************/
00010 
00011 #include <hal.h>
00012 #define NDEBUG
00013 #include <debug.h>
00014 
00015 /* PUBLIC FUNCTIONS **********************************************************/
00016 
00017 /*
00018  * @implemented
00019  */
00020 VOID
00021 NTAPI
00022 HalReturnToFirmware(IN FIRMWARE_REENTRY Action)
00023 {
00024     /* Check what kind of action this is */
00025     switch (Action)
00026     {
00027         /* All recognized actions */
00028         case HalHaltRoutine:
00029         case HalRebootRoutine:
00030 
00031             /* Acquire the display */
00032             InbvAcquireDisplayOwnership();
00033 
00034         /* Anything else */
00035         default:
00036 
00037             /* Print message and break */
00038             DbgPrint("HalReturnToFirmware called!\n");
00039             DbgBreakPoint();
00040     }
00041 }
00042 
00043 /* EOF */

Generated on Sun May 27 2012 04:28:40 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.