qemu-patch-raspberry4/target-sparc
Artyom Tarasenko 576c2cdc76 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>
2010-01-15 21:33:28 +00:00
..
cpu.h sparc64: interrupt trap handling 2010-01-08 17:25:13 +00:00
exec.h sparc64: move cpu_interrupts_enabled to cpu.h 2010-01-08 17:16:45 +00:00
helper.c Sparc32: remove unused variable, spotted by clang 2010-01-13 18:49:40 +00:00
helper.h sparc64: use helper_wrpil to check pending irq on write 2010-01-08 17:14:11 +00:00
machine.c Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00
op_helper.c sparc32 do_unassigned_access overhaul v2 2010-01-15 21:33:28 +00:00
TODO Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
translate.c sparc64: use helper_wrpil to check pending irq on write 2010-01-08 17:14:11 +00:00