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>
17 #include <internal/ntoskrnl.h>
24 #include <internal/debug.h>
26 /* FUNCTIONS ***************************************************************/
31 PDRIVER_OBJECT DriverObject,
32 PUNICODE_STRING RegistryPath)
34 return STATUS_SUCCESS;
38 HalInitSystem (ULONG BootPhase,
39 PLOADER_PARAMETER_BLOCK LoaderBlock)
43 HalInitializeDisplay (LoaderBlock);
53 /* Setup busy waiting */
54 HalpCalibrateStallExecution();
59 else if (BootPhase == 1)
61 HalpInitBusHandlers ();
62 HalpCalibrateStallExecution ();
64 /* Enumerate the devices on the motherboard */
65 HalpStartEnumerator();