2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: hal/halx86/apic/halinit_apic.c
5 * PURPOSE: Initialize the x86 hal
6 * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
9 /* INCLUDES *****************************************************************/
18 ApicInitializeLocalApic(ULONG Cpu
);
20 /* GLOBALS ******************************************************************/
22 const USHORT HalpBuildType
= HAL_BUILD_TYPE
;
24 /* FUNCTIONS ****************************************************************/
29 IN ULONG ProcessorNumber
,
30 IN PLOADER_PARAMETER_BLOCK LoaderBlock
)
32 /* Initialize the local APIC for this cpu */
33 ApicInitializeLocalApic(ProcessorNumber
);
35 /* Initialize the timer */
36 //ApicInitializeTimer(ProcessorNumber);
41 HalpInitPhase0(IN PLOADER_PARAMETER_BLOCK LoaderBlock
)
44 /* Enable clock interrupt handler */
45 HalpEnableInterruptHandler(IDT_INTERNAL
,
56 /* Initialize DMA. NT does this in Phase 0 */