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 int BootDeviceReadLBA(uint64_t lba_start, uint64_t lba_count, void *buffer) { | 10 int BootDeviceReadLBA(uint64_t lba_start, uint64_t lba_count, void *buffer) { |
11 return 1; | 11 return 1; |
12 } | 12 } |
13 | 13 |
14 int BootDeviceWriteLBA(uint64_t lba_start, uint64_t lba_count, | 14 int BootDeviceWriteLBA(uint64_t lba_start, uint64_t lba_count, |
15 const void *buffer) { | 15 const void *buffer) { |
16 return 1; | 16 return 1; |
17 } | 17 } |
OLD | NEW |