summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Pi/PiMultiPhase.h
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-18 20:28:02 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-18 20:28:02 +0000
commit00edb2182b6203a037219c29317ab6362c78b422 (patch)
tree35812fbf442b36bd80270ff0c6ad9f9be4906b92 /MdePkg/Include/Pi/PiMultiPhase.h
parent00a8a5bfbb20efde3bedc3329a646209c2d1d6ac (diff)
downloadedk2-platforms-00edb2182b6203a037219c29317ab6362c78b422.tar.xz
Removed tabs and fixed some minor coding style issues. Also fixed typo in EFI_PEI_ENTRY_POINT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2668 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Pi/PiMultiPhase.h')
-rw-r--r--MdePkg/Include/Pi/PiMultiPhase.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/MdePkg/Include/Pi/PiMultiPhase.h b/MdePkg/Include/Pi/PiMultiPhase.h
index 2b3f2482ec..0f46168d62 100644
--- a/MdePkg/Include/Pi/PiMultiPhase.h
+++ b/MdePkg/Include/Pi/PiMultiPhase.h
@@ -32,14 +32,14 @@
//
// Status Code Type Definition
//
-typedef UINT32 EFI_STATUS_CODE_TYPE;
+typedef UINT32 EFI_STATUS_CODE_TYPE;
//
// A Status Code Type is made up of the code type and severity
// All values masked by EFI_STATUS_CODE_RESERVED_MASK are
// reserved for use by this specification.
//
-#define EFI_STATUS_CODE_TYPE_MASK 0x000000FF
+#define EFI_STATUS_CODE_TYPE_MASK 0x000000FF
#define EFI_STATUS_CODE_SEVERITY_MASK 0xFF000000
#define EFI_STATUS_CODE_RESERVED_MASK 0x00FFFF00
@@ -48,9 +48,9 @@ typedef UINT32 EFI_STATUS_CODE_TYPE;
// EFI_STATUS_CODE_TYPE_MASK are reserved for use by
// this specification.
//
-#define EFI_PROGRESS_CODE 0x00000001
-#define EFI_ERROR_CODE 0x00000002
-#define EFI_DEBUG_CODE 0x00000003
+#define EFI_PROGRESS_CODE 0x00000001
+#define EFI_ERROR_CODE 0x00000002
+#define EFI_DEBUG_CODE 0x00000003
//
// Definitions of severities, all other values masked by
@@ -61,10 +61,10 @@ typedef UINT32 EFI_STATUS_CODE_TYPE;
// For example, if a memory error was not detected early enough,
// the bad data could be consumed by other drivers.
//
-#define EFI_ERROR_MINOR 0x40000000
-#define EFI_ERROR_MAJOR 0x80000000
-#define EFI_ERROR_UNRECOVERED 0x90000000
-#define EFI_ERROR_UNCONTAINED 0xa0000000
+#define EFI_ERROR_MINOR 0x40000000
+#define EFI_ERROR_MAJOR 0x80000000
+#define EFI_ERROR_UNRECOVERED 0x90000000
+#define EFI_ERROR_UNCONTAINED 0xa0000000
//
// Status Code Value Definition
@@ -74,18 +74,18 @@ typedef UINT32 EFI_STATUS_CODE_VALUE;
// A Status Code Value is made up of the class, subclass, and
// an operation.
//
-#define EFI_STATUS_CODE_CLASS_MASK 0xFF000000
-#define EFI_STATUS_CODE_SUBCLASS_MASK 0x00FF0000
-#define EFI_STATUS_CODE_OPERATION_MASK 0x0000FFFF
+#define EFI_STATUS_CODE_CLASS_MASK 0xFF000000
+#define EFI_STATUS_CODE_SUBCLASS_MASK 0x00FF0000
+#define EFI_STATUS_CODE_OPERATION_MASK 0x0000FFFF
//
// Definition of Status Code extended data header.
// The data will follow HeaderSize bytes from the beginning of
// the structure and is Size bytes long.
//
typedef struct {
- UINT16 HeaderSize;
- UINT16 Size;
- EFI_GUID Type;
+ UINT16 HeaderSize;
+ UINT16 Size;
+ EFI_GUID Type;
} EFI_STATUS_CODE_DATA;
#endif