]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Types.h
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / CPU / Include / Types.h
1 /*++
2
3 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7
8
9 Module Name:
10
11 Types.h
12
13 Abstract:
14
15 This file include all the external data types.
16
17 --*/
18
19 #ifndef _TYPES_H_
20 #define _TYPES_H_
21
22
23
24 //
25 // Modifiers to abstract standard types to aid in debug of problems
26 //
27 #define CONST const
28 #define STATIC static
29 #define VOID void
30 #define VOLATILE volatile
31
32 //
33 // Constants. They may exist in other build structures, so #ifndef them.
34 //
35 #ifndef TRUE
36 #define TRUE ((BOOLEAN) 1 == 1)
37 #endif
38
39 #ifndef FALSE
40 #define FALSE ((BOOLEAN) 0 == 1)
41 #endif
42
43 #ifndef NULL
44 #define NULL ((VOID *) 0)
45 #endif
46
47 typedef UINT32 STATUS;
48 #define SUCCESS 0
49 #define FAILURE 0xFFFFFFFF
50
51 #ifndef MRC_DEADLOOP
52 #define MRC_DEADLOOP() while (TRUE)
53 #endif
54
55 #endif