]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Disk/PartitionDxe/Partition.h
Modified for use reversion field and fix a typo.
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / PartitionDxe / Partition.h
index d0d0d52a25965d12bebeefa8ae9dfaf0dbab47cf..f36c9d411ef7fb0bf1464b0960a6c9603c92a8b8 100644 (file)
@@ -86,6 +86,9 @@ extern EFI_COMPONENT_NAME2_PROTOCOL  gPartitionComponentName2;
                                    (((UINT8 *) a)[3] << 24) )\r
 \r
 \r
+#define SIZE_OF_EFI_BLOCK_IO_MEDIA_REV1  ((UINTN)&((EFI_BLOCK_IO_MEDIA *)0)->LastBlock + sizeof(EFI_LBA))\r
+#define SIZE_OF_EFI_BLOCK_IO_MEDIA_REV2  sizeof(EFI_BLOCK_IO_MEDIA)\r
+\r
 //\r
 // GPT Partition Entry Status\r
 //\r