|
@@ -517,14 +517,20 @@ typedef struct {
|
|
|
|
|
|
#define SIZE_OF_EFI_FILE_SYSTEM_INFO EFI_FIELD_OFFSET(EFI_FILE_SYSTEM_INFO,VolumeLabel)
|
|
|
|
|
|
-#define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID \
|
|
|
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \
|
|
|
{ 0xDB47D7D3,0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D} }
|
|
|
|
|
|
typedef struct {
|
|
|
CHAR16 VolumeLabel[1];
|
|
|
-} EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;
|
|
|
+} EFI_FILE_SYSTEM_VOLUME_LABEL;
|
|
|
|
|
|
-#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FIELD_OFFSET(EFI_FILE_SYSTEM_VOLUME_LABEL_INFO,VolumeLabel)
|
|
|
+#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FIELD_OFFSET(EFI_FILE_SYSTEM_VOLUME_LABEL,VolumeLabel)
|
|
|
+
|
|
|
+//
|
|
|
+// For compatibility with older versions of gnu-efi
|
|
|
+//
|
|
|
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID EFI_FILE_SYSTEM_VOLUME_LABEL_ID
|
|
|
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FILE_SYSTEM_VOLUME_LABEL
|
|
|
|
|
|
//
|
|
|
// Load file protocol
|