Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191630
b: refs/heads/master
c: 035ca59
h: refs/heads/master
v: v3
  • Loading branch information
Matt Fleming committed Apr 25, 2010
1 parent 2d9ac3a commit a48b64b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7b03fa0bdc04e00bfbdc4cc69da144b11108f37
refs/heads/master: 035ca59fe8399a67b56511bd5b28130f0c4874a0
5 changes: 4 additions & 1 deletion trunk/arch/sh/kernel/head_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ ENTRY(_stext)
* r8 = scratch register
* r9 = scratch register
* r10 = number of PMB entries we've setup
* r11 = scratch register
*/

mov.l .LMMUCR, r1 /* Flush the TLB */
Expand Down Expand Up @@ -167,8 +168,9 @@ ENTRY(_stext)

.Lvalidate_existing_mappings:

mov.l .LPMB_DATA_MASK, r11
mov.l @r7, r8
and r0, r8
and r11, r8
cmp/eq r0, r8 /* Check for valid __MEMORY_START mappings */
bt .Lpmb_done

Expand Down Expand Up @@ -341,6 +343,7 @@ ENTRY(stack_start)
#ifdef CONFIG_PMB
.LPMB_ADDR: .long PMB_ADDR
.LPMB_DATA: .long PMB_DATA
.LPMB_DATA_MASK: .long PMB_PFN_MASK | PMB_V
.LFIRST_ADDR_ENTRY: .long PAGE_OFFSET | PMB_V
.LFIRST_DATA_ENTRY: .long __MEMORY_START | PMB_V
.LMMUCR: .long MMUCR
Expand Down

0 comments on commit a48b64b

Please sign in to comment.