]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r | |
4 | \r | |
5 | This program and the accompanying materials are licensed and made available under\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution.\r | |
7 | The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php.\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | \r | |
14 | \r | |
15 | Module Name:\r | |
16 | \r | |
17 | Types.h\r | |
18 | \r | |
19 | Abstract:\r | |
20 | \r | |
21 | This file include all the external data types.\r | |
22 | \r | |
23 | --*/\r | |
24 | \r | |
25 | #ifndef _TYPES_H_\r | |
26 | #define _TYPES_H_\r | |
27 | \r | |
28 | \r | |
29 | \r | |
30 | //\r | |
31 | // Modifiers to abstract standard types to aid in debug of problems\r | |
32 | //\r | |
33 | #define CONST const\r | |
34 | #define STATIC static\r | |
35 | #define VOID void\r | |
36 | #define VOLATILE volatile\r | |
37 | \r | |
38 | //\r | |
39 | // Constants. They may exist in other build structures, so #ifndef them.\r | |
40 | //\r | |
41 | #ifndef TRUE\r | |
42 | #define TRUE ((BOOLEAN) 1 == 1)\r | |
43 | #endif\r | |
44 | \r | |
45 | #ifndef FALSE\r | |
46 | #define FALSE ((BOOLEAN) 0 == 1)\r | |
47 | #endif\r | |
48 | \r | |
49 | #ifndef NULL\r | |
50 | #define NULL ((VOID *) 0)\r | |
51 | #endif\r | |
52 | \r | |
53 | typedef UINT32 STATUS;\r | |
54 | #define SUCCESS 0\r | |
55 | #define FAILURE 0xFFFFFFFF\r | |
56 | \r | |
57 | #ifndef MRC_DEADLOOP\r | |
58 | #define MRC_DEADLOOP() while (TRUE)\r | |
59 | #endif\r | |
60 | \r | |
61 | #endif\r |