Changeset 25eec4e in mainline for boot/arch/arm32/include/mm.h


Ignore:
Timestamp:
2013-04-19T18:38:18Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6d717a4
Parents:
a1e2df13 (diff), 289cb7dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline chages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/include/mm.h

    ra1e2df13 r25eec4e  
    4747/** Describe "section" page table entry (one-level paging with 1 MB sized pages). */
    4848#define PTE_DESCRIPTOR_SECTION  0x02
     49/** Shift of memory address in section descriptor */
     50#define PTE_SECTION_SHIFT  20
    4951
    5052/** Page table access rights: user - no access, kernel - read/write. */
    5153#define PTE_AP_USER_NO_KERNEL_RW  0x01
     54
     55/** Start of memory mapped I/O area for GTA02 */
     56#define GTA02_IOMEM_START  0x48000000
     57/** End of memory mapped I/O area for GTA02 */
     58#define GTA02_IOMEM_END  0x60000000
     59
     60/** Start of ram memory on BBxM */
     61#define BBXM_RAM_START   0x80000000
     62/** Start of ram memory on BBxM */
     63#define BBXM_RAM_END   0xc0000000
     64
     65/** Start of ram memory on AM335x */
     66#define AM335x_RAM_START   0x80000000
     67/** End of ram memory on AM335x */
     68#define AM335x_RAM_END     0xC0000000
     69
    5270
    5371/* Page table level 0 entry - "section" format is used
     
    5876        unsigned int bufferable : 1;
    5977        unsigned int cacheable : 1;
    60         unsigned int impl_specific : 1;
     78        unsigned int xn : 1;
    6179        unsigned int domain : 4;
    6280        unsigned int should_be_zero_1 : 1;
    63         unsigned int access_permission : 2;
    64         unsigned int should_be_zero_2 : 8;
     81        unsigned int access_permission_0 : 2;
     82        unsigned int tex : 3;
     83        unsigned int access_permission_1 : 1;
     84        unsigned int shareable : 1;
     85        unsigned int non_global : 1;
     86        unsigned int should_be_zero_2 : 1;
     87        unsigned int non_secure : 1;
    6588        unsigned int section_base_addr : 12;
    6689} __attribute__((packed)) pte_level0_section_t;
Note: See TracChangeset for help on using the changeset viewer.