mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
Call HAL-specific initialization handlers
svn path=/trunk/; revision=31196
This commit is contained in:
parent
40e8a9ec3a
commit
a979fff8fb
1 changed files with 6 additions and 0 deletions
|
@ -113,6 +113,9 @@ HalInitSystem(IN ULONG BootPhase,
|
||||||
|
|
||||||
/* Initialize the hardware lock (CMOS) */
|
/* Initialize the hardware lock (CMOS) */
|
||||||
KeInitializeSpinLock(&HalpSystemHardwareLock);
|
KeInitializeSpinLock(&HalpSystemHardwareLock);
|
||||||
|
|
||||||
|
/* Do some HAL-specific initialization */
|
||||||
|
HalpInitPhase0(LoaderBlock);
|
||||||
}
|
}
|
||||||
else if (BootPhase == 1)
|
else if (BootPhase == 1)
|
||||||
{
|
{
|
||||||
|
@ -128,6 +131,9 @@ HalInitSystem(IN ULONG BootPhase,
|
||||||
|
|
||||||
/* Initialize DMA. NT does this in Phase 0 */
|
/* Initialize DMA. NT does this in Phase 0 */
|
||||||
HalpInitDma();
|
HalpInitDma();
|
||||||
|
|
||||||
|
/* Do some HAL-specific initialization */
|
||||||
|
HalpInitPhase1();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* All done, return */
|
/* All done, return */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue