Changeset f7fba727 in mainline


Ignore:
Timestamp:
2013-08-25T23:39:59Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b34360
Parents:
5b1adf5
Message:

arm32: Only set the VMSAv6 bit (23) on armv6.

Qemu changes the pt format even for icp (ARM926-EJS, armv5).
Fixes #551.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/src/mm.c

    r5b1adf5 rf7fba727  
    207207                 * so this is safe for all archs.
    208208                 * Enable VMSAv6 the bit (23) is only writable on ARMv6.
     209                 * (and QEMU)
    209210                 */
     211#ifdef PROCESSOR_ARCH_armv6
    210212                "ldr r1, =0x00801805\n"
     213#else
     214                "ldr r1, =0x00001805\n"
     215#endif
    211216               
    212217                "orr r0, r0, r1\n"
Note: See TracChangeset for help on using the changeset viewer.