| OLD | NEW |
| 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 #ifndef CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_ | 5 #ifndef CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_ |
| 6 #define CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_ | 6 #define CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_ |
| 7 | 7 |
| 8 /* | 8 /* |
| 9 * This file is a placeholder for the includes supplied by the BIOS | 9 * This file is a placeholder for the includes supplied by the BIOS |
| 10 * compilation environment. This file is included if and only if | 10 * compilation environment. This file is included if and only if |
| 11 * CHROMEOS_ENVIRONMENT is not defined at compilation time. | 11 * CHROMEOS_ENVIRONMENT is not defined at compilation time. |
| 12 */ | 12 */ |
| 13 | 13 |
| 14 #ifdef TARGET_TEST_MODE | 14 #ifdef TARGET_TEST_MODE |
| 15 | 15 |
| 16 typedef unsigned long long uint64_t; | 16 typedef unsigned long long uint64_t; |
| 17 typedef long long int64_t; | 17 typedef long long int64_t; |
| 18 typedef unsigned int uint32_t; | 18 typedef unsigned int uint32_t; |
| 19 typedef unsigned short uint16_t; | 19 typedef unsigned short uint16_t; |
| 20 typedef unsigned char uint8_t; | 20 typedef unsigned char uint8_t; |
| 21 typedef unsigned size_t; | 21 typedef unsigned size_t; |
| 22 | 22 |
| 23 #ifndef NULL | 23 #ifndef NULL |
| 24 #define NULL ((void*) 0) | 24 #define NULL ((void*) 0) |
| 25 #endif | 25 #endif |
| 26 | 26 |
| 27 #define UINT64_C(x) ((uint64_t)x) | 27 #define UINT64_C(x) ((uint64_t)x) |
| 28 #define __attribute__(x) | 28 #define __attribute__(x) |
| 29 #define PRIu64 "ll" | 29 #define PRIu64 "llu" |
| 30 extern void debug(const char *format, ...); | 30 extern void debug(const char *format, ...); |
| 31 | 31 |
| 32 #define POSSIBLY_UNUSED | 32 #define POSSIBLY_UNUSED |
| 33 #define INLINE | 33 #define INLINE |
| 34 | 34 |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 #endif /*CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_*/ | 37 #endif /*CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_*/ |
| OLD | NEW |