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

Side by Side Diff: src/platform/vboot_reference/vboot_firmware/stub/utility_stub.c

Issue 2219004: Rearrange vboot_reference directories to isolate external components. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
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 unified diff | Download patch
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 utility functions which call their linux-specific 5 * Stub implementations of utility functions which call their linux-specific
6 * equivalents. 6 * equivalents.
7 */ 7 */
8 8
9 #include "utility.h" 9 #include "utility.h"
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 return NULL; 89 return NULL;
90 if (len > state->remaining_len) { 90 if (len > state->remaining_len) {
91 state->overrun = 1; 91 state->overrun = 1;
92 return NULL; 92 return NULL;
93 } 93 }
94 Memcpy(state->remaining_buf, src, len); 94 Memcpy(state->remaining_buf, src, len);
95 state->remaining_buf += len; 95 state->remaining_buf += len;
96 state->remaining_len -= len; 96 state->remaining_len -= len;
97 return src; 97 return src;
98 } 98 }
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/vboot_firmware/stub/boot_device_stub.c ('k') | src/platform/vboot_reference/vfirmware/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698