Fix boot stack initialization by returning the highest address
All checks were successful
All checks were successful
This commit is contained in:
@@ -20,7 +20,7 @@ XTAPI
|
|||||||
PVOID
|
PVOID
|
||||||
AR::ProcSup::GetBootStack(VOID)
|
AR::ProcSup::GetBootStack(VOID)
|
||||||
{
|
{
|
||||||
return (PVOID)BootStack;
|
return (PVOID)((ULONG_PTR)BootStack + KERNEL_STACK_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
XTAPI
|
XTAPI
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ XTAPI
|
|||||||
PVOID
|
PVOID
|
||||||
AR::ProcSup::GetBootStack(VOID)
|
AR::ProcSup::GetBootStack(VOID)
|
||||||
{
|
{
|
||||||
return (PVOID)BootStack;
|
return (PVOID)((ULONG_PTR)BootStack + KERNEL_STACK_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
XTAPI
|
XTAPI
|
||||||
|
|||||||
Reference in New Issue
Block a user