diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-09-23 14:30:30 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-09-25 20:27:00 +0000 |
commit | f318ee205cc8d92def925c6158272da8a63bf1ed (patch) | |
tree | a0c380fed4d67fbfec256babd3b29175be52464c /tests/futility/data | |
parent | d5aa5bdb292b64f259f55319fd83bd4a4d548a12 (diff) | |
download | vboot-f318ee205cc8d92def925c6158272da8a63bf1ed.tar.gz |
futility: implement vbutil_kernel using buffers, not files
The original vbutil_kernel command used file read and write to
make changes. Futility prefers to use memory-mapped files. This
rewrites cmd_vbutil_kernel.c to use that scheme.
BUG=none
BRANCH=ToT
TEST=make runtests
The original cmd_vbutil_kernel.c is renamed, and a test written
to ensure that the refactored version produces identical results.
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: Ic6c3e12429a5dcb271f8136a9edac70807d66120
Reviewed-on: https://chromium-review.googlesource.com/219647
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'tests/futility/data')
-rw-r--r-- | tests/futility/data/vmlinuz-amd64.bin | bin | 0 -> 4019120 bytes |
-rw-r--r-- | tests/futility/data/vmlinuz-arm.bin | bin | 0 -> 4396960 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/tests/futility/data/vmlinuz-amd64.bin b/tests/futility/data/vmlinuz-amd64.bin Binary files differnew file mode 100644 index 00000000..f54663ca --- /dev/null +++ b/tests/futility/data/vmlinuz-amd64.bin diff --git a/tests/futility/data/vmlinuz-arm.bin b/tests/futility/data/vmlinuz-arm.bin Binary files differnew file mode 100644 index 00000000..c7199879 --- /dev/null +++ b/tests/futility/data/vmlinuz-arm.bin |