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