Proceed with architecture specific initialization
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
8da38af489
commit
b57e79aa7f
@ -12,6 +12,10 @@
|
|||||||
#include <xtos.h>
|
#include <xtos.h>
|
||||||
|
|
||||||
|
|
||||||
|
XTAPI
|
||||||
|
VOID
|
||||||
|
KepArchInitialize(VOID);
|
||||||
|
|
||||||
XTAPI
|
XTAPI
|
||||||
VOID
|
VOID
|
||||||
KepStartKernel(VOID);
|
KepStartKernel(VOID);
|
||||||
|
@ -9,6 +9,19 @@
|
|||||||
#include <xtos.h>
|
#include <xtos.h>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Performs architecture-specific initialization for the kernel executive.
|
||||||
|
*
|
||||||
|
* @return This routine does not return any value.
|
||||||
|
*
|
||||||
|
* @since XT 1.0
|
||||||
|
*/
|
||||||
|
XTAPI
|
||||||
|
VOID
|
||||||
|
KepArchInitialize(VOID)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This routine starts up the XT kernel. It is called after switching boot stack.
|
* This routine starts up the XT kernel. It is called after switching boot stack.
|
||||||
*
|
*
|
||||||
|
@ -9,6 +9,19 @@
|
|||||||
#include <xtos.h>
|
#include <xtos.h>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Performs architecture-specific initialization for the kernel executive.
|
||||||
|
*
|
||||||
|
* @return This routine does not return any value.
|
||||||
|
*
|
||||||
|
* @since XT 1.0
|
||||||
|
*/
|
||||||
|
XTAPI
|
||||||
|
VOID
|
||||||
|
KepArchInitialize(VOID)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This routine starts up the XT kernel. It is called after switching boot stack.
|
* This routine starts up the XT kernel. It is called after switching boot stack.
|
||||||
*
|
*
|
||||||
|
@ -51,6 +51,9 @@ KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
|
|||||||
/* Initialize kernel stacks */
|
/* Initialize kernel stacks */
|
||||||
KepInitializeStack(Parameters);
|
KepInitializeStack(Parameters);
|
||||||
|
|
||||||
|
/* Architecture specific initialization */
|
||||||
|
KepArchInitialize();
|
||||||
|
|
||||||
/* 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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user