// The point type always equal to PHYSICAL_MODE on IA32/X64/EBC architecture\r
// Otherwise, VIRTUAL_MODE/PHYSICAL_MODE would be used on Ipf architecture, \r
// \r
-enum {\r
+typedef enum {\r
PHYSICAL_MODE,\r
VIRTUAL_MODE\r
-};\r
+} PROCESSOR_MODE;\r
\r
typedef struct {\r
UINTN Signature;\r
/**\r
Convert status code value and extended data to readable ASCII string, send string to serial I/O device.\r
\r
- @param CodeType Indicates the type of status code being reported. Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions¡± below.\r
+ @param CodeType Indicates the type of status code being reported. Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions" below.\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 classify the entity \r
as well as an operation. For progress codes, the operation is the current activity. \r
For error codes, it is the exception. For debug codes, it is not defined at this time. \r
- Type EFI_STATUS_CODE_VALUE is defined in ¡°Related Definitions¡± below. \r
+ Type EFI_STATUS_CODE_VALUE is defined in "Related Definitions" below. \r
Specific values are discussed in the Intel? Platform Innovation Framework for EFI Status Code Specification.\r
\r
@param Instance The enumeration of a hardware or software entity within the system. \r
\r
@param Data This optional parameter may be used to pass additional data\r
\r
- @return The function always return EFI_SUCCESS.\r
+ @retval EFI_SUCCESS Success to report status code to serial I/O.\r
+ @retval EFI_DEVICE_ERROR EFI serial device can not work after ExitBootService() is called .\r
\r
**/\r
EFI_STATUS\r
@param RtMemoryStatusCodeTable \r
Point to Runtime memory table header.\r
\r
- @param CodeType Indicates the type of status code being reported. Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions¡± below.\r
+ @param CodeType Indicates the type of status code being reported. Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions" below.\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 classify the entity \r
as well as an operation. For progress codes, the operation is the current activity. \r
For error codes, it is the exception. For debug codes, it is not defined at this time. \r
- Type EFI_STATUS_CODE_VALUE is defined in ¡°Related Definitions¡± below. \r
+ Type EFI_STATUS_CODE_VALUE is defined in "Related Definitions" below. \r
Specific values are discussed in the Intel? Platform Innovation Framework for EFI Status Code Specification.\r
\r
@param Instance The enumeration of a hardware or software entity within the system. \r
/**\r
Report status code into DataHub.\r
\r
- @param CodeType Indicates the type of status code being reported. Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions¡± below.\r
+ @param CodeType Indicates the type of status code being reported. Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions" below.\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 classify the entity \r
as well as an operation. For progress codes, the operation is the current activity. \r
For error codes, it is the exception. For debug codes, it is not defined at this time. \r
- Type EFI_STATUS_CODE_VALUE is defined in ¡°Related Definitions¡± below. \r
+ Type EFI_STATUS_CODE_VALUE is defined in "Related Definitions" below. \r
Specific values are discussed in the Intel? Platform Innovation Framework for EFI Status Code Specification.\r
\r
@param Instance The enumeration of a hardware or software entity within the system. \r
@param Data This optional parameter may be used to pass additional data\r
\r
@retval EFI_OUT_OF_RESOURCES Can not acquire record buffer.\r
+ @retval EFI_DEVICE_ERROR EFI serial device can not work after ExitBootService() is called .\r
@retval EFI_SUCCESS Success to cache status code and signal log data event.\r
\r
**/\r