Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188991
b: refs/heads/master
c: a9eb4f6
h: refs/heads/master
i:
  188989: 43a1d59
  188987: d63e401
  188983: b38150a
  188975: e889775
  188959: df626b4
  188927: 7056ffa
v: v3
  • Loading branch information
Matt Fleming authored and Paul Mundt committed Mar 23, 2010
1 parent 2036bcd commit c84478a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 685abecfc2a6036b713229617570980c566c7500
refs/heads/master: a9eb4f6d1a168c830a206306dfbb1f95a7fed6b3
2 changes: 2 additions & 0 deletions trunk/arch/sh/include/cpu-sh4/cpu/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#define MMUCR 0xFF000010 /* MMU Control Register */

#define MMU_ITLB_ADDRESS_ARRAY 0xF2000000
#define MMU_ITLB_ADDRESS_ARRAY2 0xF2800000
#define MMU_UTLB_ADDRESS_ARRAY 0xF6000000
#define MMU_UTLB_ADDRESS_ARRAY2 0xF6800000
#define MMU_PAGE_ASSOC_BIT 0x80
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/sh/mm/tlb-pteaex.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,7 @@ void local_flush_tlb_one(unsigned long asid, unsigned long page)
jump_to_uncached();
__raw_writel(page, MMU_UTLB_ADDRESS_ARRAY | MMU_PAGE_ASSOC_BIT);
__raw_writel(asid, MMU_UTLB_ADDRESS_ARRAY2 | MMU_PAGE_ASSOC_BIT);
__raw_writel(page, MMU_ITLB_ADDRESS_ARRAY | MMU_PAGE_ASSOC_BIT);
__raw_writel(asid, MMU_ITLB_ADDRESS_ARRAY2 | MMU_PAGE_ASSOC_BIT);
back_to_cached();
}

0 comments on commit c84478a

Please sign in to comment.