Changeset 7ad725f2 in rtems


Ignore:
Timestamp:
Oct 14, 2013, 1:34:58 PM (6 years ago)
Author:
Hesham AL-Matary <heshamelmatary@…>
Branches:
4.11, master
Children:
f619250
Parents:
09d0c96b
git-author:
Hesham AL-Matary <heshamelmatary@…> (10/14/13 13:34:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/27/13 18:06:05)
Message:

Modify raspberrypi mm_config_table to map GPIO and registers.

Changes include reverting back to setting all page-table section entries
as invalid and modify mm_config_table to apply the correct memory attributes
for raspbberypi memory sections at startup. The newly added entry at mm_config_table
maps raspberrypi GPIO and other registers found at raspberrypi.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c

    r09d0c96b r7ad725f2  
    4343    .begin = (uint32_t) bsp_section_text_begin,
    4444    .end = (uint32_t) bsp_section_text_end,
    45     .flags = ARMV7_MMU_CODE_CACHED
     45    .flags = ARMV7_MMU_READ_WRITE
    4646  }, {
    4747    .begin = (uint32_t) bsp_section_rodata_begin,
     
    6464    .end = (uint32_t) bsp_section_stack_end,
    6565    .flags = MMU_DATA_READ_WRITE
     66  }, {
     67    .begin = 0x20000000,
     68    .end = 0x21000000,
     69    .flags = ARMV7_MMU_DEVICE
    6670  }
    6771};
    6872
    6973BSP_START_DATA_SECTION const size_t bsp_mm_config_table_size =
    70 RTEMS_ARRAY_SIZE(&bsp_mm_config_table);
     74RTEMS_ARRAY_SIZE(bsp_mm_config_table);
Note: See TracChangeset for help on using the changeset viewer.