Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

kdreboot.c

Go to the documentation of this file.
00001 /*++ 00002 00003 Copyright (c) 1990 Microsoft Corporation 00004 00005 Module Name: 00006 00007 kdreboot.c 00008 00009 Abstract: 00010 00011 System reboot function. Currently part of the debugger because 00012 that's the only place it's used. 00013 00014 Author: 00015 00016 Bryan M. Willman (bryanwi) 4-Dec-90 00017 00018 Revision History: 00019 00020 John Vert (jvert) 03-Jun-1991 00021 Tweaked magic address to skip memory check on reboot. 00022 00023 John Vert (jvert) 13-Aug-1991 00024 Code moved to HalReturnToFirmware, which this calls. 00025 00026 --*/ 00027 00028 #include "kdp.h" 00029 00030 #define CMOS_CTRL (PUCHAR )0x70 00031 #define CMOS_DATA (PUCHAR )0x71 00032 00033 #define RESET 0xfe 00034 #define KEYBPORT (PUCHAR )0x64 00035 00036 00037 VOID 00038 KdpReboot ( 00039 VOID 00040 ); 00041 00042 #ifdef ALLOC_PRAGMA 00043 #pragma alloc_text(PAGEKD, KdpReboot) 00044 #endif 00045 00046 VOID 00047 KdpReboot ( 00048 VOID 00049 ) 00050 00051 /*++ 00052 00053 Routine Description: 00054 00055 Just calls the HalReturnToFirmware function. 00056 00057 Arguments: 00058 00059 None 00060 00061 Return Value: 00062 00063 Does not return 00064 00065 --*/ 00066 00067 { 00068 // 00069 // Never returns from HAL 00070 // 00071 00072 KeReturnToFirmware(HalRebootRoutine); 00073 } 00074 

Generated on Sat May 15 19:40:34 2004 for test by doxygen 1.3.7