|
@@ -283,7 +283,7 @@ static struct mem_type mem_types[] = {
|
|
|
},
|
|
},
|
|
|
[MT_MEMORY_SO] = {
|
|
[MT_MEMORY_SO] = {
|
|
|
.prot_pte = L_PTE_PRESENT | L_PTE_YOUNG | L_PTE_DIRTY |
|
|
.prot_pte = L_PTE_PRESENT | L_PTE_YOUNG | L_PTE_DIRTY |
|
|
|
- L_PTE_MT_UNCACHED,
|
|
|
|
|
|
|
+ L_PTE_MT_UNCACHED | L_PTE_XN,
|
|
|
.prot_l1 = PMD_TYPE_TABLE,
|
|
.prot_l1 = PMD_TYPE_TABLE,
|
|
|
.prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_S |
|
|
.prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_S |
|
|
|
PMD_SECT_UNCACHED | PMD_SECT_XN,
|
|
PMD_SECT_UNCACHED | PMD_SECT_XN,
|