RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cpu_asm.h
Go to the documentation of this file.
1
9/*
10 * COPYRIGHT (c) 2002 by Advent Networks, Inc.
11 * Jay Monkman <jmonkman@adventnetworks.com>
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 * http://www.rtems.org/license/LICENSE.
16 *
17 * This file is the include file for cpu_asm.S
18 */
19
20#ifndef _RTEMS_SCORE_CPU_ASM_H
21#define _RTEMS_SCORE_CPU_ASM_H
22
23
24/* Registers saved in context switch: */
25.set REG_CPSR, 0
26.set REG_R4, 4
27.set REG_R5, 8
28.set REG_R6, 12
29.set REG_R7, 16
30.set REG_R8, 20
31.set REG_R9, 24
32.set REG_R10, 28
33.set REG_R11, 32
34.set REG_SP, 36
35.set REG_LR, 40
36.set REG_PC, 44
37.set SIZE_REGS, REG_PC + 4
38
39#endif