Skip to content
  • Blue Swirl's avatar
    cpu-exec.c: avoid AREG0 use · cea5f9a2
    Blue Swirl authored
    
    
    Make functions take a parameter for CPUState instead of relying
    on global env. Pass CPUState pointer to TCG prologue, which moves
    it to AREG0.
    
    Thanks to Peter Maydell and Laurent Desnogues for the ARM prologue
    change.
    
    Revert the hacks to avoid AREG0 use on Sparc hosts.
    
    Move cpu_has_work() and cpu_pc_from_tb() from exec.h to cpu.h.
    
    Compile the file without HELPER_CFLAGS.
    
    Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
    cea5f9a2