Changeset f074a4d in rtems for c/src/lib/libcpu/arm


Ignore:
Timestamp:
Oct 27, 2013, 6:27:44 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
fbed79b
Parents:
f619250
git-author:
Sebastian Huber <sebastian.huber@…> (10/27/13 18:27:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/27/13 18:39:36)
Message:

bsps/arm: ARMV7_MMU_DATA_READ_WRITE_SHAREABLE

Delete ARMV7_MMU_DATA_READ_WRITE_SHAREABLE and move RTEMS_SMP
specific MMU attribute settings to arm-cp15.h.

File:
1 edited

Legend:

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

    rf619250 rf074a4d  
    100100    | ARM_MMU_SECT_DEFAULT)
    101101
    102 #define ARMV7_MMU_READ_WRITE_CACHED \
    103   (ARMV7_MMU_READ_WRITE | ARM_MMU_SECT_TEX_0 | ARM_MMU_SECT_C | ARM_MMU_SECT_B)
     102#ifdef RTEMS_SMP
     103  #define ARMV7_MMU_READ_WRITE_CACHED \
     104    (ARMV7_MMU_READ_WRITE \
     105      | ARM_MMU_SECT_TEX_0 | ARM_MMU_SECT_C | ARM_MMU_SECT_B | ARM_MMU_SECT_S)
     106#else
     107  #define ARMV7_MMU_READ_WRITE_CACHED \
     108    (ARMV7_MMU_READ_WRITE \
     109      | ARM_MMU_SECT_TEX_0 | ARM_MMU_SECT_C | ARM_MMU_SECT_B)
     110#endif
    104111
    105112#define ARMV7_MMU_DATA_READ_ONLY \
     
    114121#define ARMV7_MMU_DATA_READ_WRITE_CACHED \
    115122  ARMV7_MMU_READ_WRITE_CACHED
    116 
    117 #define ARMV7_MMU_DATA_READ_WRITE_SHAREABLE \
    118   (ARMV7_MMU_READ_WRITE_CACHED | ARM_MMU_SECT_S)
    119123
    120124#define ARMV7_MMU_CODE \
Note: See TracChangeset for help on using the changeset viewer.