Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: firmware/stub/include/biosincludes.h

Issue 2809037: Make vboot_reference build in MSVC command line environment. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Integrated trunk changes. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « firmware/stub/boot_device_stub.c ('k') | firmware/stub/load_firmware_stub.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
15
16 typedef unsigned long long uint64_t;
17 typedef long long int64_t;
18 typedef unsigned int uint32_t;
19 typedef unsigned short uint16_t;
20 typedef unsigned char uint8_t;
21 typedef unsigned size_t;
22
23 #ifndef NULL
24 #define NULL ((void*) 0)
25 #endif
26
27 #define UINT64_C(x) ((uint64_t)x)
28 #define __attribute__(x)
29 #define PRIu64 "%ll"
30 extern void debug(const char *format, ...);
31
32 #endif
33
14 #endif /*CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_*/ 34 #endif /*CHROMEOS_SRC_PLATFORM_VBOOT_REFERENCE_FIRMWARE_STUB_BIOSINCLUDES_H_*/
OLDNEW
« no previous file with comments | « firmware/stub/boot_device_stub.c ('k') | firmware/stub/load_firmware_stub.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698