12#ifndef __LOCAL_APIC_LIB_H__
13#define __LOCAL_APIC_LIB_H__
15#define LOCAL_APIC_MODE_XAPIC 0x1
16#define LOCAL_APIC_MODE_X2APIC 0x2
200 IN UINT32 StartupRoutine
219 IN UINT32 StartupRoutine
236 IN UINT32 StartupRoutine
316 IN BOOLEAN PeriodicMode,
331 OUT BOOLEAN *PeriodicMode OPTIONAL,
332 OUT UINT8 *Vector OPTIONAL
419 IN BOOLEAN LevelTriggered,
420 IN BOOLEAN AssertionLevel
438 IN UINT32 InitialApicId,
439 OUT UINT32 *Package OPTIONAL,
440 OUT UINT32 *Core OPTIONAL,
441 OUT UINT32 *Thread OPTIONAL
463 IN UINT32 InitialApicId,
464 OUT UINT32 *Package OPTIONAL,
465 OUT UINT32 *Die OPTIONAL,
466 OUT UINT32 *Tile OPTIONAL,
467 OUT UINT32 *Module OPTIONAL,
468 OUT UINT32 *Core OPTIONAL,
469 OUT UINT32 *Thread OPTIONAL
VOID EFIAPI SendInitSipiSipiAllExcludingSelf(IN UINT32 StartupRoutine)
VOID EFIAPI SendFixedIpiAllExcludingSelf(IN UINT8 Vector)
VOID EFIAPI InitializeLocalApicSoftwareEnable(IN BOOLEAN Enable)
VOID EFIAPI SendSmiIpi(IN UINT32 ApicId)
UINT32 EFIAPI GetApicVersion(VOID)
BOOLEAN EFIAPI GetApicTimerInterruptState(VOID)
VOID EFIAPI SetLocalApicBaseAddress(IN UINTN BaseAddress)
UINT32 EFIAPI GetApicId(VOID)
VOID EFIAPI DisableLvtInterrupts(VOID)
VOID EFIAPI GetApicTimerState(OUT UINTN *DivideValue OPTIONAL, OUT BOOLEAN *PeriodicMode OPTIONAL, OUT UINT8 *Vector OPTIONAL)
VOID EFIAPI SendInitIpi(IN UINT32 ApicId)
UINT32 EFIAPI GetInitialApicId(VOID)
VOID EFIAPI SendInitIpiAllExcludingSelf(VOID)
VOID EFIAPI SendSmiIpiAllExcludingSelf(VOID)
UINTN EFIAPI GetApicMode(VOID)
VOID EFIAPI ProgramVirtualWireMode(VOID)
VOID EFIAPI EnableApicTimerInterrupt(VOID)
UINT32 EFIAPI GetApicMsiAddress(VOID)
VOID EFIAPI SendStartupIpiAllExcludingSelf(IN UINT32 StartupRoutine)
VOID EFIAPI SendFixedIpi(IN UINT32 ApicId, IN UINT8 Vector)
VOID EFIAPI SetApicMode(IN UINTN ApicMode)
UINT32 EFIAPI GetApicTimerInitCount(VOID)
UINTN EFIAPI GetLocalApicBaseAddress(VOID)
UINT64 EFIAPI GetApicMsiValue(IN UINT8 Vector, IN UINTN DeliveryMode, IN BOOLEAN LevelTriggered, IN BOOLEAN AssertionLevel)
VOID EFIAPI GetProcessorLocation2ByApicId(IN UINT32 InitialApicId, OUT UINT32 *Package OPTIONAL, OUT UINT32 *Die OPTIONAL, OUT UINT32 *Tile OPTIONAL, OUT UINT32 *Module OPTIONAL, OUT UINT32 *Core OPTIONAL, OUT UINT32 *Thread OPTIONAL)
VOID EFIAPI GetProcessorLocationByApicId(IN UINT32 InitialApicId, OUT UINT32 *Package OPTIONAL, OUT UINT32 *Core OPTIONAL, OUT UINT32 *Thread OPTIONAL)
VOID EFIAPI InitializeApicTimer(IN UINTN DivideValue, IN UINT32 InitCount, IN BOOLEAN PeriodicMode, IN UINT8 Vector)
VOID EFIAPI SendApicEoi(VOID)
UINT32 EFIAPI GetApicTimerCurrentCount(VOID)
VOID EFIAPI SendInitSipiSipi(IN UINT32 ApicId, IN UINT32 StartupRoutine)
VOID EFIAPI DisableApicTimerInterrupt(VOID)