Rename KepArchInitialize() routine to KepInitializeMachine()
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 26s
Builds / ExectOS (i686) (push) Successful in 27s

This commit is contained in:
Rafal Kupiec 2023-10-29 10:38:23 +01:00
parent f05a262da2
commit 6d63750fc2
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
5 changed files with 11 additions and 7 deletions

View File

@ -27,7 +27,7 @@ KeGetCurrentThread(VOID);
XTAPI XTAPI
VOID VOID
KepArchInitialize(VOID); KepInitializeMachine(VOID);
XTAPI XTAPI
VOID VOID

View File

@ -27,7 +27,7 @@ KeGetCurrentThread(VOID);
XTAPI XTAPI
VOID VOID
KepArchInitialize(VOID); KepInitializeMachine(VOID);
XTAPI XTAPI
VOID VOID

View File

@ -18,7 +18,7 @@
*/ */
XTAPI XTAPI
VOID VOID
KepArchInitialize(VOID) KepInitializeMachine(VOID)
{ {
/* Re-enable IDE interrupts */ /* Re-enable IDE interrupts */
HlIoPortOutByte(0x376, 0); HlIoPortOutByte(0x376, 0);
@ -36,7 +36,9 @@ XTAPI
VOID VOID
KepStartKernel(VOID) KepStartKernel(VOID)
{ {
DebugPrint(L"Hello from new kernel stack!\n"); /* Print debug message */
DebugPrint(L"Starting ExectOS ...\n");
for(;;); for(;;);
} }

View File

@ -18,7 +18,7 @@
*/ */
XTAPI XTAPI
VOID VOID
KepArchInitialize(VOID) KepInitializeMachine(VOID)
{ {
/* Re-enable IDE interrupts */ /* Re-enable IDE interrupts */
HlIoPortOutByte(0x376, 0); HlIoPortOutByte(0x376, 0);
@ -36,7 +36,9 @@ XTAPI
VOID VOID
KepStartKernel(VOID) KepStartKernel(VOID)
{ {
DebugPrint(L"Hello from new kernel stack!\n"); /* Print debug message */
DebugPrint(L"Starting ExectOS ...\n");
for(;;); for(;;);
} }

View File

@ -50,7 +50,7 @@ KeStartXtSystem(IN PKERNEL_INITIALIZATION_BLOCK Parameters)
ArInitializeProcessor(); ArInitializeProcessor();
/* Architecture specific kernel initialization */ /* Architecture specific kernel initialization */
KepArchInitialize(); KepInitializeMachine();
/* Switch boot stack aligning it to 4 byte boundary */ /* Switch boot stack aligning it to 4 byte boundary */
KepSwitchBootStack((ULONG_PTR)&ArKernelBootStack & ~0x3); KepSwitchBootStack((ULONG_PTR)&ArKernelBootStack & ~0x3);