2010-06-04 10:59:19 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS HAL
|
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
|
|
* FILE: hal/halx86/amd64/halinit.c
|
|
|
|
* PURPOSE: HAL Entrypoint and Initialization
|
2011-09-02 14:45:19 +00:00
|
|
|
* PROGRAMMERS:
|
2010-06-04 10:59:19 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
|
|
|
|
#include <hal.h>
|
|
|
|
#define NDEBUG
|
|
|
|
#include <debug.h>
|
|
|
|
|
|
|
|
/* GLOBALS *******************************************************************/
|
|
|
|
|
2010-09-23 20:22:12 +00:00
|
|
|
BOOLEAN HalpPciLockSettings;
|
|
|
|
|
2010-06-04 10:59:19 +00:00
|
|
|
/* PRIVATE FUNCTIONS *********************************************************/
|
|
|
|
|
|
|
|
/* FUNCTIONS *****************************************************************/
|
2011-09-13 14:44:47 +00:00
|
|
|
#if 0
|
2011-09-02 14:45:19 +00:00
|
|
|
VOID
|
2011-09-10 15:55:15 +00:00
|
|
|
NTAPI
|
|
|
|
HalpInitProcessor(
|
|
|
|
IN ULONG ProcessorNumber,
|
|
|
|
IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
2011-09-02 14:45:19 +00:00
|
|
|
{
|
2011-09-10 15:55:15 +00:00
|
|
|
DPRINT1("ApicInitializeProcessor(%ld)\n", ProcessorNumber);
|
2011-09-02 14:45:19 +00:00
|
|
|
|
2011-09-10 15:55:15 +00:00
|
|
|
/* Initialize the local APIC for this cpu */
|
|
|
|
ApicInitializeLocalApic(ProcessorNumber);
|
2011-09-02 14:45:19 +00:00
|
|
|
|
2011-09-10 15:55:15 +00:00
|
|
|
/* Initialize the timer */
|
|
|
|
//ApicInitializeTimer(ProcessorNumber);
|
2011-09-02 14:45:19 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
VOID
|
2011-09-10 15:55:15 +00:00
|
|
|
HalpInitPhase0(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
2011-09-02 14:45:19 +00:00
|
|
|
{
|
2011-09-10 15:55:15 +00:00
|
|
|
|
2011-09-02 14:45:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
2011-09-10 15:55:15 +00:00
|
|
|
HalpInitPhase1(VOID)
|
2010-06-04 10:59:19 +00:00
|
|
|
{
|
2011-09-10 15:55:15 +00:00
|
|
|
|
2010-06-04 10:59:19 +00:00
|
|
|
}
|
2011-09-10 15:55:15 +00:00
|
|
|
|
2011-09-13 14:44:47 +00:00
|
|
|
#endif
|
2011-09-10 15:55:15 +00:00
|
|
|
|