3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/hal/x86/halinit.c
6 * PURPOSE: Initalize the x86 hal
7 * PROGRAMMER: David Welch (welch@cwcom.net)
12 /* INCLUDES *****************************************************************/
14 #include <ddk/ntddk.h>
23 #include <internal/debug.h>
25 /* FUNCTIONS ***************************************************************/
30 PDRIVER_OBJECT DriverObject,
31 PUNICODE_STRING RegistryPath)
33 return STATUS_SUCCESS;
37 HalInitSystem (ULONG BootPhase,
38 PLOADER_PARAMETER_BLOCK LoaderBlock)
42 HalInitializeDisplay (LoaderBlock);
52 /* Setup busy waiting */
53 HalpCalibrateStallExecution();
58 else if (BootPhase == 1)
60 HalpInitBusHandlers();
61 HalpCalibrateStallExecution();
63 /* Enumerate the devices on the motherboard */
64 HalpStartEnumerator();