linux-user: Implement new ARM 64 bit cmpxchg kernel helper
commit97cc75606aef406e90a243cdb25347039003e7f0
authorDr. David Alan Gilbert <david.gilbert@linaro.org>
Wed, 31 Aug 2011 16:24:34 +0000 (31 17:24 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 9 Sep 2011 07:46:02 +0000 (9 10:46 +0300)
tree26fc8e31ebe00fdd98da851adaaec5b828fecd5c
parent70afc343c75ecc8895b9308ee6a15fcc7a3b0f3e
linux-user: Implement new ARM 64 bit cmpxchg kernel helper

linux-user: Implement new ARM 64 bit cmpxchg kernel helper

Linux 3.1 will have a new kernel-page helper for ARM implementing
64 bit cmpxchg. Implement this helper in QEMU linux-user mode:
 * Provide kernel helper emulation for 64bit cmpxchg
 * Allow guest to object to guest offset to ensure it can map a page
 * Populate page with kernel helper version

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Dr. David Alan Gilbert <david.gilbert@linaro.org>
linux-user/elfload.c
linux-user/main.c
linux-user/qemu.h