]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Smbios.h
Resolve GCC build error, where #pragma pack(push[, id], <n>) is not supported.
[mirror_edk2.git] / MdePkg / Include / Protocol / Smbios.h
index e747441f46b111f19aadd45102e96866467b1fa5..0f79e419d99a5fe67ff643b1b83ecc63599ba42c 100644 (file)
@@ -136,8 +136,8 @@ typedef struct _EFI_SMBIOS_PROTOCOL EFI_SMBIOS_PROTOCOL;
   \r
   @param[in]        This                The EFI_SMBIOS_PROTOCOL instance.\r
   @param[in]        ProducerHandle      The handle of the controller or driver associated with the SMBIOS information. NULL means no handle.\r
-  @param[in, out]   SmbiosHandle        On entry, if non-zero, the handle of the SMBIOS record. If zero, then a unique handle\r
-                                        will be assigned to the SMBIOS record. If the SMBIOS handle is already in use\r
+  @param[in, out]   SmbiosHandle        On entry, the handle of the SMBIOS record to add. If FFFEh, then a unique handle\r
+                                        will be assigned to the SMBIOS record. If the SMBIOS handle is already in use,\r
                                         EFI_ALREADY_STARTED is returned and the SMBIOS record is not updated.\r
   @param[in]        Record              The data for the fixed portion of the SMBIOS record. The format of the record is\r
                                         determined by EFI_SMBIOS_TABLE_HEADER.Type. The size of the formatted\r
@@ -170,7 +170,7 @@ EFI_STATUS
   \r
   @retval EFI_SUCCESS           SmbiosHandle had its StringNumber String updated.\r
   @retval EFI_INVALID_PARAMETER SmbiosHandle does not exist.\r
-  @retval EFI_UNSUPPORTED       String was not added since it's longer than 64 significant characters.\r
+  @retval EFI_UNSUPPORTED       String was not added because it is longer than the SMBIOS Table supports.\r
   @retval EFI_NOT_FOUND         The StringNumber.is not valid for this SMBIOS record.    \r
 **/\r
 typedef\r
@@ -208,8 +208,8 @@ EFI_STATUS
   \r
   @param[in]        This            The EFI_SMBIOS_PROTOCOL instance.\r
   @param[in, out]   SmbiosHandle    On entry, points to the previous handle of the SMBIOS record. On exit, points to the\r
-                                    next SMBIOS record handle. If it is zero on entry, then the first SMBIOS record\r
-                                    handle will be returned. If it returns zero on exit, then there are no more SMBIOS records.\r
+                                    next SMBIOS record handle. If it is FFFEh on entry, then the first SMBIOS record\r
+                                    handle will be returned. If it returns FFFEh on exit, then there are no more SMBIOS records.\r
   @param[in]        Type            On entry, it points to the type of the next SMBIOS record to return. If NULL, it\r
                                     indicates that the next record of any type will be returned. Type is not\r
                                     modified by the this function.\r