Changeset 4f2cd78 in rtems


Ignore:
Timestamp:
Apr 17, 2008, 10:42:03 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
df0bfdf
Parents:
7625be51
Message:

2008-04-17 Joel Sherrill <joel.sherrill@…>

  • cpu.c: Add arm_cpu_mode so ARM BSP can overrid default value for cpsr.
Location:
cpukit/score/cpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/ChangeLog

    r7625be51 r4f2cd78  
     12008-04-17      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * cpu.c: Add arm_cpu_mode so ARM BSP can overrid default value for
     4        cpsr.
     5
    162007-12-17      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/score/cpu/arm/cpu.c

    r7625be51 r4f2cd78  
    131131}
    132132
     133unsigned int arm_cpu_mode = 0x13;
     134
    133135void _CPU_Context_Initialize(
    134136  Context_Control  *the_context,
     
    142144    the_context->register_sp = (uint32_t  )stack_base + size ;
    143145    the_context->register_lr = (uint32_t  )entry_point;
    144     the_context->register_cpsr = new_level | 0x13;
     146    the_context->register_cpsr = new_level | arm_cpu_mode;
    145147}
    146148
Note: See TracChangeset for help on using the changeset viewer.