Changeset 3e828ea in mainline for boot/arch/arm32/src/asm.S


Ignore:
Timestamp:
2019-09-23T12:49:29Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9be2358
Parents:
9259d20 (diff), 1a4ec93f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiri Svoboda <jiri@…> (2019-09-22 12:49:07)
git-committer:
Jiri Svoboda <jiri@…> (2019-09-23 12:49:29)
Message:

Merge changes from master, especially Meson build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/src/asm.S

    r9259d20 r3e828ea  
    3232.section BOOTSTRAP
    3333
     34#define CP15_C1_U               22
     35#define CP15_C1_IC              12
     36#define CP15_C1_BP              11
     37#define CP15_C1_DC              2
     38
    3439SYMBOL(start)
     40
     41#ifdef PROCESSOR_ARCH_armv6
     42        /*
     43         * Enable unaligned doubleword memory accesses (STRD/LDRD) if the
     44         * processor supports it. Note that that boils down to ARMv6 processors
     45         * only as the older architectures require doubleword alignment and
     46         * ARMv7 always assumes the U bit is 1.
     47         */
     48        mrc     p15, 0, r0, c1, c0, 0
     49        orr     r0, r0, #(1 << CP15_C1_U)
     50        mcr     p15, 0, r0, c1, c0, 0
     51#endif
     52
    3553        ldr sp, =boot_stack
    3654        b bootstrap
     
    5977        # r0 is kernel entry point
    6078        # r1 is pointer to the bootinfo structure
    61 
    62 #define CP15_C1_IC              12
    63 #define CP15_C1_BP              11
    64 #define CP15_C1_DC              2
    65 
    6679
    6780#ifndef PROCESSOR_ARCH_armv7_a
Note: See TracChangeset for help on using the changeset viewer.