- Service to emit the status code in SMM.\r
-\r
- @param This Pointer to EFI_SMM_STATUS_CODE_PROTOCOL instance.\r
- \r
- @param CodeType Indicates the type of status code being reported.\r
- \r
- @param Value Describes the current status of a hardware or software entity.\r
- This included information about the class and subclass that is used to \r
- classify the entity as well as an operation.\r
- \r
- @param Instance The enumeration of a hardware or software entity within \r
- the system. Valid instance numbers start with 1.\r
- \r
- @param CallerId This optional parameter may be used to identify the caller.\r
- This parameter allows the status code driver to apply different rules to \r
- different callers.\r
- \r
- @param Data This optional parameter may be used to pass additional data.\r
-\r
- @retval EFI_SUCCESS The function completed successfully\r
- \r
- @retval EFI_DEVICE_ERROR The function should not be completed due to a device error.\r
-\r
+ Service to emit the status code in SMM. \r
+\r
+ The EFI_SMM_STATUS_CODE_PROTOCOL.ReportStatusCode() function enables a driver \r
+ to emit a status code while in SMM. The reason that there is a separate protocol definition from the \r
+ DXE variant of this service is that the publisher of this protocol will provide a service that is \r
+ capability of coexisting with a foreground operational environment, such as an operating system \r
+ after the termination of boot services. \r
+\r
+ @param[in] This Points to this instance of the EFI_SMM_STATUS_CODE_PROTOCOL.\r
+ @param[in] CodeType DIndicates the type of status code being reported. \r
+ @param[in] Value Describes the current status of a hardware or software entity. \r
+ @param[in] Instance The enumeration of a hardware or software entity within the system.\r
+ @param[in] CallerId This optional parameter may be used to identify the caller.\r
+ @param[in] Data This optional parameter may be used to pass additional data.\r
+\r
+ @retval EFI_SUCCESS The function completed successfully.\r
+ @retval EFI_INVALID_PARAMETER The function should not be completed due to a device error.\r