Add stub routine for identifying processor
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2023-02-05 00:42:30 +01:00
parent c6cadbd655
commit 0b743a5f26
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
3 changed files with 21 additions and 2 deletions

View File

@ -71,6 +71,12 @@ ArInitializeProcessor(VOID)
ArpIdentifyProcessor();
}
XTAPI
VOID
ArpIdentifyProcessor(VOID)
{
}
/**
* Initializes the kernel's Global Descriptor Table (GDT).
*

View File

@ -53,11 +53,20 @@ ArInitializeProcessor(VOID)
ArLoadInterruptDescriptorTable(&IdtDescriptor.Limit);
ArLoadTaskRegister((UINT)KGDT_SYS_TSS);
/* Enter passive IRQ level */
ProcessorBlock->Irql = PASSIVE_LEVEL;
/* Load FS segment */
ArLoadSegment(SEGMENT_FS, KGDT_R0_PB);
/* Enter passive IRQ level */
ProcessorBlock->Irql = PASSIVE_LEVEL;
/* Identify processor */
ArpIdentifyProcessor();
}
XTAPI
VOID
ArpIdentifyProcessor(VOID)
{
}
/**

View File

@ -108,6 +108,10 @@ XTCDECL
VOID
ArpHandleTrapFF();
XTAPI
VOID
ArpIdentifyProcessor(VOID);
XTAPI
VOID
ArpInitializeGdt(IN PKPROCESSOR_BLOCK ProcessorBlock);