Ignore:
Timestamp:
Feb 15, 2021, 3:05:10 PM (4 months ago)
Author:
Kinsey Moore <kinsey.moore@…>
Branches:
master
Children:
a27ba3f
Parents:
9d77c0f4
git-author:
Kinsey Moore <kinsey.moore@…> (02/15/21 15:05:10)
git-committer:
Joel Sherrill <joel@…> (03/05/21 14:43:15)
Message:

bsps/aarch64: RTEMS_DEBUG stack alignment faults

Run with stack alignment faults enabled under RTEMS_DEBUG to catch any
stack misalignments early. This makes it easier to track them down
should they ever occur.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/aarch64/shared/start/start.S

    r9d77c0f4 r9951cee  
    9191#endif
    9292
     93        /* Initialize SCTLR_EL1 */
     94        mov x0, XZR
     95#if defined(RTEMS_DEBUG)
     96        /* Enable Stack alignment checking */
     97        orr x0, x0, #(1<<3)
     98#endif
     99        msr SCTLR_EL1, x0
     100
    93101#ifdef RTEMS_SMP
    94102        /* Read MPIDR and get current processor index */
Note: See TracChangeset for help on using the changeset viewer.