Skip to content

Commit

Permalink
Integrate UefiCpuLib breaking change (#689)
Browse files Browse the repository at this point in the history
## Description

Updates the repo for a change that merged UefiCpuLib with CpuLib.

UefiCpuLib will be removed entirely soon so all references are updated
to CpuLib.

Includes the following submodule updates:

- `MU_BASECORE` to `v2023020005.0.1`
- `Common/MU` to `v2023020001.4.1`
- `Common/MU_TIANO` to `v2023020001.4.1`
- `Features/MM_SUPV` to `v8.1.5`

---

- [ ] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [ ] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
    a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

## How This Was Tested

- CI package build (via PR checks)

## Integration Instructions

N/A

---

Associated Changes in Submodules

- microsoft/mu_feature_mm_supv#164
- microsoft/mu_plus#304
- microsoft/mu_tiano_plus#174

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
  • Loading branch information
makubacki authored Aug 30, 2023
1 parent 8f47736 commit 4871be9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion MU_BASECORE
Submodule MU_BASECORE updated 37 files
+25 −2 .azurepipelines/MuDevOpsWrapper.yml
+1 −1 .devcontainer/devcontainer.json
+1 −1 .github/workflows/auto-approve.yml
+1 −1 .github/workflows/auto-merge.yml
+73 −1 .github/workflows/codeql.yml
+1 −1 .github/workflows/issue-assignment.yml
+1 −1 .github/workflows/label-issues.yml
+1 −1 .github/workflows/label-sync.yml
+1 −1 .github/workflows/release-draft.yml
+1 −1 .github/workflows/stale.yml
+1 −1 .github/workflows/triage-issues.yml
+10 −9 .pytool/Plugin/RustHostUnitTestPlugin/RustHostUnitTestPlugin.py
+48 −0 MdePkg/Include/Library/CpuLib.h
+6 −0 MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
+0 −0 MdePkg/Library/BaseCpuLib/Ia32/InitializeFpu.nasm
+0 −0 MdePkg/Library/BaseCpuLib/X64/InitializeFpu.nasm
+1 −1 MdePkg/Library/BaseCpuLib/X86BaseCpuLib.c
+0 −1 UefiCpuPkg/CpuDxe/CpuDxe.h
+0 −1 UefiCpuPkg/CpuDxe/CpuDxe.inf
+0 −49 UefiCpuPkg/Include/Library/UefiCpuLib.h
+1 −7 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
+18 −0 UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c
+0 −1 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
+0 −1 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
+0 −1 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c
+0 −1 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
+0 −1 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
+0 −1 UefiCpuPkg/Library/MpInitLib/MpLib.h
+0 −1 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
+0 −1 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h
+0 −1 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
+0 −1 UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h
+0 −1 UefiCpuPkg/SecCore/SecCore.inf
+0 −1 UefiCpuPkg/SecCore/SecCoreNative.inf
+0 −1 UefiCpuPkg/SecCore/SecMain.h
+2 −0 rust-toolchain.toml
+2 −4 rustfmt.toml
2 changes: 1 addition & 1 deletion Platforms/QemuQ35Pkg/CpuInfoDxe/CpuInfoDxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <Library/UefiBootServicesTableLib.h>
#include <Library/BaseLib.h>
#include <Library/PrintLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/CpuLib.h>
#include <Register/Intel/Cpuid.h>

#define MAX_MESSAGE_LENGTH 64
Expand Down
4 changes: 2 additions & 2 deletions Platforms/QemuQ35Pkg/CpuInfoDxe/CpuInfoDxe.inf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
ENTRY_POINT = CpuInfoDxeEntryPoint

[Sources]
CpuInfoDxe.c
CpuInfoDxe.c

[Packages]
MdePkg/MdePkg.dec
Expand All @@ -28,7 +28,7 @@
UefiLib
BaseLib
PrintLib
UefiCpuLib
CpuLib
UefiDriverEntryPoint
UefiBootServicesTableLib

Expand Down
1 change: 0 additions & 1 deletion Platforms/QemuQ35Pkg/QemuQ35Pkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@

# CPU/SMBUS/Peripherals Libraries
CpuLib |MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
UefiCpuLib |UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
SynchronizationLib |MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
LocalApicLib |UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
SmbusLib |MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
Expand Down
2 changes: 1 addition & 1 deletion Platforms/QemuQ35Pkg/Sec/SecMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <Library/BaseMemoryLib.h>
#include <Library/PeiServicesLib.h>
#include <Library/PcdLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/CpuLib.h>
#include <Library/DebugAgentLib.h>
#include <Library/IoLib.h>
#include <Library/PeCoffLib.h>
Expand Down
2 changes: 1 addition & 1 deletion Platforms/QemuQ35Pkg/Sec/SecMain.inf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
BaseMemoryLib
PeiServicesLib
PcdLib
UefiCpuLib
CpuLib
DebugAgentLib
IoLib
PeCoffLib
Expand Down

0 comments on commit 4871be9

Please sign in to comment.