source: rtems/cpukit/score/cpu/arm/rtems/score/cpu_asm.h @ 4f0b287

4.104.114.84.95
Last change on this file since 4f0b287 was 4f0b287, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 17, 2002 at 5:14:31 PM

2002-07-17 Jay Monkman <jtm@…>

  • rtems/score/cpu_asm.h: Enhanced to include register offsets.
  • Makefile.am: Install rtems/score/cpu_asm.h.
  • cpu.c: Significantly enhanced including the implementation of _CPU_ISR_Get_level.
  • cpu_asm.S: Improved behavior of context switch and interrupt dispatching.
  • rtems/score/arm.h: Improved the CPU model name determination.
  • rtems/score/cpu.h: Improved interrupt disable/enable functions.
  • Property mode set to 100644
File size: 808 bytes
Line 
1/*
2 *  $Id$
3 *
4 *  Copyright (c) 2002 by Advent Networks, Inc.
5 *          Jay Monkman <jmonkman@adventnetworks.com>
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.OARcorp.com/rtems/license.html.
10 *
11 *  This file is the include file for cpu_asm.S
12 *
13 *
14 */
15
16#ifndef __CPU_ASM_h
17#define __CPU_ASM_h
18
19
20/* Registers saved in context switch: */
21.set REG_R0,      0
22.set REG_R1,      4
23.set REG_R2,      8
24.set REG_R3,     12
25.set REG_R4,     16
26.set REG_R5,     20
27.set REG_R6,     24
28.set REG_R7,     28
29.set REG_R8,     32
30.set REG_R9,     36
31.set REG_R10,    40
32.set REG_R11,    44
33.set REG_R12,    48
34.set REG_SP,     52
35.set REG_LR,     56
36.set REG_PC,     60
37.set REG_CPSR,   64
38.set SIZE_REGS,  REG_CPSR + 4
39
40
41#endif
Note: See TracBrowser for help on using the repository browser.