Skip to content
  • Blue Swirl's avatar
    e612a1f7
    Fix disassembler memory accesses · e612a1f7
    Blue Swirl authored
    
    
    Sparc disassembler wants to check previous addresses for some stuff
    and this may actually cause faults to be generated to the guest if the
    address is close to page start, because of the function used for the
    memory access.
    
    Fix by changing ldub_code to cpu_memory_rw_debug, which doesn't trigger
    exceptions.
    
    Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
    e612a1f7
    Fix disassembler memory accesses
    Blue Swirl authored
    
    
    Sparc disassembler wants to check previous addresses for some stuff
    and this may actually cause faults to be generated to the guest if the
    address is close to page start, because of the function used for the
    memory access.
    
    Fix by changing ldub_code to cpu_memory_rw_debug, which doesn't trigger
    exceptions.
    
    Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
Loading