Changeset a7f7b9c3 in mainline for kernel/arch/arm32/src/cpu/cpu.c


Ignore:
Timestamp:
2021-08-08T17:47:47Z (3 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2177b39
Parents:
3e6bca8
git-author:
Maurizio Lombardi <mlombard@…> (2021-08-06 07:56:17)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-08-08 17:47:47)
Message:

arm32: performance boost on raspberry pi

  • enable the icache and branch prediction for ARMv6
  • flush the branch predictor after writing to the TTBR0 register

Signed-off-by: Maurizio Lombardi <mlombard@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/cpu/cpu.c

    r3e6bca8 ra7f7b9c3  
    170170         */
    171171        control_reg |= SCTLR_CACHE_EN_FLAG;
    172 #endif
    173 #ifdef PROCESSOR_ARCH_armv7_a
    174172        /*
    175173         * ICache coherency is elaborated on in barrier.h.
Note: See TracChangeset for help on using the changeset viewer.