~ubuntu-branches/ubuntu/raring/ipxe/raring

« back to all changes in this revision

Viewing changes to src/include/ipxe/efi/Pi/PiStatusCode.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-11-14 15:47:31 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20121114154731-jhuy5d1h2jw75qe9
Tags: 1.0.0+git-4.d6b0b76-0ubuntu1
* New upstream snapshot:
  - d/p/iscsi*.patch: Dropped - included in snapshot.
  - Refreshed all other patches.
* d/p/enable-https.patch: Enable HTTPS support (LP: #1025239).

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
FILE_LICENCE ( BSD3 );
23
23
 
24
24
//
25
 
// Required for IA32 and IPF defines for CPU exception types
 
25
// Required for IA32, X64, IPF, ARM and EBC defines for CPU exception types
26
26
//
27
27
#include <ipxe/efi/Protocol/DebugSupport.h>
28
28
 
713
713
#define EFI_SOFTWARE_EFI_BOOT_SERVICE     (EFI_SOFTWARE | 0x00100000)
714
714
#define EFI_SOFTWARE_EFI_RUNTIME_SERVICE  (EFI_SOFTWARE | 0x00110000)
715
715
#define EFI_SOFTWARE_EFI_DXE_SERVICE      (EFI_SOFTWARE | 0x00120000)
 
716
#define EFI_SOFTWARE_X64_EXCEPTION        (EFI_SOFTWARE | 0x00130000)
 
717
#define EFI_SOFTWARE_ARM_EXCEPTION        (EFI_SOFTWARE | 0x00140000)
 
718
 
716
719
///@}
717
720
 
718
721
///
753
756
 
754
757
///
755
758
/// Software Class PEI Module Subclass Progress Code definitions.
756
 
/// Note: EFI_SW_PEI_PC_RECOVERY_BEGIN is different from PI 1.2 Specification.
757
759
///
758
760
///@{
759
761
#define EFI_SW_PEI_PC_RECOVERY_BEGIN  (EFI_SUBCLASS_SPECIFIC | 0x00000000)
809
811
///@}
810
812
 
811
813
//
 
814
// Software Class X64 Exception Subclass Progress Code definitions.
 
815
//
 
816
 
 
817
//
 
818
// Software Class ARM Exception Subclass Progress Code definitions.
 
819
//
 
820
 
 
821
//
812
822
// Software Class EBC Exception Subclass Progress Code definitions.
813
823
//
814
824
 
987
997
 
988
998
///
989
999
/// Software Class PEI Module Subclass Error Code definitions.
990
 
/// Note: EFI_SW_PEI_EC_INVALID_CAPSULE_DESCRIPTOR is different from PI 1.2 Specification.
991
1000
///
992
1001
///@{
993
1002
#define EFI_SW_PEI_EC_NO_RECOVERY_CAPSULE          (EFI_SUBCLASS_SPECIFIC | 0x00000000)
1123
1132
// Software Class EFI Runtime Service Subclass Error Code definitions.
1124
1133
//
1125
1134
 
1126
 
//
1127
 
// Software Class EFI DXE Service Subclass Error Code definitions.
1128
 
//
 
1135
///
 
1136
/// Software Class EFI DXE Service Subclass Error Code definitions.
 
1137
///
 
1138
///@{
 
1139
#define EFI_SW_DXE_BS_PC_BEGIN_CONNECTING_DRIVERS   (EFI_SUBCLASS_SPECIFIC | 0x00000005)
 
1140
#define EFI_SW_DXE_BS_PC_VERIFYING_PASSWORD         (EFI_SUBCLASS_SPECIFIC | 0x00000006)
 
1141
///@}
 
1142
 
 
1143
///
 
1144
/// Software Class DXE RT Driver Subclass Progress Code definitions.
 
1145
///
 
1146
///@{
 
1147
#define EFI_SW_DXE_RT_PC_S0                         (EFI_SUBCLASS_SPECIFIC | 0x00000000)
 
1148
#define EFI_SW_DXE_RT_PC_S1                         (EFI_SUBCLASS_SPECIFIC | 0x00000001)
 
1149
#define EFI_SW_DXE_RT_PC_S2                         (EFI_SUBCLASS_SPECIFIC | 0x00000002)
 
1150
#define EFI_SW_DXE_RT_PC_S3                         (EFI_SUBCLASS_SPECIFIC | 0x00000003)
 
1151
#define EFI_SW_DXE_RT_PC_S4                         (EFI_SUBCLASS_SPECIFIC | 0x00000004)
 
1152
#define EFI_SW_DXE_RT_PC_S5                         (EFI_SUBCLASS_SPECIFIC | 0x00000005)
 
1153
///@}
 
1154
 
 
1155
///
 
1156
/// Software Class X64 Exception Subclass Error Code definitions.
 
1157
/// These exceptions are derived from the debug protocol
 
1158
/// definitions in the EFI specification.
 
1159
///
 
1160
///@{
 
1161
#define EFI_SW_EC_X64_DIVIDE_ERROR                   EXCEPT_X64_DIVIDE_ERROR
 
1162
#define EFI_SW_EC_X64_DEBUG                          EXCEPT_X64_DEBUG
 
1163
#define EFI_SW_EC_X64_NMI                            EXCEPT_X64_NMI
 
1164
#define EFI_SW_EC_X64_BREAKPOINT                     EXCEPT_X64_BREAKPOINT
 
1165
#define EFI_SW_EC_X64_OVERFLOW                       EXCEPT_X64_OVERFLOW
 
1166
#define EFI_SW_EC_X64_BOUND                          EXCEPT_X64_BOUND
 
1167
#define EFI_SW_EC_X64_INVALID_OPCODE                 EXCEPT_X64_INVALID_OPCODE
 
1168
#define EFI_SW_EC_X64_DOUBLE_FAULT                   EXCEPT_X64_DOUBLE_FAULT
 
1169
#define EFI_SW_EC_X64_INVALID_TSS                    EXCEPT_X64_INVALID_TSS
 
1170
#define EFI_SW_EC_X64_SEG_NOT_PRESENT                EXCEPT_X64_SEG_NOT_PRESENT
 
1171
#define EFI_SW_EC_X64_STACK_FAULT                    EXCEPT_X64_STACK_FAULT
 
1172
#define EFI_SW_EC_X64_GP_FAULT                       EXCEPT_X64_GP_FAULT
 
1173
#define EFI_SW_EC_X64_PAGE_FAULT                     EXCEPT_X64_PAGE_FAULT
 
1174
#define EFI_SW_EC_X64_FP_ERROR                       EXCEPT_X64_FP_ERROR
 
1175
#define EFI_SW_EC_X64_ALIGNMENT_CHECK                EXCEPT_X64_ALIGNMENT_CHECK
 
1176
#define EFI_SW_EC_X64_MACHINE_CHECK                  EXCEPT_X64_MACHINE_CHECK
 
1177
#define EFI_SW_EC_X64_SIMD                           EXCEPT_X64_SIMD
 
1178
///@}
 
1179
 
 
1180
///
 
1181
/// Software Class ARM Exception Subclass Error Code definitions.
 
1182
/// These exceptions are derived from the debug protocol
 
1183
/// definitions in the EFI specification.
 
1184
///
 
1185
///@{
 
1186
#define EFI_SW_EC_ARM_RESET                          EXCEPT_ARM_RESET
 
1187
#define EFI_SW_EC_ARM_UNDEFINED_INSTRUCTION          EXCEPT_ARM_UNDEFINED_INSTRUCTION
 
1188
#define EFI_SW_EC_ARM_SOFTWARE_INTERRUPT             EXCEPT_ARM_SOFTWARE_INTERRUPT
 
1189
#define EFI_SW_EC_ARM_PREFETCH_ABORT                 EXCEPT_ARM_PREFETCH_ABORT
 
1190
#define EFI_SW_EC_ARM_DATA_ABORT                     EXCEPT_ARM_DATA_ABORT
 
1191
#define EFI_SW_EC_ARM_RESERVED                       EXCEPT_ARM_RESERVED
 
1192
#define EFI_SW_EC_ARM_IRQ                            EXCEPT_ARM_IRQ
 
1193
#define EFI_SW_EC_ARM_FIQ                            EXCEPT_ARM_FIQ
 
1194
///@}
1129
1195
 
1130
1196
#endif