Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 6ac14a70 in mainline for kernel/arch/arm32/src/start.S


Ignore:
Timestamp:
2009-07-28T12:47:31Z (12 years ago)
Author:
Vineeth Pillai <vineethrp@…>
Branches:
lfn, master
Children:
5e73815
Parents:
7038f55
Message:

ARM port for development board integratorcp(ARM926EJ core module).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/start.S

    r7038f55 r6ac14a70  
    3636
    3737kernel_image_start:
    38        
     38
     39        # initialize Stack pointer for exception modes
     40        mrs r4, cpsr
     41        bic r4, r4, #0x1f
     42
     43        #FIQ Mode
     44        orr r3, r4, #0x11
     45        msr cpsr_c, r3
     46        ldr sp, =exc_stack
     47
     48        #IRQ Mode
     49        orr r3, r4, #0x12
     50        msr cpsr_c, r3
     51        ldr sp, =exc_stack
     52
     53        #ABORT Mode
     54        orr r3, r4, #0x17
     55        msr cpsr_c, r3
     56        ldr sp, =exc_stack
     57
     58        #UNDEFINED Mode
     59        orr r3, r4, #0x1b
     60        msr cpsr_c, r3
     61        ldr sp, =exc_stack
     62
    3963        # switch to supervisor mode
    40         mrs r3, cpsr
    41         bic r3, r3, #0x1f
    42         orr r3, r3, #0x13
     64        orr r3, r4, #0x13
    4365        msr cpsr_c, r3
    4466       
Note: See TracChangeset for help on using the changeset viewer.