summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/arm/rtems/score/cpu_asm.h
blob: 2c1334757800603c05fd58a01bad5be9822f92da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 *  $Id$
 *
 *  Copyright (c) 2002 by Advent Networks, Inc.
 *          Jay Monkman <jmonkman@adventnetworks.com>
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.OARcorp.com/rtems/license.html.
 *
 *  This file is the include file for cpu_asm.S
 *
 *
 */

#ifndef __CPU_ASM_h
#define __CPU_ASM_h


/* Registers saved in context switch: */
.set REG_R0,      0
.set REG_R1,      4
.set REG_R2,      8
.set REG_R3,     12
.set REG_R4,     16
.set REG_R5,     20
.set REG_R6,     24
.set REG_R7,     28
.set REG_R8,     32
.set REG_R9,     36
.set REG_R10,    40
.set REG_R11,    44
.set REG_R12,    48
.set REG_SP,     52
.set REG_LR,     56
.set REG_PC,     60
.set REG_CPSR,   64
.set SIZE_REGS,  REG_CPSR + 4


#endif