Changeset 0f874ee in rtems


Ignore:
Timestamp:
Oct 27, 2013, 5:51:53 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
09d0c96b
Parents:
73e7345
git-author:
Sebastian Huber <sebastian.huber@…> (10/27/13 17:51:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/27/13 17:54:50)
Message:

bsps/arm: Init trans tbl with invalid entries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/include/arm-cp15-start.h

    r73e7345 r0f874ee  
    9191  arm_cp15_set_translation_table_base(ttb);
    9292
    93   /* Initialize translation table with fixed-map read-write entries */
     93  /* Initialize translation table with invalid entries */
    9494  for (i = 0; i < ARM_MMU_TRANSLATION_TABLE_ENTRY_COUNT; ++i) {
    95     ttb [i] = (i << ARM_MMU_SECT_BASE_SHIFT) | ARMV7_MMU_DATA_READ_WRITE;
     95    ttb [i] = 0;
    9696  }
    9797
Note: See TracChangeset for help on using the changeset viewer.