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

Unified Diff: src/platform/vboot_reference/common/boot_device_stub.c

Issue 2165003: Load kernel APIs added (once more, from the correct repo) (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos
Patch Set: Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/common/boot_device_stub.c
diff --git a/src/platform/vboot_reference/common/boot_device_stub.c b/src/platform/vboot_reference/common/boot_device_stub.c
new file mode 100644
index 0000000000000000000000000000000000000000..c7bb86f5c3ce50b5cdc9c82b9c940c3b94fc52f8
--- /dev/null
+++ b/src/platform/vboot_reference/common/boot_device_stub.c
@@ -0,0 +1,17 @@
+/* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ *
+ * Stub implementations of boot device functions.
+ */
+
+#include "boot_device.h"
+
+int BootDeviceReadLBA(uint64_t lba_start, uint64_t lba_count, void *buffer) {
+ return 1;
+}
+
+int BootDeviceWriteLBA(uint64_t lba_start, uint64_t lba_count,
+ const void *buffer) {
+ return 1;
+}
« no previous file with comments | « src/platform/vboot_reference/common/Makefile ('k') | src/platform/vboot_reference/common/include/boot_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698