VirtualBox

Ignore:
Timestamp:
Aug 12, 2020 4:09:12 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139865
Message:

Devices/EFI: Merge edk-stable202005 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/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c

    r80721 r85718  
    1515#include <Protocol/FirmwareVolume2.h>
    1616
    17 EFI_HANDLE        mHandleParsingHiiHandle = NULL;
     17EFI_HII_HANDLE    mHandleParsingHiiHandle = NULL;
    1818HANDLE_INDEX_LIST mHandleList = {{{NULL,NULL},0,0},0};
    1919GUID_INFO_BLOCK   *mGuidList;
     
    24632463  )
    24642464{
    2465   ASSERT(Guid   != NULL);
    2466   ASSERT(NameID != 0);
    2467 
    2468   mGuidList = ReallocatePool(mGuidListCount * sizeof(GUID_INFO_BLOCK), mGuidListCount+1 * sizeof(GUID_INFO_BLOCK), mGuidList);
     2465  ASSERT (Guid   != NULL);
     2466  ASSERT (NameID != 0);
     2467
     2468  mGuidList = ReallocatePool (
     2469                mGuidListCount * sizeof (GUID_INFO_BLOCK),
     2470                (mGuidListCount + 1) * sizeof (GUID_INFO_BLOCK),
     2471                mGuidList
     2472                );
    24692473  if (mGuidList == NULL) {
    24702474    mGuidListCount = 0;
     
    24732477  mGuidListCount++;
    24742478
    2475   mGuidList[mGuidListCount - 1].GuidId   = AllocateCopyPool(sizeof(EFI_GUID), Guid);
     2479  mGuidList[mGuidListCount - 1].GuidId   = AllocateCopyPool (sizeof (EFI_GUID), Guid);
    24762480  mGuidList[mGuidListCount - 1].StringId = NameID;
    24772481  mGuidList[mGuidListCount - 1].DumpInfo = DumpFunc;
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