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

Side by Side Diff: firmware/stub/boot_device_stub.c

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/lib/vboot_kernel.c ('k') | firmware/stub/include/biosincludes.h » ('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 * Stub implementations of boot device functions. 5 * Stub implementations of boot device functions.
6 */ 6 */
7 7
8 #include "boot_device.h" 8 #include "boot_device.h"
9 9
10 /* disable MSVC warnings on unused arguments */
11 __pragma(warning (disable: 4100))
12
10 int BootDeviceReadLBA(uint64_t lba_start, uint64_t lba_count, void *buffer) { 13 int BootDeviceReadLBA(uint64_t lba_start, uint64_t lba_count, void *buffer) {
11 return 1; 14 return 1;
12 } 15 }
13 16
14 int BootDeviceWriteLBA(uint64_t lba_start, uint64_t lba_count, 17 int BootDeviceWriteLBA(uint64_t lba_start, uint64_t lba_count,
15 const void *buffer) { 18 const void *buffer) {
16 return 1; 19 return 1;
17 } 20 }
OLDNEW
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | firmware/stub/include/biosincludes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698