stos/amd64: cpu: Add Local APIC driver stub
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <machine/cpuid.h>
|
||||
#include <machine/idt.h>
|
||||
#include <machine/msr.h>
|
||||
#include <machine/lapic.h>
|
||||
#include <stdef.h>
|
||||
|
||||
#define DTRACE(Fmt, ...) \
|
||||
@@ -157,6 +158,12 @@ HalKpcrP2Init(KPCR *Kpcr)
|
||||
}
|
||||
}
|
||||
|
||||
VOID
|
||||
HalKpcrP3Init(KPCR *Kpcr)
|
||||
{
|
||||
MdLapicInit(Kpcr);
|
||||
}
|
||||
|
||||
KPCR *
|
||||
HalKpcrCurrent(VOID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user