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 /* Initialize display and make the screen black */
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();
67 else if (BootPhase == 2)
69 /* Go to blue screen */
70 HalClearDisplay (0x17); /* grey on blue */