VirtualBox

Ignore:
Timestamp:
Apr 14, 2023 3:17:44 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156854
Message:

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c

    r80721 r99404  
    8787        mProgressBarForegroundColor |= EFI_BLUE;
    8888      }
     89
    8990      if (Color->Pixel.Green >= 0x40) {
    9091        mProgressBarForegroundColor |= EFI_GREEN;
    9192      }
     93
    9294      if (Color->Pixel.Red >= 0x40) {
    9395        mProgressBarForegroundColor |= EFI_RED;
    9496      }
    95       if (Color->Pixel.Blue >= 0xC0 || Color->Pixel.Green >= 0xC0 || Color->Pixel.Red >= 0xC0) {
     97
     98      if ((Color->Pixel.Blue >= 0xC0) || (Color->Pixel.Green >= 0xC0) || (Color->Pixel.Red >= 0xC0)) {
    9699        mProgressBarForegroundColor |= EFI_BRIGHT;
    97100      }
     101
    98102      if (mProgressBarForegroundColor == EFI_BLACK) {
    99103        mProgressBarForegroundColor = EFI_WHITE;
     
    148152  // Print remaining portion of progress bar
    149153  //
    150   for (; Index < 50; Index++) {
     154  for ( ; Index < 50; Index++) {
    151155    Print (L"%c", BLOCKELEMENT_LIGHT_SHADE);
    152156  }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette