Changeset 99404 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Protocol/EraseBlock.h
- Timestamp:
- Apr 14, 2023 3:17:44 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156854
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-145445 /vendor/edk2/current 103735-103757,103769-103776,129194-156846
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Protocol/EraseBlock.h
r80721 r99404 20 20 typedef struct _EFI_ERASE_BLOCK_PROTOCOL EFI_ERASE_BLOCK_PROTOCOL; 21 21 22 #define EFI_ERASE_BLOCK_PROTOCOL_REVISION ((2<<16) | (60))22 #define EFI_ERASE_BLOCK_PROTOCOL_REVISION ((2<<16) | (60)) 23 23 24 24 /// … … 31 31 // Event will be signaled when the erase request is completed. 32 32 // 33 EFI_EVENT 33 EFI_EVENT Event; 34 34 // 35 35 // Defines whether the signaled event encountered an error. 36 36 // 37 EFI_STATUS 37 EFI_STATUS TransactionStatus; 38 38 } EFI_ERASE_BLOCK_TOKEN; 39 39 … … 67 67 typedef 68 68 EFI_STATUS 69 (EFIAPI *EFI_BLOCK_ERASE) 69 (EFIAPI *EFI_BLOCK_ERASE)( 70 70 IN EFI_ERASE_BLOCK_PROTOCOL *This, 71 71 IN UINT32 MediaId, … … 86 86 // backwards compatible, it is not the same GUID. 87 87 // 88 UINT64 88 UINT64 Revision; 89 89 // 90 90 // Returns the erase length granularity as a number of logical blocks. A 91 91 // value of 1 means the erase granularity is one logical block. 92 92 // 93 UINT32 94 EFI_BLOCK_ERASE 93 UINT32 EraseLengthGranularity; 94 EFI_BLOCK_ERASE EraseBlocks; 95 95 }; 96 96 97 extern EFI_GUID gEfiEraseBlockProtocolGuid;97 extern EFI_GUID gEfiEraseBlockProtocolGuid; 98 98 99 99 #endif
Note:
See TracChangeset
for help on using the changeset viewer.