TianoCore EDK2 master
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
200VOID
201EFIAPI
203 IN UINT32 ApicId,
204 IN UINT32 StartupRoutine
205 );
206
218VOID
219EFIAPI
221 IN UINT32 StartupRoutine
222 );
223
232VOID
233EFIAPI
235 IN BOOLEAN Enable
236 );
237
246VOID
247EFIAPI
249 VOID
250 );
251
257VOID
258EFIAPI
260 VOID
261 );
262
268UINT32
269EFIAPI
271 VOID
272 );
273
279UINT32
280EFIAPI
282 VOID
283 );
284
296VOID
297EFIAPI
299 IN UINTN DivideValue,
300 IN UINT32 InitCount,
301 IN BOOLEAN PeriodicMode,
302 IN UINT8 Vector
303 );
304
312VOID
313EFIAPI
315 OUT UINTN *DivideValue OPTIONAL,
316 OUT BOOLEAN *PeriodicMode OPTIONAL,
317 OUT UINT8 *Vector OPTIONAL
318 );
319
323VOID
324EFIAPI
326 VOID
327 );
328
332VOID
333EFIAPI
335 VOID
336 );
337
344BOOLEAN
345EFIAPI
347 VOID
348 );
349
353VOID
354EFIAPI
356 VOID
357 );
358
365UINT32
366EFIAPI
368 VOID
369 );
370
399UINT64
400EFIAPI
402 IN UINT8 Vector,
403 IN UINTN DeliveryMode,
404 IN BOOLEAN LevelTriggered,
405 IN BOOLEAN AssertionLevel
406 );
407
420VOID
421EFIAPI
423 IN UINT32 InitialApicId,
424 OUT UINT32 *Package OPTIONAL,
425 OUT UINT32 *Core OPTIONAL,
426 OUT UINT32 *Thread OPTIONAL
427 );
428
445VOID
446EFIAPI
448 IN UINT32 InitialApicId,
449 OUT UINT32 *Package OPTIONAL,
450 OUT UINT32 *Die OPTIONAL,
451 OUT UINT32 *Tile OPTIONAL,
452 OUT UINT32 *Module OPTIONAL,
453 OUT UINT32 *Core OPTIONAL,
454 OUT UINT32 *Thread OPTIONAL
455 );
456
457#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID EFIAPI SendInitSipiSipiAllExcludingSelf(IN UINT32 StartupRoutine)
Definition: BaseXApicLib.c:551
VOID EFIAPI SendFixedIpiAllExcludingSelf(IN UINT8 Vector)
Definition: BaseXApicLib.c:405
VOID EFIAPI InitializeLocalApicSoftwareEnable(IN BOOLEAN Enable)
Definition: BaseXApicLib.c:584
VOID EFIAPI SendSmiIpi(IN UINT32 ApicId)
Definition: BaseXApicLib.c:428
UINT32 EFIAPI GetApicVersion(VOID)
Definition: BaseXApicLib.c:365
BOOLEAN EFIAPI GetApicTimerInterruptState(VOID)
Definition: BaseXApicLib.c:854
VOID EFIAPI SetLocalApicBaseAddress(IN UINTN BaseAddress)
Definition: BaseXApicLib.c:97
UINT32 EFIAPI GetApicId(VOID)
Definition: BaseXApicLib.c:338
VOID EFIAPI DisableLvtInterrupts(VOID)
Definition: BaseXApicLib.c:660
VOID EFIAPI GetApicTimerState(OUT UINTN *DivideValue OPTIONAL, OUT BOOLEAN *PeriodicMode OPTIONAL, OUT UINT8 *Vector OPTIONAL)
Definition: BaseXApicLib.c:774
VOID EFIAPI SendInitIpi(IN UINT32 ApicId)
Definition: BaseXApicLib.c:469
UINT32 EFIAPI GetInitialApicId(VOID)
Definition: BaseXApicLib.c:299
VOID EFIAPI SendInitIpiAllExcludingSelf(VOID)
Definition: BaseXApicLib.c:488
VOID EFIAPI SendSmiIpiAllExcludingSelf(VOID)
Definition: BaseXApicLib.c:447
UINTN EFIAPI GetApicMode(VOID)
Definition: BaseXApicLib.c:243
VOID EFIAPI ProgramVirtualWireMode(VOID)
Definition: BaseXApicLib.c:617
VOID EFIAPI EnableApicTimerInterrupt(VOID)
Definition: BaseXApicLib.c:819
UINT32 EFIAPI GetApicMsiAddress(VOID)
Definition: BaseXApicLib.c:884
VOID EFIAPI SendFixedIpi(IN UINT32 ApicId, IN UINT8 Vector)
Definition: BaseXApicLib.c:382
VOID EFIAPI SetApicMode(IN UINTN ApicMode)
Definition: BaseXApicLib.c:280
UINT32 EFIAPI GetApicTimerInitCount(VOID)
Definition: BaseXApicLib.c:682
UINTN EFIAPI GetLocalApicBaseAddress(VOID)
Definition: BaseXApicLib.c:67
UINT64 EFIAPI GetApicMsiValue(IN UINT8 Vector, IN UINTN DeliveryMode, IN BOOLEAN LevelTriggered, IN BOOLEAN AssertionLevel)
Definition: BaseXApicLib.c:930
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:969
VOID EFIAPI InitializeApicTimer(IN UINTN DivideValue, IN UINT32 InitCount, IN BOOLEAN PeriodicMode, IN UINT8 Vector)
Definition: BaseXApicLib.c:716
VOID EFIAPI SendApicEoi(VOID)
Definition: BaseXApicLib.c:869
UINT32 EFIAPI GetApicTimerCurrentCount(VOID)
Definition: BaseXApicLib.c:696
VOID EFIAPI SendInitSipiSipi(IN UINT32 ApicId, IN UINT32 StartupRoutine)
Definition: BaseXApicLib.c:515
VOID EFIAPI DisableApicTimerInterrupt(VOID)
Definition: BaseXApicLib.c:835