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

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

Issue 5687001: Fix PRIu64 definition to llu. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git
Patch Set: Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « firmware/arch/arm/include/biosincludes.h ('k') | no next file » | 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 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_*/
OLDNEW
« no previous file with comments | « firmware/arch/arm/include/biosincludes.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698