[Qemu-devel] [PATCH v3 RFC 0/2] Implement Hex file loader and add test case

Su Hang posted 2 patches 5 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1523155912-4883-1-git-send-email-suhang16@mails.ucas.ac.cn
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test s390x passed
There is a newer version of this series
MAINTAINERS                          |   6 +
hw/arm/boot.c                        |   9 +-
hw/core/loader.c                     | 280 +++++++++++++++++++++++++++++++++++
include/hw/loader.h                  |  17 +++
tests/Makefile.include               |   2 +
tests/hex-loader-check-data/test.hex |  11 ++
tests/hexloader-test.c               |  56 +++++++
7 files changed, 380 insertions(+), 1 deletion(-)
create mode 100644 tests/hex-loader-check-data/test.hex
create mode 100644 tests/hexloader-test.c
[Qemu-devel] [PATCH v3 RFC 0/2] Implement Hex file loader and add test case
Posted by Su Hang 5 years, 11 months ago
These series of patchs implement Intel Hexadecimal File loader and
add QTest testcase to verify the correctness of Loader.

v1: Basic version.
v2: Replace `do{}while(cond);` block with `for(;;)` block.
v3: Add two new files information in MAINTAINERS.

Su Hang (2):
  Implement .hex file loader
  Add QTest testcase for the Intel Hexadecimal Object File Loader.

 MAINTAINERS                          |   6 +
 hw/arm/boot.c                        |   9 +-
 hw/core/loader.c                     | 280 +++++++++++++++++++++++++++++++++++
 include/hw/loader.h                  |  17 +++
 tests/Makefile.include               |   2 +
 tests/hex-loader-check-data/test.hex |  11 ++
 tests/hexloader-test.c               |  56 +++++++
 7 files changed, 380 insertions(+), 1 deletion(-)
 create mode 100644 tests/hex-loader-check-data/test.hex
 create mode 100644 tests/hexloader-test.c

-- 
2.7.4