mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:46:13 +00:00
- Fix boot (thx hpoussin for hint).
svn path=/trunk/; revision=28575
This commit is contained in:
parent
149ea4f5f4
commit
aad59dfc19
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ CmpRosGetHardwareHive(OUT PULONG Length)
|
||||||
{
|
{
|
||||||
/* Check if it's not the SYSTEM hive that we already initialized */
|
/* Check if it's not the SYSTEM hive that we already initialized */
|
||||||
if ((MdBlock->BasePage) !=
|
if ((MdBlock->BasePage) !=
|
||||||
((ULONG_PTR)KeLoaderBlock->RegistryBase >> PAGE_SHIFT))
|
(((ULONG_PTR)KeLoaderBlock->RegistryBase &~ KSEG0_BASE) >> PAGE_SHIFT))
|
||||||
{
|
{
|
||||||
/* Hardware hive break out */
|
/* Hardware hive break out */
|
||||||
break;
|
break;
|
||||||
|
@ -156,7 +156,7 @@ CmpRosGetHardwareHive(OUT PULONG Length)
|
||||||
/* We need a hardware hive */
|
/* We need a hardware hive */
|
||||||
ASSERT(MdBlock);
|
ASSERT(MdBlock);
|
||||||
*Length = MdBlock->PageCount << PAGE_SHIFT;
|
*Length = MdBlock->PageCount << PAGE_SHIFT;
|
||||||
return (PVOID)(MdBlock->BasePage << PAGE_SHIFT);
|
return (PVOID)((MdBlock->BasePage << PAGE_SHIFT) | KSEG0_BASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue