]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
linux-user/elfload.c: Update ARM HWCAP bits
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 May 2014 13:45:13 +0000 (14:45 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 2 May 2014 18:59:36 +0000 (21:59 +0300)
commit24682654654a2e7b50afc27880f4098e5fca3742
tree739939e60c2bb8ea99ada2d2a298c0aa673efede
parent43ce393ee5f7b96d2ac22fedc40d6b6fb3f65a3e
linux-user/elfload.c: Update ARM HWCAP bits

The kernel has added support for a number of new ARM HWCAP bits;
add them to QEMU, including support for setting them where we have
a corresponding CPU feature bit.

We were also incorrectly setting the VFPv3D16 HWCAP -- this means
"only 16 D registers", not "supports 16-bit floating point format";
since QEMU always has 32 D registers for VFPv3, we can just remove
the line that incorrectly set this bit.

The kernel does not set the HWCAP_FPA even if it is providing FPA
emulation via nwfpe, so don't set this bit in QEMU either.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/elfload.c