Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenreboot.c
Go to the documentation of this file.
00001 /* $Id: reboot.c 23907 2006-09-04 05:52:23Z arty $ 00002 * 00003 * COPYRIGHT: See COPYING in the top level directory 00004 * PROJECT: ReactOS kernel 00005 * FILE: ntoskrnl/hal/x86/reboot.c 00006 * PURPOSE: Reboot functions. 00007 * PROGRAMMER: Eric Kohl 00008 * UPDATE HISTORY: 00009 * Created 11/10/99 00010 */ 00011 00012 #include <hal.h> 00013 #define NDEBUG 00014 #include <debug.h> 00015 00016 typedef void (*void_fun)(); 00017 static VOID 00018 HalReboot (VOID) 00019 { 00020 void_fun reset_vector = (void_fun)0xfff00100; 00021 reset_vector(); 00022 } 00023 00024 00025 VOID NTAPI 00026 HalReturnToFirmware ( 00027 FIRMWARE_REENTRY Action 00028 ) 00029 { 00030 if (Action == HalHaltRoutine) 00031 { 00032 DbgPrint ("HalReturnToFirmware called!\n"); 00033 DbgBreakPoint (); 00034 } 00035 else if (Action == HalRebootRoutine) 00036 { 00037 HalReboot (); 00038 } 00039 } 00040 00041 /* EOF */ Generated on Sat May 26 2012 04:27:16 for ReactOS by
1.7.6.1
|