Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenhalinit_mp.c
Go to the documentation of this file.
00001 /* $Id: halinit_mp.c 53675 2011-09-10 18:58:01Z tkreuzer $ 00002 * 00003 * COPYRIGHT: See COPYING in the top level directory 00004 * PROJECT: ReactOS kernel 00005 * FILE: hal/halx86/mp/halinit_mp.c 00006 * PURPOSE: Initalize the x86 mp hal 00007 * PROGRAMMER: David Welch (welch@cwcom.net) 00008 * UPDATE HISTORY: 00009 * 11/06/98: Created 00010 */ 00011 00012 /* INCLUDES *****************************************************************/ 00013 00014 #include <hal.h> 00015 #define NDEBUG 00016 #include <debug.h> 00017 00018 /* GLOBALS ******************************************************************/ 00019 00020 const USHORT HalpBuildType = HAL_BUILD_TYPE; 00021 extern BOOLEAN HaliFindSmpConfig(VOID); 00022 ULONG_PTR KernelBase; 00023 00024 /* FUNCTIONS ****************************************************************/ 00025 00026 VOID NTAPI HalpInitializePICs(IN BOOLEAN EnableInterrupts) 00027 { 00028 UNIMPLEMENTED; 00029 } 00030 00031 VOID 00032 HalpInitPhase0(PLOADER_PARAMETER_BLOCK LoaderBlock) 00033 00034 { 00035 static BOOLEAN MPSInitialized = FALSE; 00036 00037 00038 /* Only initialize MP system once. Once called the first time, 00039 each subsequent call is part of the initialization sequence 00040 for an application processor. */ 00041 00042 DPRINT("HalpInitPhase0()\n"); 00043 00044 00045 if (MPSInitialized) 00046 { 00047 ASSERT(FALSE); 00048 } 00049 00050 MPSInitialized = TRUE; 00051 00052 if (!HaliFindSmpConfig()) 00053 { 00054 ASSERT(FALSE); 00055 } 00056 00057 /* store the kernel base for later use */ 00058 KernelBase = (ULONG_PTR)CONTAINING_RECORD(LoaderBlock->LoadOrderListHead.Flink, LDR_DATA_TABLE_ENTRY, InLoadOrderLinks)->DllBase; 00059 00060 } 00061 00062 VOID 00063 HalpInitPhase1(VOID) 00064 { 00065 } 00066 00067 /* EOF */ Generated on Sat May 26 2012 04:27:24 for ReactOS by
1.7.6.1
|