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

Side by Side Diff: vboot_firmware/include/boot_device.h

Issue 2833012: Move all system includes in vboot_firmware to sysincludes.h (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Oops, forgot the new header 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 | « utility/kernel_utility.cc ('k') | vboot_firmware/include/gbb_header.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 5
6 /* Helper functions/wrappers for raw sector access to current boot device. */ 6 /* Helper functions/wrappers for raw sector access to current boot device. */
7 7
8 #ifndef VBOOT_REFERENCE_BOOT_DEVICE_H_ 8 #ifndef VBOOT_REFERENCE_BOOT_DEVICE_H_
9 #define VBOOT_REFERENCE_BOOT_DEVICE_H_ 9 #define VBOOT_REFERENCE_BOOT_DEVICE_H_
10 10
11 #include <stdint.h> 11 #include "sysincludes.h"
12 12
13 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);
14 /* Reads lba_count LBA sectors, starting at sector lba_start, from the current 14 /* Reads lba_count LBA sectors, starting at sector lba_start, from the current
15 * boot device, into the buffer. 15 * boot device, into the buffer.
16 * 16 *
17 * Returns 0 if successful or 1 if error. */ 17 * Returns 0 if successful or 1 if error. */
18 18
19 int BootDeviceWriteLBA(uint64_t lba_start, uint64_t lba_count, 19 int BootDeviceWriteLBA(uint64_t lba_start, uint64_t lba_count,
20 const void *buffer); 20 const void *buffer);
21 /* Writes lba_count LBA sectors, starting at sector lba_start, to the current 21 /* Writes lba_count LBA sectors, starting at sector lba_start, to the current
22 * boot device, from the buffer. 22 * boot device, from the buffer.
23 * 23 *
24 * Returns 0 if successful or 1 if error. */ 24 * Returns 0 if successful or 1 if error. */
25 25
26 #endif /* VBOOT_REFERENCE_BOOT_DEVICE_H_ */ 26 #endif /* VBOOT_REFERENCE_BOOT_DEVICE_H_ */
OLDNEW
« no previous file with comments | « utility/kernel_utility.cc ('k') | vboot_firmware/include/gbb_header.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698