Index: firmware/stub/include/biosincludes.h |
diff --git a/firmware/stub/include/biosincludes.h b/firmware/stub/include/biosincludes.h |
index 9ed4eaba1503e308a7ccf4cce01e7d932a12eb3e..ac0159d89f05146747f2379494320b79c7c08f3f 100644 |
--- a/firmware/stub/include/biosincludes.h |
+++ b/firmware/stub/include/biosincludes.h |
@@ -11,4 +11,24 @@ |
* CHROMEOS_ENVIRONMENT is not defined at compilation time. |
*/ |
+#ifdef TARGET_TEST_MODE |
+ |
+typedef unsigned long long uint64_t; |
+typedef long long int64_t; |
+typedef unsigned int uint32_t; |
+typedef unsigned short uint16_t; |
+typedef unsigned char uint8_t; |
+typedef unsigned size_t; |
+ |
+#ifndef NULL |
+#define NULL ((void*) 0) |
+#endif |
+ |
+#define UINT64_C(x) ((uint64_t)x) |
+#define __attribute__(x) |
+#define PRIu64 "%ll" |
+extern void debug(const char *format, ...); |
+ |
+#endif |
+ |
#endif /*CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_*/ |