mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 11:56:26 +00:00
4f0b8d3db0
svn path=/branches/ntvdm/; revision=59241
44 lines
845 B
C
44 lines
845 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS kernel
|
|
* FILE: ntoskrnl/hal/x86/halinit.c
|
|
* PURPOSE: Initialize the x86 hal
|
|
* PROGRAMMER: David Welch (welch@cwcom.net)
|
|
* UPDATE HISTORY:
|
|
* 11/06/98: Created
|
|
*/
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
#include "halxbox.h"
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
const USHORT HalpBuildType = HAL_BUILD_TYPE;
|
|
|
|
/* FUNCTIONS ***************************************************************/
|
|
|
|
VOID
|
|
NTAPI
|
|
HalpInitProcessor(
|
|
IN ULONG ProcessorNumber,
|
|
IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
|
{
|
|
/* Set default IDR */
|
|
KeGetPcr()->IDR = 0xFFFFFFFB;
|
|
}
|
|
|
|
VOID
|
|
HalpInitPhase0(PLOADER_PARAMETER_BLOCK LoaderBlock)
|
|
{
|
|
HalpXboxInitPartIo();
|
|
}
|
|
|
|
VOID
|
|
HalpInitPhase1(VOID)
|
|
{
|
|
}
|
|
|
|
/* EOF */
|