Fix the build error caused by recent MdePkg clean up
authorqhuang8 <qhuang8@65ba2f78-6c18-0410-a7b4-885970cf29fa>
Sun, 4 Jan 2009 03:50:43 +0000 (03:50 +0000)
committerqhuang8 <qhuang8@65ba2f78-6c18-0410-a7b4-885970cf29fa>
Sun, 4 Jan 2009 03:50:43 +0000 (03:50 +0000)
git-svn-id: https://fat-driver2.tianocore.org/svn/fat-driver2/trunk@32 65ba2f78-6c18-0410-a7b4-885970cf29fa

FatPkg/EnhancedFatDxe/Info.c
FatPkg/FatPkg.dsc

index 730fcaf..6596f95 100644 (file)
@@ -168,7 +168,7 @@ Returns:
   CHAR16                            Name[FAT_NAME_LEN + 1];\r
   EFI_STATUS                        Status;\r
 \r
-  Size        = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;\r
+  Size        = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL;\r
   Status      = FatGetVolumeEntry (Volume, Name);\r
   NameSize    = StrSize (Name);\r
   ResultSize  = Size + NameSize;\r
@@ -248,11 +248,11 @@ Returns:
 \r
 --*/\r
 {\r
-  EFI_FILE_SYSTEM_VOLUME_LABEL_INFO *Info;\r
+  EFI_FILE_SYSTEM_VOLUME_LABEL *Info;\r
 \r
-  Info = (EFI_FILE_SYSTEM_VOLUME_LABEL_INFO *) Buffer;\r
+  Info = (EFI_FILE_SYSTEM_VOLUME_LABEL *) Buffer;\r
 \r
-  if (BufferSize < SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO + 2) {\r
+  if (BufferSize < SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL + 2) {\r
     return EFI_BAD_BUFFER_SIZE;\r
   }\r
 \r
index e7c361a..5f8bc27 100644 (file)
@@ -71,6 +71,7 @@
   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
+  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
 \r
 [Components.common]\r
-  FatPkg\EnhancedFatDxe\Fat.inf\r
+  FatPkg/EnhancedFatDxe/Fat.inf\r