Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 603
b: refs/heads/master
c: ca31515
h: refs/heads/master
i:
  601: 25cb74a
  599: bc388e4
v: v3
  • Loading branch information
George G. Davis authored and Russell King committed Apr 29, 2005
1 parent 03f2762 commit a4f401c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 05f9869bf20e11bcb9b64b9ebd6a9cf89d6b71ba
refs/heads/master: ca315159dfa80a2bfc7d917a717a7ee8d771bdf9
5 changes: 3 additions & 2 deletions trunk/arch/arm/mm/mm-armv.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,10 @@ static void __init build_mem_type_table(void)
mem_types[MT_MEMORY].prot_sect &= ~PMD_BIT4;
mem_types[MT_ROM].prot_sect &= ~PMD_BIT4;
/*
* Mark cache clean areas read only from SVC mode
* and no access from userspace.
* Mark cache clean areas and XIP ROM read only
* from SVC mode and no access from userspace.
*/
mem_types[MT_ROM].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE;
mem_types[MT_MINICLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE;
mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE;
}
Expand Down

0 comments on commit a4f401c

Please sign in to comment.