Rename KepInitializeBootStructures() to KepInitializeStack()
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
3c3e93afc7
commit
8da38af489
@ -18,7 +18,7 @@ KepStartKernel(VOID);
|
|||||||
|
|
||||||
XTAPI
|
XTAPI
|
||||||
VOID
|
VOID
|
||||||
KepInitializeBootStructures(IN PKERNEL_INITIALIZATION_BLOCK Parameters);
|
KepInitializeStack(IN PKERNEL_INITIALIZATION_BLOCK Parameters);
|
||||||
|
|
||||||
XTAPI
|
XTAPI
|
||||||
VOID
|
VOID
|
||||||
|
@ -48,15 +48,15 @@ KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
|
|||||||
/* Save the kernel initialization block */
|
/* Save the kernel initialization block */
|
||||||
KeInitializationBlock = Parameters;
|
KeInitializationBlock = Parameters;
|
||||||
|
|
||||||
/* Initialize kernel boot structures */
|
/* Initialize kernel stacks */
|
||||||
KepInitializeBootStructures(Parameters);
|
KepInitializeStack(Parameters);
|
||||||
|
|
||||||
/* Switch boot stack alligning it to 4 byte boundary */
|
/* Switch boot stack alligning it to 4 byte boundary */
|
||||||
KepSwitchBootStack(KeInitializationBlock->KernelBootStack & ~0x3);
|
KepSwitchBootStack(KeInitializationBlock->KernelBootStack & ~0x3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes boot structures needed by the kernel startup code.
|
* Initializes a stack needed by the kernel.
|
||||||
*
|
*
|
||||||
* @param Parameters
|
* @param Parameters
|
||||||
* Supplies a pointer to memory area containing parameters passed to kernel by bootloader.
|
* Supplies a pointer to memory area containing parameters passed to kernel by bootloader.
|
||||||
@ -67,7 +67,7 @@ KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
|
|||||||
*/
|
*/
|
||||||
XTAPI
|
XTAPI
|
||||||
VOID
|
VOID
|
||||||
KepInitializeBootStructures(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
|
KepInitializeStack(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
|
||||||
{
|
{
|
||||||
/* Make sure kernel boot stack is initialized */
|
/* Make sure kernel boot stack is initialized */
|
||||||
if(!Parameters->KernelBootStack)
|
if(!Parameters->KernelBootStack)
|
||||||
|
Loading…
Reference in New Issue
Block a user