Ignore:
File:
1 edited

Legend:

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

    r9d58539 r0acd339  
    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
    5265
    5366/* Page table level 0 entry - "section" format is used
     
    5871        unsigned int bufferable : 1;
    5972        unsigned int cacheable : 1;
    60         unsigned int impl_specific : 1;
     73        unsigned int xn : 1;
    6174        unsigned int domain : 4;
    6275        unsigned int should_be_zero_1 : 1;
    63         unsigned int access_permission : 2;
    64         unsigned int should_be_zero_2 : 8;
     76        unsigned int access_permission_0 : 2;
     77        unsigned int tex : 3;
     78        unsigned int access_permission_1 : 2;
     79        unsigned int non_global : 1;
     80        unsigned int should_be_zero_2 : 1;
     81        unsigned int non_secure : 1;
    6582        unsigned int section_base_addr : 12;
    6683} __attribute__((packed)) pte_level0_section_t;
Note: See TracChangeset for help on using the changeset viewer.