From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH 13/17] arm: initial drop Date: Sat, 1 Feb 2014 18:28:26 -0800 Message-ID: <20140202022826.GW3570@cbox> References: <1390321323-1855-1-git-send-email-drjones@redhat.com> <1390321323-1855-14-git-send-email-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org To: Andrew Jones Return-path: Received: from mail-pa0-f45.google.com ([209.85.220.45]:62759 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750989AbaBBC2X (ORCPT ); Sat, 1 Feb 2014 21:28:23 -0500 Received: by mail-pa0-f45.google.com with SMTP id lf10so5856033pab.4 for ; Sat, 01 Feb 2014 18:28:23 -0800 (PST) Content-Disposition: inline In-Reply-To: <1390321323-1855-14-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jan 21, 2014 at 05:21:59PM +0100, Andrew Jones wrote: > This is the initial arm test framework and a first simple test that > checks some bootinfo. kvm isn't needed to run this test. This patch > also adds a common build environment variable, $QEMU_BIN, which > allows makefiles to call on qemu when needed. > > Try it out with > yum install gcc-arm-linux-gnu dtc > export QEMU=[qemu with mach-virt and virtio-testdev] > ./configure --cross-prefix=arm-linux-gnu- --arch=arm > make > ./run_tests.sh > > Signed-off-by: Andrew Jones > > --- [...] > diff --git a/lib/arm/setup.c b/lib/arm/setup.c > new file mode 100644 > index 0000000000000..1db249a1eb94c > --- /dev/null > +++ b/lib/arm/setup.c > @@ -0,0 +1,46 @@ > +#include "libcflat.h" > +#include "devicetree.h" > +#include "arm/sysinfo.h" > +#include "heap.h" > + > +extern void io_init(void); > +extern void setup_args(char *args); > + > +extern unsigned long stacktop; > + > +void *mem_start; > +size_t mem_size; > +char *bootargs; const char *bootargs? > + > +static void read_bootinfo(const void *fdt) > +{ > + int ret; > + [...] Reviewed-by: Christoffer Dall