Received: from eggs.gnu.org ([2001:4830:134:3::10]:59624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3Ngd-0003a3-Fb for qemu-devel@nongnu.org; Tue, 03 Apr 2018 11:17:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3NgX-0004UY-Tz for qemu-devel@nongnu.org; Tue, 03 Apr 2018 11:17:27 -0400 Received: from smtp21.cstnet.cn ([159.226.251.21]:60036 helo=cstnet.cn) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3NgX-0004P6-68 for qemu-devel@nongnu.org; Tue, 03 Apr 2018 11:17:21 -0400 From: Su Hang Date: Tue, 3 Apr 2018 23:17:11 +0800 Message-Id: <1522768634-5548-1-git-send-email-suhang16@mails.ucas.ac.cn> Subject: [Qemu-devel] [PATCH 0/2 RFC] Implement Hex file loader and add test case List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stefanha@gmail.com, jim@groklearning.com, joel@jms.id.au, qemu-devel@nongnu.org These series of patchs implement Intel Hexadecimal File loader and add QTest testcase to verify the correctness of Loader. Su Hang (2): Implement .hex file loader Add QTest testcase for the Intel Hexadecimal Object File Loader. hw/arm/boot.c | 9 +- hw/core/loader.c | 280 +++++++++++++++++++++++++++++++++++++++++++++++++ include/hw/loader.h | 17 +++ tests/Makefile.include | 2 + tests/hexloader-test.c | 56 ++++++++++ tests/test.hex | 11 ++ 6 files changed, 374 insertions(+), 1 deletion(-) create mode 100644 tests/hexloader-test.c create mode 100644 tests/test.hex -- 2.7.4