Changeset e55fcd2 in mainline


Ignore:
Timestamp:
2013-01-01T17:03:52Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a77eaa2
Parents:
0acd339
Message:

arm32: Disable branch predictors for general operations.

Branch prediction needs maintenance.

File:
1 edited

Legend:

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

    r0acd339 re55fcd2  
    112112        /* Turn off accessed flag, RAZ/WI prior to armv7 */
    113113        control_reg &= ~(CP15_R1_ACCESS_FLAG_EN | CP15_R1_HW_ACCESS_FLAG_EN);
    114         /* Enable branch prediction RAZ/WI if not supported */
    115         control_reg |= CP15_R1_BRANCH_PREDICT_EN;
     114        /* Disable branch prediction RAZ/WI if not supported */
     115        control_reg &= ~CP15_R1_BRANCH_PREDICT_EN;
    116116
    117117        /* Unaligned access is supported on armv6+ */
Note: See TracChangeset for help on using the changeset viewer.