TianoCore EDK2 master
Loading...
Searching...
No Matches
LocalApicLib.h
Go to the documentation of this file.
1
12#ifndef __LOCAL_APIC_LIB_H__
13#define __LOCAL_APIC_LIB_H__
14
15#define LOCAL_APIC_MODE_XAPIC 0x1
16#define LOCAL_APIC_MODE_X2APIC 0x2
17
25EFIAPI
27 VOID
28 );
29
38VOID
39EFIAPI
41 IN UINTN BaseAddress
42 );
43
53EFIAPI
55 VOID
56 );
57
69VOID
70EFIAPI
72 IN UINTN ApicMode
73 );
74
84UINT32
85EFIAPI
87 VOID
88 );
89
95UINT32
96EFIAPI
98 VOID
99 );
100
106UINT32
107EFIAPI
109 VOID
110 );
111
120VOID
121EFIAPI
123 IN UINT32 ApicId,
124 IN UINT8 Vector
125 );
126
134VOID
135EFIAPI
137 IN UINT8 Vector
138 );
139
147VOID
148EFIAPI
150 IN UINT32 ApicId
151 );
152
158VOID
159EFIAPI
161 VOID
162 );
163
171VOID
172EFIAPI
174 IN UINT32 ApicId
175 );
176
182VOID
183EFIAPI
185 VOID
186 );
187
197VOID
198EFIAPI
200 IN UINT32 StartupRoutine
201 );
202
215VOID
216EFIAPI
218 IN UINT32 ApicId,
219 IN UINT32 StartupRoutine
220 );
221
233VOID
234EFIAPI
236 IN UINT32 StartupRoutine
237 );
238
247VOID
248EFIAPI
250 IN BOOLEAN Enable
251 );
252
261VOID
262EFIAPI
264 VOID
265 );
266
272VOID
273EFIAPI
275 VOID
276 );
277
283UINT32
284EFIAPI
286 VOID
287 );
288
294UINT32
295EFIAPI
297 VOID
298 );
299
311VOID
312EFIAPI
314 IN UINTN DivideValue,
315 IN UINT32 InitCount,
316 IN BOOLEAN PeriodicMode,
317 IN UINT8 Vector
318 );
319
327VOID
328EFIAPI
330 OUT UINTN *DivideValue OPTIONAL,
331 OUT BOOLEAN *PeriodicMode OPTIONAL,
332 OUT UINT8 *Vector OPTIONAL
333 );
334
338VOID
339EFIAPI
341 VOID
342 );
343
347VOID
348EFIAPI
350 VOID
351 );
352
359BOOLEAN
360EFIAPI
362 VOID
363 );
364
368VOID
369EFIAPI
371 VOID
372 );
373
380UINT32
381EFIAPI
383 VOID
384 );
385
414UINT64
415EFIAPI
417 IN UINT8 Vector,
418 IN UINTN DeliveryMode,
419 IN BOOLEAN LevelTriggered,
420 IN BOOLEAN AssertionLevel
421 );
422
435VOID
436EFIAPI
438 IN UINT32 InitialApicId,
439 OUT UINT32 *Package OPTIONAL,
440 OUT UINT32 *Core OPTIONAL,
441 OUT UINT32 *Thread OPTIONAL
442 );
443
460VOID
461EFIAPI
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
470 );
471
472#endif
UINT64 UINTN
VOID EFIAPI SendInitSipiSipiAllExcludingSelf(IN UINT32 StartupRoutine)
Definition: BaseXApicLib.c:577
VOID EFIAPI SendFixedIpiAllExcludingSelf(IN UINT8 Vector)
Definition: BaseXApicLib.c:404
VOID EFIAPI InitializeLocalApicSoftwareEnable(IN BOOLEAN Enable)
Definition: BaseXApicLib.c:600
VOID EFIAPI SendSmiIpi(IN UINT32 ApicId)
Definition: BaseXApicLib.c:427
UINT32 EFIAPI GetApicVersion(VOID)
Definition: BaseXApicLib.c:364
BOOLEAN EFIAPI GetApicTimerInterruptState(VOID)
Definition: BaseXApicLib.c:870
VOID EFIAPI SetLocalApicBaseAddress(IN UINTN BaseAddress)
Definition: BaseXApicLib.c:96
UINT32 EFIAPI GetApicId(VOID)
Definition: BaseXApicLib.c:337
VOID EFIAPI DisableLvtInterrupts(VOID)
Definition: BaseXApicLib.c:676
VOID EFIAPI GetApicTimerState(OUT UINTN *DivideValue OPTIONAL, OUT BOOLEAN *PeriodicMode OPTIONAL, OUT UINT8 *Vector OPTIONAL)
Definition: BaseXApicLib.c:790
VOID EFIAPI SendInitIpi(IN UINT32 ApicId)
Definition: BaseXApicLib.c:468
UINT32 EFIAPI GetInitialApicId(VOID)
Definition: BaseXApicLib.c:298
VOID EFIAPI SendInitIpiAllExcludingSelf(VOID)
Definition: BaseXApicLib.c:487
VOID EFIAPI SendSmiIpiAllExcludingSelf(VOID)
Definition: BaseXApicLib.c:446
UINTN EFIAPI GetApicMode(VOID)
Definition: BaseXApicLib.c:242
VOID EFIAPI ProgramVirtualWireMode(VOID)
Definition: BaseXApicLib.c:633
VOID EFIAPI EnableApicTimerInterrupt(VOID)
Definition: BaseXApicLib.c:835
UINT32 EFIAPI GetApicMsiAddress(VOID)
Definition: BaseXApicLib.c:900
VOID EFIAPI SendStartupIpiAllExcludingSelf(IN UINT32 StartupRoutine)
Definition: BaseXApicLib.c:510
VOID EFIAPI SendFixedIpi(IN UINT32 ApicId, IN UINT8 Vector)
Definition: BaseXApicLib.c:381
VOID EFIAPI SetApicMode(IN UINTN ApicMode)
Definition: BaseXApicLib.c:279
UINT32 EFIAPI GetApicTimerInitCount(VOID)
Definition: BaseXApicLib.c:698
UINTN EFIAPI GetLocalApicBaseAddress(VOID)
Definition: BaseXApicLib.c:66
UINT64 EFIAPI GetApicMsiValue(IN UINT8 Vector, IN UINTN DeliveryMode, IN BOOLEAN LevelTriggered, IN BOOLEAN AssertionLevel)
Definition: BaseXApicLib.c:946
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)
Definition: BaseXApicLib.c:985
VOID EFIAPI InitializeApicTimer(IN UINTN DivideValue, IN UINT32 InitCount, IN BOOLEAN PeriodicMode, IN UINT8 Vector)
Definition: BaseXApicLib.c:732
VOID EFIAPI SendApicEoi(VOID)
Definition: BaseXApicLib.c:885
UINT32 EFIAPI GetApicTimerCurrentCount(VOID)
Definition: BaseXApicLib.c:712
VOID EFIAPI SendInitSipiSipi(IN UINT32 ApicId, IN UINT32 StartupRoutine)
Definition: BaseXApicLib.c:541
VOID EFIAPI DisableApicTimerInterrupt(VOID)
Definition: BaseXApicLib.c:851
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284