]> git.proxmox.com Git - qemu.git/commit
sparc32 do_unassigned_access overhaul v2
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Fri, 15 Jan 2010 21:28:56 +0000 (22:28 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Fri, 15 Jan 2010 21:33:28 +0000 (21:33 +0000)
commit576c2cdc767ab9e2dc038fa4c99f22e53287a3de
tree911b667315790cff9d418b7195c7088733464833
parent09aac1266e8acd02f1beb7adc91286716d7162bd
sparc32 do_unassigned_access overhaul v2

According to pages 9-31 - 9-34 of "SuperSPARC & MultiCache Controller
User's Manual":

1. "A lower priority fault may not overwrite the
    MFSR status of a higher priority fault."
2. The MFAR is overwritten according to the policy defined for the MFSR
3. The overwrite bit is asserted if the fault status register (MFSR)
   has been written more than once by faults of the same class
4. SuperSPARC will never place instruction fault addresses in the MFAR.

Implementation of points 1-3 allows booting Solaris 2.6 and 2.5.1.

v2: CODING_STYLE fixes

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/op_helper.c