path: root/c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h
diff options
authorPavel Pisa <>2016-07-17 18:21:48 +0200
committerPavel Pisa <>2016-10-02 10:40:34 +0200
commitae3578a2c9296d485e8eb395db46f8c84413604d (patch)
tree6892f1b3423ae12e79367a82d2c3a7194cd9e665 /c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h
parentlibdl/rtl-obj.c: synchronize cache after code relocation. (diff)
bsps/arm: do not disable MMU during translation table management operations.
Disabling MMU requires complex cache flushing and invalidation operations. There is almost no way how to do that right on SMP system without stopping all other CPUs. On the other hand, there is documented sequence of operations which should be used according to ARM manual and it guarantees even distribution of maintenance operations to other cores for last generation of Cortex-A cores with multiprocessor extension. This change could require addition of appropriate entry to arm_cp15_start_mmu_config_table for some BSPs to ensure that MMU table stays accessible after MMU is enabled { .begin = (uint32_t) bsp_translation_table_base, .end = (uint32_t) bsp_translation_table_base + 0x4000, .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED } Updates #2782 Updates #2783
Diffstat (limited to 'c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h')
0 files changed, 0 insertions, 0 deletions