Rev 2284 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2284 | Rev 2286 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | .global exc_stack |
35 | .global exc_stack |
36 | .global supervisor_sp |
36 | .global supervisor_sp |
37 | 37 | ||
38 | 38 | ||
39 | kernel_image_start: |
39 | kernel_image_start: |
40 | 40 | ||
- | 41 | #switch to system mode |
|
- | 42 | mrs r3, cpsr |
|
- | 43 | orr r3, r3, #0x1f |
|
- | 44 | msr cpsr_c, r3 |
|
- | 45 | ||
41 | ldr sp, =end_stack |
46 | ldr sp, =end_stack |
42 | cmp r2, #0 |
47 | cmp r2, #0 |
43 | beq bootinfo_end |
48 | beq bootinfo_end |
44 | 49 | ||
45 | ldr r3, =bootinfo |
50 | ldr r3, =bootinfo |