]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/Translate.c
According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for...
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / PiSmbiosRecordOnDataHubSmbiosRecordThunk / Translate.c
index 38b16971563c5c87cac0858d26f8ba8af31d00d2..324ee36fb9dc02cb802ce8b0260fd7bdfbd24ca5 100644 (file)
@@ -217,7 +217,7 @@ SmbiosProcessDataRecord (
         StructureNode->SmbiosType = Conversion->SmbiosType;\r
       }\r
       \r
-      StructureNode->SmbiosHandle        = 0;\r
+      StructureNode->SmbiosHandle        = SMBIOS_HANDLE_PI_RESERVED;\r
       Status = SmbiosProtocolCreateRecord (\r
                  NULL, \r
                  StructureNode\r
@@ -530,7 +530,7 @@ GetSmbiosBufferFromHandle (
   EFI_SMBIOS_TABLE_HEADER *RecordInSmbiosDatabase;\r
   EFI_STATUS              Status;\r
   \r
-  SearchingHandle = 0;\r
+  SearchingHandle = SMBIOS_HANDLE_PI_RESERVED;\r
   Smbios          = GetSmbiosProtocol();\r
   ASSERT (Smbios != NULL);\r
   \r