Skip to content
  • Peter Maydell's avatar
    target-arm: Abstract out load/store from a vaddr in AArch32 · 08307563
    Peter Maydell authored
    
    
    AArch32 code (ie traditional 32 bit world) expects to be
    able to pass a vaddr in a TCGv_i32. However when QEMU is
    compiled with TARGET_LONG_BITS=32 the TCG load/store
    functions take a TCGv_i64. Abstract out load/store with
    a 32 bit vaddr so we have a place to put the zero extension
    of the vaddr and the extension/truncation of the data value.
    
    Apart from the function definitions most of this patch is
    a simple s/tcg_gen_qemu_/gen_aa32_/.
    
    Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    Message-id: 1378235544-22290-3-git-send-email-peter.maydell@linaro.org
    08307563