4.104.115
Rev | Line | |
---|
[da215ded] | 1 | /** |
---|
[78623bce] | 2 | * @file |
---|
| 3 | * |
---|
| 4 | * @ingroup ScoreCPU |
---|
| 5 | * |
---|
| 6 | * @brief ARM assembler support API. |
---|
[da215ded] | 7 | */ |
---|
| 8 | |
---|
[08330bf] | 9 | /* |
---|
[4f0b287] | 10 | * $Id$ |
---|
[08330bf] | 11 | * |
---|
[5ce8a0d] | 12 | * COPYRIGHT (c) 2002 by Advent Networks, Inc. |
---|
[4f0b287] | 13 | * Jay Monkman <jmonkman@adventnetworks.com> |
---|
[08330bf] | 14 | * |
---|
| 15 | * The license and distribution terms for this file may be |
---|
| 16 | * found in the file LICENSE in this distribution or at |
---|
[57b8a7b6] | 17 | * http://www.rtems.com/license/LICENSE. |
---|
[08330bf] | 18 | * |
---|
[4f0b287] | 19 | * This file is the include file for cpu_asm.S |
---|
[08330bf] | 20 | */ |
---|
| 21 | |
---|
[7f70d1b7] | 22 | #ifndef _RTEMS_SCORE_CPU_ASM_H |
---|
| 23 | #define _RTEMS_SCORE_CPU_ASM_H |
---|
[08330bf] | 24 | |
---|
| 25 | |
---|
[4f0b287] | 26 | /* Registers saved in context switch: */ |
---|
[fa237002] | 27 | .set REG_CPSR, 0 |
---|
| 28 | .set REG_R4, 4 |
---|
| 29 | .set REG_R5, 8 |
---|
| 30 | .set REG_R6, 12 |
---|
| 31 | .set REG_R7, 16 |
---|
| 32 | .set REG_R8, 20 |
---|
| 33 | .set REG_R9, 24 |
---|
| 34 | .set REG_R10, 28 |
---|
| 35 | .set REG_R11, 32 |
---|
| 36 | .set REG_SP, 36 |
---|
| 37 | .set REG_LR, 40 |
---|
| 38 | .set REG_PC, 44 |
---|
| 39 | .set SIZE_REGS, REG_PC + 4 |
---|
[08330bf] | 40 | |
---|
| 41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.