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