~ubuntu-branches/ubuntu/karmic/linux-mvl-dove/karmic-proposed

« back to all changes in this revision

Viewing changes to arch/arm/mm/mmu.c

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader
  • Date: 2010-03-10 22:24:12 UTC
  • mto: (15.1.2 karmic-security)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100310222412-k86m3r53jw0je7x1
Tags: upstream-2.6.31
ImportĀ upstreamĀ versionĀ 2.6.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
 
185
185
#define PROT_PTE_DEVICE         L_PTE_PRESENT|L_PTE_YOUNG|L_PTE_DIRTY|L_PTE_WRITE
186
186
#define PROT_SECT_DEVICE        PMD_TYPE_SECT|PMD_SECT_AP_WRITE
187
 
#define PROT_SO_EXEC_DEVICE     PMD_TYPE_SECT|PMD_SECT_AP_WRITE
188
187
 
189
188
static struct mem_type mem_types[] = {
190
189
        [MT_DEVICE] = {           /* Strongly ordered / ARMv6 shared device */
250
249
                .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE,
251
250
                .domain    = DOMAIN_KERNEL,
252
251
        },
253
 
        [MT_EXEC_REGS] = {        /* Strongly ordered executable device (registers) */
254
 
                .prot_pte       = PROT_PTE_DEVICE,
255
 
                .prot_l1        = PMD_TYPE_TABLE,
256
 
                .prot_sect      = PROT_SO_EXEC_DEVICE | PMD_SECT_UNCACHED,
257
 
                .domain         = DOMAIN_IO,
258
 
        },
259
252
};
260
253
 
261
254
const struct mem_type *get_mem_type(unsigned int type)