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 * 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 } |
OLD | NEW |