1 | ## @file
|
---|
2 | # The Local Apic library supports x2APIC capable processors which have xAPIC and x2APIC modes.
|
---|
3 | #
|
---|
4 | # Note: Local APIC library assumes local APIC is enabled. It does not handle cases
|
---|
5 | # where local APIC is disabled.
|
---|
6 | #
|
---|
7 | # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
8 | # Copyright (c) 2020, AMD Inc. All rights reserved.<BR>
|
---|
9 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
10 | #
|
---|
11 | ##
|
---|
12 |
|
---|
13 | [Defines]
|
---|
14 | INF_VERSION = 0x00010005
|
---|
15 | BASE_NAME = BaseXApicX2ApicLib
|
---|
16 | MODULE_UNI_FILE = BaseXApicX2ApicLib.uni
|
---|
17 | FILE_GUID = 967B6E05-F10D-4c10-8BF7-365291CA143F
|
---|
18 | MODULE_TYPE = BASE
|
---|
19 | VERSION_STRING = 1.1
|
---|
20 | LIBRARY_CLASS = LocalApicLib
|
---|
21 |
|
---|
22 | #
|
---|
23 | # The following information is for reference only and not required by the build tools.
|
---|
24 | #
|
---|
25 | # VALID_ARCHITECTURES = IA32 X64
|
---|
26 | #
|
---|
27 |
|
---|
28 | [Sources]
|
---|
29 | BaseXApicX2ApicLib.c
|
---|
30 |
|
---|
31 | [Packages]
|
---|
32 | MdePkg/MdePkg.dec
|
---|
33 | UefiCpuPkg/UefiCpuPkg.dec
|
---|
34 |
|
---|
35 | [LibraryClasses]
|
---|
36 | BaseLib
|
---|
37 | DebugLib
|
---|
38 | TimerLib
|
---|
39 | IoLib
|
---|
40 | PcdLib
|
---|
41 | CpuLib
|
---|
42 |
|
---|
43 | [Pcd]
|
---|
44 | gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds ## SOMETIMES_CONSUMES
|
---|
45 | gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress ## SOMETIMES_CONSUMES
|
---|