]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/BiosBlkIo.c
Clean up the private GUID definition in module Level.
[mirror_edk2.git] / IntelFrameworkModulePkg / Csm / BiosThunk / BlockIoDxe / BiosBlkIo.c
index 309cf1a9ed68de247cdf3c74caf5dc96e958e091..e8ea11c4f81e5e384a11b25ef6f0d420c94d5091 100644 (file)
@@ -5,7 +5,7 @@
   Availible on http://www.t13.org/#Project drafts\r
   Currently at ftp://fission.dt.wdc.com/pub/standards/x3t13/project/d1386r4.pdf\r
 \r
-Copyright (c) 1999 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 1999 - 2011, Intel Corporation. All rights reserved.<BR>\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions\r
@@ -68,8 +68,6 @@ BIOS_LEGACY_DRIVE           *mLegacyDriverUnder1Mb;
 //\r
 VOID                        *mEdd11Buffer;\r
 \r
-EFI_GUID                    mUnknownDevGuid = UNKNOWN_DEVICE_GUID;\r
-\r
 /**\r
   Driver entry point.\r
 \r
@@ -635,8 +633,8 @@ SetBiosInitBlockIoDevicePath (
   OUT EFI_DEVICE_PATH_PROTOCOL  **DevicePath\r
   )\r
 {\r
-  EFI_STATUS                        Status;\r
-  UNKNOWN_DEVICE_VENDOR_DEVICE_PATH VendorNode;\r
+  EFI_STATUS                  Status;\r
+  BLOCKIO_VENDOR_DEVICE_PATH  VendorNode;\r
   \r
   Status = EFI_UNSUPPORTED;\r
   \r
@@ -658,7 +656,7 @@ SetBiosInitBlockIoDevicePath (
     VendorNode.DevicePath.Header.Type     = HARDWARE_DEVICE_PATH;\r
     VendorNode.DevicePath.Header.SubType  = HW_VENDOR_DP;\r
     SetDevicePathNodeLength (&VendorNode.DevicePath.Header, sizeof (VendorNode));\r
-    CopyMem (&VendorNode.DevicePath.Guid, &mUnknownDevGuid, sizeof (EFI_GUID));\r
+    CopyMem (&VendorNode.DevicePath.Guid, &gBlockIoVendorGuid, sizeof (EFI_GUID));\r
     VendorNode.LegacyDriveLetter  = Drive->Number;\r
     *DevicePath                   = AppendDevicePathNode (BaseDevicePath, &VendorNode.DevicePath.Header);\r
   }\r