From 7a0a9c2c64be242d5953d5ce6172976b05f6c14f Mon Sep 17 00:00:00 2001 From: Ronald Hecht Date: Tue, 19 Feb 2013 12:45:06 +0100 Subject: Added LEON MMU ASI mappings and corrected LEON3 MMU masks. This patch adds SPARC ASI mappings that are used by the LEON processor.It also corrects the MMU context register and context table pointer mask of the LEON3. Signed-off-by: Ronald Hecht Signed-off-by: Fabien Chouteau Signed-off-by: Blue Swirl --- target-sparc/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-sparc/cpu.c') diff --git a/target-sparc/cpu.c b/target-sparc/cpu.c index ef52df6d74..cc1453e55f 100644 --- a/target-sparc/cpu.c +++ b/target-sparc/cpu.c @@ -580,8 +580,8 @@ static const sparc_def_t sparc_defs[] = { .fpu_version = 4 << 17, /* FPU version 4 (Meiko) */ .mmu_version = 0xf3000000, .mmu_bm = 0x00000000, - .mmu_ctpr_mask = 0x007ffff0, - .mmu_cxr_mask = 0x0000003f, + .mmu_ctpr_mask = 0xfffffffc, + .mmu_cxr_mask = 0x000000ff, .mmu_sfsr_mask = 0xffffffff, .mmu_trcr_mask = 0xffffffff, .nwindows = 8, -- cgit v1.2.1