]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Types.h
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / CPU / Include / Types.h
diff --git a/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Types.h b/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Types.h
new file mode 100644 (file)
index 0000000..c808501
--- /dev/null
@@ -0,0 +1,61 @@
+/*++\r
+\r
+Copyright (c) 1999  - 2014, Intel Corporation. All rights reserved\r
+\r
+  This program and the accompanying materials are licensed and made available under\r
+  the terms and conditions of the BSD License that accompanies this distribution.\r
+  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php.\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+\r
+\r
+Module Name:\r
+\r
+    Types.h\r
+\r
+Abstract:\r
+\r
+    This file include all the external data types.\r
+\r
+--*/\r
+\r
+#ifndef _TYPES_H_\r
+#define _TYPES_H_\r
+\r
+\r
+\r
+//\r
+// Modifiers to abstract standard types to aid in debug of problems\r
+//\r
+#define CONST     const\r
+#define STATIC    static\r
+#define VOID      void\r
+#define VOLATILE  volatile\r
+\r
+//\r
+// Constants. They may exist in other build structures, so #ifndef them.\r
+//\r
+#ifndef TRUE\r
+#define TRUE  ((BOOLEAN) 1 == 1)\r
+#endif\r
+\r
+#ifndef FALSE\r
+#define FALSE ((BOOLEAN) 0 == 1)\r
+#endif\r
+\r
+#ifndef NULL\r
+#define NULL  ((VOID *) 0)\r
+#endif\r
+\r
+typedef UINT32 STATUS;\r
+#define SUCCESS 0\r
+#define FAILURE 0xFFFFFFFF\r
+\r
+#ifndef MRC_DEADLOOP\r
+#define MRC_DEADLOOP()    while (TRUE)\r
+#endif\r
+\r
+#endif\r