-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MdePkg: Add FdtLib gmock support #62
Open
jbrasen
wants to merge
6
commits into
master
Choose a base branch
from
Upstream/FdtLibGmock
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jbrasen
added
Pending EDK2 Review
EDK2 maintainer review needed
Pending EDK2 merge
Change is not in tianocore/master
Pending EDK2 stable release
Change is not in most recent edk2-stable tag
labels
Dec 11, 2023
The UncrustifyCheck plugin passes os.stat.S_IWRITE to os.chmod, when attempting to change file permissions. os.stat.S_IWRITE does not exist as os.stat is a function. The correct value is stat.S_IWRITE. Signed-off-by: Joey Vagedes <[email protected]> Cc: Liming Gao <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Sean Brogan <[email protected]> Reviewed-by: Michael D Kinney <[email protected]>
The current dependency evaluator violates the memory access permission when patching depex grammar directly in the read-only depex memory area. Laszlo pointed out the optimization issue in the thread (1) "Memory Attribute for depex section" and provided suggested patch to remove the perf optimization. In my testing, removing the optimization does not make significant perf reduction. That makes sense that StandaloneMM dispatcher only searches in MM protocol database and does not depend on UEFI/DXE protocol database. Also, we don't have many protocols in StandaloneMM like UEFI/DXE. From Laszlo, "The patch removes the EFI_DEP_REPLACE_TRUE handling altogether, plus it CONST-ifies the Iterator pointer (which points into the DEPEX section), so that the compiler catch any possible accesses at *build time* that would write to the write-protected DEPEX memory area." (1) https://edk2.groups.io/g/devel/message/113531 Signed-off-by: Nhi Pham <[email protected]> Tested-by: levi.yun <[email protected]> Reviewed-by: levi.yun <[email protected]> Reviewed-by: Ray Ni <[email protected]>
Add the description of EFI_FILE_INFO FileName[1] field to align with UEFI spec 2.10 Section 13.5.16. Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Cc: Zhiguang Liu <[email protected]> Signed-off-by: Suqiang Ren <[email protected]> Reviewed-by: Michael D Kinney <[email protected]>
CpuLib.h exposes StandardSignatureIsAuthenticAMD() API and we require stub function in its BaseCpuLibNull library instance to avoid potential link issue. Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Cc: Zhiguang Liu <[email protected]> Signed-off-by: Qing Huang <[email protected]> Reviewed-by: Michael D Kinney <[email protected]>
jbrasen
force-pushed
the
Upstream/FdtLibGmock
branch
from
January 23, 2024 23:13
b629e78
to
cd61581
Compare
ResetSystem runtime call allows for sending reset data that starts with a NULL terminated string. Add support to print that string on console. Signed-off-by: Ashish Singhal <[email protected]> Reviewed-by: Zhichao Gao <[email protected]>
jbrasen
force-pushed
the
Upstream/FdtLibGmock
branch
2 times, most recently
from
January 24, 2024 03:06
55b4530
to
b81f9d4
Compare
Add Google Mock Library for FdtLib Jira TEGRAUEFI-3105 Signed-off-by: Jeff Brasen <[email protected]> Change-Id: I96b74688b50ff555ca77b58f239ecc0f493cb118
jbrasen
removed
Pending EDK2 Review
EDK2 maintainer review needed
Pending EDK2 merge
Change is not in tianocore/master
labels
Jan 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Google Mock Library for FdtLib
Jira TEGRAUEFI-3105
Change-Id: I96b74688b50ff555ca77b58f239ecc0f493cb118