MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
StatusCodeDataTypeId.h File Reference

Data Structures

struct  EFI_STATUS_CODE_STRING_TOKEN
 
union  EFI_STATUS_CODE_STRING
 
struct  EFI_STATUS_CODE_STRING_DATA
 
struct  EFI_DEVICE_PATH_EXTENDED_DATA
 
struct  EFI_DEVICE_HANDLE_EXTENDED_DATA
 
struct  EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA
 
struct  EFI_EXP_BASE10_DATA
 
struct  EFI_COMPUTING_UNIT_VOLTAGE_ERROR_DATA
 
struct  EFI_COMPUTING_UNIT_MICROCODE_UPDATE_ERROR_DATA
 
struct  EFI_COMPUTING_UNIT_TIMER_EXPIRED_ERROR_DATA
 
struct  EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA
 
struct  EFI_COMPUTING_UNIT_THERMAL_ERROR_DATA
 
struct  EFI_CACHE_INIT_DATA
 
struct  EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA
 
struct  EFI_MEMORY_EXTENDED_ERROR_DATA
 
struct  EFI_STATUS_CODE_DIMM_NUMBER
 
struct  EFI_MEMORY_MODULE_MISMATCH_ERROR_DATA
 
struct  EFI_MEMORY_RANGE_EXTENDED_DATA
 
struct  EFI_DEBUG_ASSERT_DATA
 
union  EFI_STATUS_CODE_EXCEP_SYSTEM_CONTEXT
 
struct  EFI_STATUS_CODE_EXCEP_EXTENDED_DATA
 
struct  EFI_STATUS_CODE_START_EXTENDED_DATA
 
struct  EFI_LEGACY_OPROM_EXTENDED_DATA
 
struct  EFI_RETURN_STATUS_EXTENDED_DATA
 

Macros

#define EFI_STATUS_CODE_DATA_TYPE_STRING_GUID   { 0x92D11080, 0x496F, 0x4D95, { 0xBE, 0x7E, 0x03, 0x74, 0x88, 0x38, 0x2B, 0x0A } }
 
#define EFI_STATUS_CODE_SPECIFIC_DATA_GUID   { 0x335984bd, 0xe805, 0x409a, { 0xb8, 0xf8, 0xd2, 0x7e, 0xce, 0x5f, 0xf7, 0xa6 } }
 
#define EFI_MULTIPLE_MEMORY_DEVICE_OPERATION   0xfffe
 
#define EFI_ALL_MEMORY_DEVICE_OPERATION   0xffff
 
#define EFI_MULTIPLE_MEMORY_ARRAY_OPERATION   0xfffe
 
#define EFI_ALL_MEMORY_ARRAY_OPERATION   0xffff
 
#define EFI_COMPUTING_UNIT_MISMATCH_SPEED   0x0001
 
#define EFI_COMPUTING_UNIT_MISMATCH_FSB_SPEED   0x0002
 
#define EFI_COMPUTING_UNIT_MISMATCH_FAMILY   0x0004
 
#define EFI_COMPUTING_UNIT_MISMATCH_MODEL   0x0008
 
#define EFI_COMPUTING_UNIT_MISMATCH_STEPPING   0x0010
 
#define EFI_COMPUTING_UNIT_MISMATCH_CACHE_SIZE   0x0020
 
#define EFI_COMPUTING_UNIT_MISMATCH_OEM1   0x1000
 
#define EFI_COMPUTING_UNIT_MISMATCH_OEM2   0x2000
 
#define EFI_COMPUTING_UNIT_MISMATCH_OEM3   0x4000
 
#define EFI_COMPUTING_UNIT_MISMATCH_OEM4   0x8000
 
#define EFI_CPU_CAUSE_INTERNAL_ERROR   0x0001
 
#define EFI_CPU_CAUSE_THERMAL_ERROR   0x0002
 
#define EFI_CPU_CAUSE_SELFTEST_FAILURE   0x0004
 
#define EFI_CPU_CAUSE_PREBOOT_TIMEOUT   0x0008
 
#define EFI_CPU_CAUSE_FAILED_TO_START   0x0010
 
#define EFI_CPU_CAUSE_CONFIG_ERROR   0x0020
 
#define EFI_CPU_CAUSE_USER_SELECTION   0x0080
 
#define EFI_CPU_CAUSE_BY_ASSOCIATION   0x0100
 
#define EFI_CPU_CAUSE_UNSPECIFIED   0x8000
 
#define EFI_MEMORY_ERROR_OTHER   0x01
 
#define EFI_MEMORY_ERROR_UNKNOWN   0x02
 
#define EFI_MEMORY_ERROR_DEVICE   0x03
 
#define EFI_MEMORY_ERROR_PARTITION   0x04
 
#define EFI_MEMORY_OPERATION_OTHER   0x01
 
#define EFI_MEMORY_OPERATION_UNKNOWN   0x02
 
#define EFI_MEMORY_OPERATION_READ   0x03
 
#define EFI_MEMORY_OPERATION_WRITE   0x04
 
#define EFI_MEMORY_OPERATION_PARTIAL_WRITE   0x05
 

Typedefs

typedef UINT32 EFI_CPU_STATE_CHANGE_CAUSE
 
typedef UINT8 EFI_MEMORY_ERROR_GRANULARITY
 
typedef UINT8 EFI_MEMORY_ERROR_OPERATION
 

Enumerations

enum  EFI_STRING_TYPE { EfiStringAscii, EfiStringUnicode, EfiStringToken }
 
enum  EFI_INIT_CACHE_TYPE { EfiInitCacheDataOnly, EfiInitCacheInstrOnly, EfiInitCacheBoth, EfiInitCacheUnspecified }
 

Variables

EFI_GUID gEfiStatusCodeDataTypeStringGuid
 
EFI_GUID gEfiStatusCodeSpecificDataGuid
 

Detailed Description

GUID used to identify id for the caller who is initiating the Status Code.

Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Revision Reference:
These GUIDs and structures are defined in UEFI Platform Initialization Specification 1.2 Volume 3: Shared Architectural Elements

Macro Definition Documentation

#define EFI_ALL_MEMORY_ARRAY_OPERATION   0xffff

A definition to describe that the operation is performed on all the arrays. May be used for EFI_STATUS_CODE_DIMM_NUMBER.Array and EFI_STATUS_CODE_DIMM_NUMBER.Device.

#define EFI_ALL_MEMORY_DEVICE_OPERATION   0xffff

A definition to describe that the operation is performed on all devices within the array. May be used for EFI_STATUS_CODE_DIMM_NUMBER.Array and EFI_STATUS_CODE_DIMM_NUMBER.Device.

#define EFI_COMPUTING_UNIT_MISMATCH_CACHE_SIZE   0x0020

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_FAMILY   0x0004

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_FSB_SPEED   0x0002

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_MODEL   0x0008

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_OEM1   0x1000

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_OEM2   0x2000

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_OEM3   0x4000

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_OEM4   0x8000

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_SPEED   0x0001

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_COMPUTING_UNIT_MISMATCH_STEPPING   0x0010

Attribute bits for EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA.Attributes All other attributes are reserved for future use and must be initialized to 0.

#define EFI_CPU_CAUSE_BY_ASSOCIATION   0x0100

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_CPU_CAUSE_CONFIG_ERROR   0x0020

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_CPU_CAUSE_FAILED_TO_START   0x0010

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_CPU_CAUSE_INTERNAL_ERROR   0x0001

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_CPU_CAUSE_PREBOOT_TIMEOUT   0x0008

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_CPU_CAUSE_SELFTEST_FAILURE   0x0004

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_CPU_CAUSE_THERMAL_ERROR   0x0002

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_CPU_CAUSE_UNSPECIFIED   0x8000

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_CPU_CAUSE_USER_SELECTION   0x0080

The reasons that the processor is disabled. Used to fill in EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA.Cause.

#define EFI_MEMORY_ERROR_DEVICE   0x03

Memory Error Granularities. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Granularity.

#define EFI_MEMORY_ERROR_OTHER   0x01

Memory Error Granularities. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Granularity.

#define EFI_MEMORY_ERROR_PARTITION   0x04

Memory Error Granularities. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Granularity.

#define EFI_MEMORY_ERROR_UNKNOWN   0x02

Memory Error Granularities. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Granularity.

#define EFI_MEMORY_OPERATION_OTHER   0x01

Memory Error Operations. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Operation.

#define EFI_MEMORY_OPERATION_PARTIAL_WRITE   0x05

Memory Error Operations. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Operation.

#define EFI_MEMORY_OPERATION_READ   0x03

Memory Error Operations. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Operation.

#define EFI_MEMORY_OPERATION_UNKNOWN   0x02

Memory Error Operations. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Operation.

#define EFI_MEMORY_OPERATION_WRITE   0x04

Memory Error Operations. Used to fill in EFI_MEMORY_EXTENDED_ERROR_DATA.Operation.

#define EFI_MULTIPLE_MEMORY_ARRAY_OPERATION   0xfffe

A definition to describe that the operation is performed on multiple arrays. May be used for EFI_STATUS_CODE_DIMM_NUMBER.Array and EFI_STATUS_CODE_DIMM_NUMBER.Device.

#define EFI_MULTIPLE_MEMORY_DEVICE_OPERATION   0xfffe

A definition to describe that the operation is performed on multiple devices within the array. May be used for EFI_STATUS_CODE_DIMM_NUMBER.Array and EFI_STATUS_CODE_DIMM_NUMBER.Device.

#define EFI_STATUS_CODE_DATA_TYPE_STRING_GUID   { 0x92D11080, 0x496F, 0x4D95, { 0xBE, 0x7E, 0x03, 0x74, 0x88, 0x38, 0x2B, 0x0A } }

Global ID for the EFI_STATUS_CODE_STRING structure

Typedef Documentation

Memory Error Granularity Definition

Memory Error Operation Definition

Enumeration Type Documentation

Enumeration of valid cache types

Enumerator
EfiInitCacheDataOnly 
EfiInitCacheInstrOnly 
EfiInitCacheBoth 
EfiInitCacheUnspecified 
Enumerator
EfiStringAscii 

A NULL-terminated ASCII string.

EfiStringUnicode 

A double NULL-terminated Unicode string.

EfiStringToken 

An EFI_STATUS_CODE_STRING_TOKEN representing the string. The actual string can be obtained by querying the HII Database

Variable Documentation

EFI_GUID gEfiStatusCodeDataTypeStringGuid
EFI_GUID gEfiStatusCodeSpecificDataGuid