[Qemu-devel] [PATCH 1/2] target-arm: Allow CPU "any" for system-mode emulation

2015-07-06 Thread meadori
From: Meador Inge The "any" CPU is useful for cases where the system-mode emulator is being used to work with a wide array of bare-metal C/C++ applications that have been compiled in different ways. Signed-off-by: Meador Inge --- target-arm/cpu.c | 4 1 file changed, 4 deletions(-) diff

[Qemu-devel] [PATCH 0/2] target-arm: "any" CPUs for system-mode

2015-07-06 Thread meadori
From: Meador Inge This patch series opens up the "any" CPU for system-mode and adds a new "any" variant named "anyvfp" that initializes the FP coprocessors as well. The "any" CPUs are very useful for quickly testing a range of applications that have been compiled with different settings using th

[Qemu-devel] [PATCH 2/2] target-arm: Add "anyvfp" CPU

2015-07-06 Thread meadori
From: Meador Inge This patch adds support for `-cpu anyvfp`, which is just like `-cpu any`, but enables the coprocessors by default. This is useful for working with a wide range of bare-metal C/C++ applications that have been compiled in different ways and assume the coprocessor has been enabled

[Qemu-devel] [PATCH] arm: Ensure LSB of BLX is set

2015-07-06 Thread meadori
From: Meador Inge This small patch adds a sanity check when disassembling the BLX instruction. The use case came to light when doing toolchain development and a similar check was upstreamed for Binutils: * https://sourceware.org/ml/binutils/2011-01/msg00077.html Patch by Nathan Sidwell. Sig

[Qemu-devel] [PATCH 1/4] linux-user: Exit 0 when -h is used

2015-07-06 Thread meadori
From: Meador Inge Signed-off-by: Meador Inge --- linux-user/main.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index c855bcc..c6ab557 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -65,7 +65,7 @@ uns

[Qemu-devel] [PATCH 0/4] linux-user: CLI cleanup

2015-07-06 Thread meadori
From: Meador Inge This patch series fixes a few nits in the Linux usermode driver to make the general behavior less surprising (proper error codes, --foo options, and -help) and to make it easier to discover bad command line input. Meador Inge (4): linux-user: Exit 0 when -h is used linux-us

[Qemu-devel] [PATCH 3/4] linux-user: Add proper error messages for bad options

2015-07-06 Thread meadori
From: Meador Inge This patch adds better support for diagnosing option parser errors. The previous implementation just printed the usage text and exited when a bad option or argument was found. This made it very difficult to determine why the usage was being displayed and it was doubly confusin

[Qemu-devel] [PATCH 2/4] linux-user: Add -help

2015-07-06 Thread meadori
From: Meador Inge This option is already available on the system mode binaries. It would be better if long options were supported (i.e. --help), but this is okay for now. Signed-off-by: Meador Inge --- linux-user/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/main.c b

[Qemu-devel] [PATCH 4/4] linux-user: Treat --foo options the same as -foo

2015-07-06 Thread meadori
From: Meador Inge The system mode binaries provide a similar alias and it makes common options like --version and --help work as expected. Signed-off-by: Meador Inge --- linux-user/main.c | 4 1 file changed, 4 insertions(+) diff --git a/linux-user/main.c b/linux-user/main.c index 94badf