THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
- Module Name: StatusCode.h\r
-\r
@par Revision Reference:\r
Intel Platform Innovation Framework for EFI Status Codes Specification\r
Version 0.92.\r
#ifndef _FRAMEWORK_STATUS_CODE_H_\r
#define _FRAMEWORK_STATUS_CODE_H_\r
\r
-#include <PiPei.h>\r
-\r
//\r
// Section 1\r
// Class definitions\r
#define EFI_CU_PC_INIT_BEGIN 0x00000000\r
#define EFI_CU_PC_INIT_END 0x00000001\r
\r
+//\r
+// The reason that the processor was disabled.\r
+//\r
+#define EFI_CPU_CAUSE_NOT_DISABLED 0x0000\r
+#define EFI_CPU_CAUSE_INTERNAL_ERROR 0x0001\r
+#define EFI_CPU_CAUSE_THERMAL_ERROR 0x0002\r
+#define EFI_CPU_CAUSE_SELFTEST_FAILURE 0x0004\r
+#define EFI_CPU_CAUSE_PREBOOT_TIMEOUT 0x0008\r
+#define EFI_CPU_CAUSE_FAILED_TO_START 0x0010\r
+#define EFI_CPU_CAUSE_CONFIG_ERROR 0x0020\r
+#define EFI_CPU_CAUSE_USER_SELECTION 0x0080\r
+#define EFI_CPU_CAUSE_BY_ASSOCIATION 0x0100\r
+#define EFI_CPU_CAUSE_UNSPECIFIED 0x8000\r
+\r
+typedef UINT32 EFI_CPU_STATE_CHANGE_CAUSE;\r
//\r
// Computing Unit Unspecified Subclass Progress Code definitions.\r
//\r
#define EFI_SW_DXE_BS_PC_LEGACY_BOOT_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
#define EFI_SW_DXE_BS_PC_EXIT_BOOT_SERVICES_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
#define EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
+///\r
+/// Inconsistent with specification here: \r
+/// In Framework Spec, Status0.92, no following two macro. And it is expectable that\r
+/// to add the definitions to Framework Spec.\r
+///\r
#define EFI_SW_DXE_BS_PC_BEGIN_CONNECTING_DRIVERS (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
#define EFI_SW_DXE_BS_PC_VERIFYING_PASSWORD (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
\r
+///\r
+/// Inconsistent with specification here: \r
+/// In Framework Spec, Status0.92, no following two macro. And it is expectable that\r
+/// to add the definitions to Framework Spec.\r
+///\r
+\r
//\r
// Software Class DXE RT Driver Subclass Progress Code definitions.\r
//\r
#define EFI_SW_EC_IA32_MACHINE_CHECK EXCEPT_IA32_MACHINE_CHECK\r
#define EFI_SW_EC_IA32_SIMD EXCEPT_IA32_SIMD\r
\r
+///\r
+/// Inconsistent with specification here: \r
+/// In Framework Spec, Status0.92, no following two macro. And it is expectable that\r
+/// to add the definitions to Framework Spec.\r
+///\r
+\r
//\r
// Software Class X64 Exception Subclass Error Code definitions.\r
// These exceptions are derived from the debug protocol definitions in the EFI\r