diff options
author | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-10 08:05:50 +0000 |
---|---|---|
committer | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-10 08:05:50 +0000 |
commit | c031fd2369b3fcb57aa73584f9e876666d26197d (patch) | |
tree | c0c57fa715cbf80c41c3462e29714abdefdeaa54 | |
parent | 06a098c478a8e1ac495f3a74b044b3bce53b83fc (diff) | |
download | edk2-c031fd2369b3fcb57aa73584f9e876666d26197d.zip edk2-c031fd2369b3fcb57aa73584f9e876666d26197d.tar.gz edk2-c031fd2369b3fcb57aa73584f9e876666d26197d.tar.bz2 |
Add comments to describe the difference between code and spec and move the processor invalid reason macro to StatusCode.h from CPU pkg to fix the bug #202469
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8865 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkPkg/Include/Framework/StatusCode.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/IntelFrameworkPkg/Include/Framework/StatusCode.h b/IntelFrameworkPkg/Include/Framework/StatusCode.h index cd6a404..b3a1cf4 100644 --- a/IntelFrameworkPkg/Include/Framework/StatusCode.h +++ b/IntelFrameworkPkg/Include/Framework/StatusCode.h @@ -80,6 +80,21 @@ #define EFI_CU_PC_INIT_END 0x00000001
//
+// The reason that the processor was disabled.
+//
+#define EFI_CPU_CAUSE_NOT_DISABLED 0x0000
+#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
+
+typedef UINT32 EFI_CPU_STATE_CHANGE_CAUSE;
+//
// Computing Unit Unspecified Subclass Progress Code definitions.
//
//
@@ -547,9 +562,20 @@ #define EFI_SW_DXE_BS_PC_LEGACY_BOOT_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000002)
#define EFI_SW_DXE_BS_PC_EXIT_BOOT_SERVICES_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000003)
#define EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000004)
+///
+/// Inconsistent with specification here:
+/// In Framework Spec, Status0.92, no following two macro. And it is expectable that
+/// to add the definitions to Framework Spec.
+///
#define EFI_SW_DXE_BS_PC_BEGIN_CONNECTING_DRIVERS (EFI_SUBCLASS_SPECIFIC | 0x00000005)
#define EFI_SW_DXE_BS_PC_VERIFYING_PASSWORD (EFI_SUBCLASS_SPECIFIC | 0x00000006)
+///
+/// Inconsistent with specification here:
+/// In Framework Spec, Status0.92, no following two macro. And it is expectable that
+/// to add the definitions to Framework Spec.
+///
+
//
// Software Class DXE RT Driver Subclass Progress Code definitions.
//
@@ -803,6 +829,12 @@ #define EFI_SW_EC_IA32_MACHINE_CHECK EXCEPT_IA32_MACHINE_CHECK
#define EFI_SW_EC_IA32_SIMD EXCEPT_IA32_SIMD
+///
+/// Inconsistent with specification here:
+/// In Framework Spec, Status0.92, no following two macro. And it is expectable that
+/// to add the definitions to Framework Spec.
+///
+
//
// Software Class X64 Exception Subclass Error Code definitions.
// These exceptions are derived from the debug protocol definitions in the EFI
|