Skip to content

Commit

Permalink
[CHERRY-PICK] UefiCpuPkg: Remove UefiCpuLib from module INFs.
Browse files Browse the repository at this point in the history
Because UefiCpuPkg/UefiCpuLib is merged to MdePkg/CpuLib, remove the
dependency of UefiCpuLib.

Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Signed-off-by: Yu Pu <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
  • Loading branch information
PuYuuu authored and kenlautner committed Aug 30, 2023
1 parent 6815bfd commit 17f0766
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion UefiCpuPkg/CpuDxe/CpuDxe.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <Library/DebugLib.h>
#include <Library/MtrrLib.h>
#include <Library/LocalApicLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/UefiLib.h>
#include <Library/CpuExceptionHandlerLib.h>
#include <Library/HobLib.h>
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/CpuDxe/CpuDxe.inf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
UefiBootServicesTableLib
UefiDriverEntryPoint
LocalApicLib
UefiCpuLib
UefiLib
CpuExceptionHandlerLib
HobLib
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <Library/TimerLib.h>
#include <Library/PcdLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>

//
// Library internal functions
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
IoLib
PcdLib
CpuLib
UefiCpuLib

[Pcd]
gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds ## SOMETIMES_CONSUMES
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <Library/TimerLib.h>
#include <Library/PcdLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <IndustryStandard/Tdx.h>

//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
IoLib
PcdLib
CpuLib
UefiCpuLib

[Pcd]
gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds ## SOMETIMES_CONSUMES
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
HobLib
MtrrLib
CpuLib
UefiCpuLib
UefiBootServicesTableLib
DebugAgentLib
SynchronizationLib
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/Library/MpInitLib/MpLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <Library/DebugLib.h>
#include <Library/LocalApicLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/TimerLib.h>
#include <Library/SynchronizationLib.h>
#include <Library/MtrrLib.h>
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
HobLib
MtrrLib
CpuLib
UefiCpuLib
SynchronizationLib
PeiServicesLib
PcdLib
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include <Library/HobLib.h>
#include <Library/LocalApicLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/CpuExceptionHandlerLib.h>
#include <Library/ReportStatusCodeLib.h>
#include <Library/SmmCpuFeaturesLib.h>
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
HobLib
PciLib
LocalApicLib
UefiCpuLib
SmmCpuPlatformHookLib
CpuExceptionHandlerLib
UefiLib
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/DxeServicesTableLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <IndustryStandard/Acpi.h>
#include <Library/MmMemoryProtectionHobLib.h> // MU_CHANGE

Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/SecCore/SecCore.inf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
PcdLib
DebugAgentLib
CpuLib
UefiCpuLib
PeCoffGetEntryPointLib
PeCoffExtraActionLib
CpuExceptionHandlerLib
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/SecCore/SecCoreNative.inf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
PcdLib
DebugAgentLib
CpuLib
UefiCpuLib
PeCoffGetEntryPointLib
PeCoffExtraActionLib
CpuExceptionHandlerLib
Expand Down
1 change: 0 additions & 1 deletion UefiCpuPkg/SecCore/SecMain.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <Library/BaseMemoryLib.h>
#include <Library/PlatformSecLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/PeCoffGetEntryPointLib.h>
#include <Library/PeCoffExtraActionLib.h>
#include <Library/DebugAgentLib.h>
Expand Down

0 comments on commit 17f0766

Please sign in to comment.