source: rtems/cpukit/score/cpu/arm/rtems/score/cpu_asm.h @ 78623bce

4.104.11
Last change on this file since 78623bce was 78623bce, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Apr 8, 2010 at 10:13:46 AM

add/adapt documentation

  • Property mode set to 100644
File size: 795 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup ScoreCPU
5 *
6 * @brief ARM assembler support API.
7 */
8
9/*
10 *  $Id$
11 *
12 *  COPYRIGHT (c) 2002 by Advent Networks, Inc.
13 *          Jay Monkman <jmonkman@adventnetworks.com>
14 *
15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
17 *  http://www.rtems.com/license/LICENSE.
18 *
19 *  This file is the include file for cpu_asm.S
20 */
21
22#ifndef _RTEMS_SCORE_CPU_ASM_H
23#define _RTEMS_SCORE_CPU_ASM_H
24
25
26/* Registers saved in context switch: */
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
40
41#endif
Note: See TracBrowser for help on using the repository browser.