]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c
OvmfPkg/QemuBootOrderLib: drop too strict "/HD(" suffix from vblk prefix
[mirror_edk2.git] / OvmfPkg / Library / QemuBootOrderLib / QemuBootOrderLib.c
index 86082301a8f517d1a85f93cc9e45550a4a7c96ac..8cbbdb0568fa57639d5491da9a138bf7b534308d 100644 (file)
@@ -872,13 +872,13 @@ TranslatePciOfwNodes (
     //\r
     // UEFI device path prefix:\r
     //\r
-    //   PciRoot(0x0)/Pci(0x6,0x0)/HD( -- if PCI function is 0 or absent\r
-    //   PciRoot(0x0)/Pci(0x6,0x3)/HD( -- if PCI function is present and nonzero\r
+    //   PciRoot(0x0)/Pci(0x6,0x0) -- if PCI function is 0 or absent\r
+    //   PciRoot(0x0)/Pci(0x6,0x3) -- if PCI function is present and nonzero\r
     //\r
     Written = UnicodeSPrintAsciiFormat (\r
       Translated,\r
       *TranslatedSize * sizeof (*Translated), // BufferSize in bytes\r
-      "PciRoot(0x%x)%s/Pci(0x%Lx,0x%Lx)/HD(",\r
+      "PciRoot(0x%x)%s/Pci(0x%Lx,0x%Lx)",\r
       PciRoot,\r
       Bridges,\r
       PciDevFun[0],\r
@@ -1117,12 +1117,12 @@ TranslateMmioOfwNodes (
     //\r
     // UEFI device path prefix:\r
     //\r
-    //   <VenHwString>/HD(\r
+    //   <VenHwString>\r
     //\r
     Written = UnicodeSPrintAsciiFormat (\r
                 Translated,\r
                 *TranslatedSize * sizeof (*Translated), // BufferSize in bytes\r
-                "%s/HD(",\r
+                "%s",\r
                 VenHwString\r
                 );\r
   } else if (NumNodes >= 3 &&\r