Skip to content

Commit

Permalink
ImageTool: Reassigned some PCDs to allow them have different values
Browse files Browse the repository at this point in the history
in OpenCore tools.
  • Loading branch information
Mikhail Krichanov committed Nov 30, 2023
1 parent 100f289 commit 422815e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BaseTools/ImageTool/ImageTool.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,10 @@ int main (int argc, const char *argv[])
bool FixedAddress;
int ArgIndex;

_gPcd_FixedAtBuild_PcdUefiImageFormatSupportNonFv = 0x00;

This comment has been minimized.

Copy link
@vit9696

vit9696 Dec 4, 2023

Collaborator

This looks fugly. Why not PcdGetXXX (PcdUefiImageFormatSupportNonFv) = X?

_gPcd_FixedAtBuild_PcdUefiImageFormatSupportFv = 0x03;
_gPcd_FixedAtBuild_PcdImageProtectionPolicy = 0x00;

if (argc < 2) {
fprintf (stderr, "ImageTool: No command is specified\n");
DEBUG_RAISE ();
Expand Down

0 comments on commit 422815e

Please sign in to comment.