Skip to content

Commit

Permalink
Merge branch 'dev/202405' into personal/apop5/updateoverridevalidatoi…
Browse files Browse the repository at this point in the history
…ntosort
  • Loading branch information
apop5 authored Sep 25, 2024
2 parents f77c86c + a952e84 commit 03a7327
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .azurepipelines/MuDevOpsWrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ resources:
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v10.0.0
ref: refs/tags/v12.0.2

parameters:
- name: do_ci_build
Expand Down Expand Up @@ -82,7 +82,7 @@ parameters:
jobs:
- template: Jobs/PrGate.yml@mu_devops
parameters:
linux_container_image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:0e124c1
linux_container_image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:d1e4ff1
${{ if eq(parameters.rust_build, true) }}:
linux_container_options: --security-opt seccomp=unconfined
do_ci_build: ${{ parameters.do_ci_build }}
Expand All @@ -105,7 +105,7 @@ jobs:

container:

image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:0e124c1
image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:d1e4ff1
options: --user root --name mu_devops_build_container --security-opt seccomp=unconfined

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<_Include a description of the change and why this change was made._>

For details on how to complete to complete these options and their meaning refer to [CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md).
For details on how to complete these options and their meaning refer to [CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md).

- [ ] Impacts functionality?
- [ ] Impacts security?
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v10.0.0
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v12.0.2
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v10.0.0
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v12.0.2
secrets: inherit
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ on:
branches:
- main
- release/*
- dev/*
pull_request:
branches:
- main
- release/*
- dev/*
paths-ignore:
- '!**.c'
- '!**.h'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
contents: read
issues: write

uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v10.0.0
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v12.0.2
2 changes: 1 addition & 1 deletion .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
contents: read
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v10.0.0
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v12.0.2
2 changes: 1 addition & 1 deletion .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v10.0.0
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v12.0.2
2 changes: 1 addition & 1 deletion .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
contents: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v10.0.0
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v12.0.2
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
issues: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/Stale.yml@v10.0.0
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v12.0.2
2 changes: 1 addition & 1 deletion .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v10.0.0
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v12.0.2
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Project Mu pull requests autopopulate a PR description from a template in most r

2. **Remove** this line of instructions so the PR description shows cleanly in release notes:

`"For details on how to complete to complete these options and their meaning refer to [CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md)."`
`"For details on how to complete these options and their meaning refer to [CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md)."`

3. For each checkbox in the PR description, **place an "x"** in between `[` and `]` if true. Example: `[x]`.
_(you can also check items in the GitHub UI)_
Expand Down
4 changes: 2 additions & 2 deletions CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ DxeCryptLibConstructor (
}

Version = mCryptoProtocol->GetVersion ();
if (Version < EDKII_CRYPTO_VERSION) {
if (Version != EDKII_CRYPTO_VERSION) {
DEBUG ((DEBUG_ERROR, "[DxeCryptLib] Crypto Protocol unsupported version %d\n", Version));
ASSERT (Version >= EDKII_CRYPTO_VERSION);
ASSERT (Version == EDKII_CRYPTO_VERSION);
mCryptoProtocol = NULL;
return EFI_NOT_FOUND;
}
Expand Down
4 changes: 2 additions & 2 deletions CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ GetCryptoServices (
}

Version = CryptoPpi->GetVersion ();
if (Version < EDKII_CRYPTO_VERSION) {
if (Version != EDKII_CRYPTO_VERSION) {
DEBUG ((DEBUG_ERROR, "[PeiCryptLib] Crypto PPI unsupported version %d\n", Version));
ASSERT (Version >= EDKII_CRYPTO_VERSION);
ASSERT (Version == EDKII_CRYPTO_VERSION);
return NULL;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ RuntimeDxeCryptLibConstructor (
}

Version = mCryptoProtocol->GetVersion ();
if (Version < EDKII_CRYPTO_VERSION) {
if (Version != EDKII_CRYPTO_VERSION) {
DEBUG ((DEBUG_ERROR, "[%a] Crypto Protocol unsupported version %u.\n", __func__, Version));
ASSERT (Version >= EDKII_CRYPTO_VERSION);
ASSERT (Version == EDKII_CRYPTO_VERSION);
mCryptoProtocol = NULL;
return EFI_NOT_FOUND;
}
Expand Down
4 changes: 2 additions & 2 deletions CryptoPkg/Library/BaseCryptLibOnProtocolPpi/SmmCryptLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ SmmCryptLibConstructor (
}

Version = mSmmCryptoProtocol->GetVersion ();
if (Version < EDKII_CRYPTO_VERSION) {
if (Version != EDKII_CRYPTO_VERSION) {
DEBUG ((DEBUG_ERROR, "[SmmCryptLib] Crypto SMM Protocol unsupported version %d\n", Version));
ASSERT (Version >= EDKII_CRYPTO_VERSION);
ASSERT (Version == EDKII_CRYPTO_VERSION);
mSmmCryptoProtocol = NULL;
return EFI_NOT_FOUND;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ StandaloneMmCryptLibConstructor (
}

Version = mSmmCryptoProtocol->GetVersion ();
if (Version < EDKII_CRYPTO_VERSION) {
if (Version != EDKII_CRYPTO_VERSION) {
DEBUG ((DEBUG_ERROR, "[StandaloneMmCryptLib] Crypto SMM Protocol unsupported version %d\n", Version));
ASSERT (Version >= EDKII_CRYPTO_VERSION);
ASSERT (Version == EDKII_CRYPTO_VERSION);
mSmmCryptoProtocol = NULL;
return EFI_NOT_FOUND;
}
Expand Down
1 change: 1 addition & 0 deletions MdeModulePkg/Core/PiSmmCore/Smi.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ SmiManage (

PERF_FUNCTION_BEGIN ();
mSmiManageCallingDepth++;
WillReturn = FALSE;
Status = EFI_NOT_FOUND;
ReturnStatus = Status;
if (HandlerType == NULL) {
Expand Down
6 changes: 3 additions & 3 deletions pip-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
# https://www.python.org/dev/peps/pep-0440/#version-specifiers
##

edk2-pytool-library~=0.21.10 # MU_CHANGE
edk2-pytool-extensions~=0.27.11 # MU_CHANGE
edk2-pytool-library~=0.21.11 # MU_CHANGE
edk2-pytool-extensions~=0.27.12 # MU_CHANGE
antlr4-python3-runtime==4.13.2
lcov-cobertura==2.0.2
pygount==1.8.0 # MU_CHANGE
toml==0.10.2 # MU_CHANGE
regex==2024.7.24
regex==2024.9.11
4 changes: 2 additions & 2 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[toolchain]
channel = "1.76.0"
channel = "1.80.0"

[tool]
cargo-make = "0.37.9"
cargo-tarpaulin = "0.27.3"
cargo-tarpaulin = "0.31.2"

0 comments on commit 03a7327

Please sign in to comment.