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/MdePkg/Include/Protocol/EraseBlock.h

    r80721 r99404  
    2020typedef struct _EFI_ERASE_BLOCK_PROTOCOL EFI_ERASE_BLOCK_PROTOCOL;
    2121
    22 #define EFI_ERASE_BLOCK_PROTOCOL_REVISION ((2<<16) | (60))
     22#define EFI_ERASE_BLOCK_PROTOCOL_REVISION  ((2<<16) | (60))
    2323
    2424///
     
    3131  // Event will be signaled when the erase request is completed.
    3232  //
    33   EFI_EVENT             Event;
     33  EFI_EVENT     Event;
    3434  //
    3535  // Defines whether the signaled event encountered an error.
    3636  //
    37   EFI_STATUS            TransactionStatus;
     37  EFI_STATUS    TransactionStatus;
    3838} EFI_ERASE_BLOCK_TOKEN;
    3939
     
    6767typedef
    6868EFI_STATUS
    69 (EFIAPI *EFI_BLOCK_ERASE) (
     69(EFIAPI *EFI_BLOCK_ERASE)(
    7070  IN     EFI_ERASE_BLOCK_PROTOCOL      *This,
    7171  IN     UINT32                        MediaId,
     
    8686  // backwards compatible, it is not the same GUID.
    8787  //
    88   UINT64                     Revision;
     88  UINT64             Revision;
    8989  //
    9090  // Returns the erase length granularity as a number of logical blocks. A
    9191  // value of 1 means the erase granularity is one logical block.
    9292  //
    93   UINT32                     EraseLengthGranularity;
    94   EFI_BLOCK_ERASE            EraseBlocks;
     93  UINT32             EraseLengthGranularity;
     94  EFI_BLOCK_ERASE    EraseBlocks;
    9595};
    9696
    97 extern EFI_GUID gEfiEraseBlockProtocolGuid;
     97extern EFI_GUID  gEfiEraseBlockProtocolGuid;
    9898
    9999#endif
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