Add comments to describe the difference between code and spec and move the processor...
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Jul 2009 08:05:50 +0000 (08:05 +0000)
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Jul 2009 08:05:50 +0000 (08:05 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8865 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkPkg/Include/Framework/StatusCode.h

index cd6a4043532a5e06df45c969708b37af2a29e380..b3a1cf48f87dd5f1a177176c4360d6246e379e43 100644 (file)
 #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