source: rtems/cpukit/score/cpu/lm32/Makefile.am @ 7c4c284c

4.104.115
Last change on this file since 7c4c284c was 7c4c284c, checked in by Joel Sherrill <joel.sherrill@…>, on 04/14/09 at 13:44:29

2009-04-14 Michael Walle <michael@…>

  • cpu.h: corrected the registers in Context_Control and in CPU_Interrupt_frame to correspond to the saved frame in cpu_asm.S

Also switched on CPU_ISR_PASSES_FRAME_POINTER.

  • cpu_asm.S: Moved the restore part of _CPU_Context_switch for

easier reading. Fixed _CPU_Context_restore, it now moves the
argument and branches to a label in _CPU_Context_switch. Removed
unnecessary saves of registers in context switch and irq handling.
Rewrote irq code to call the C helper. Added some documentation

  • irq.c: New file derived from c4x and nios2.
  • Property mode set to 100644
File size: 493 bytes
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6
7include_rtemsdir = $(includedir)/rtems
8include_rtems_HEADERS = rtems/asm.h
9
10include_rtems_scoredir = $(includedir)/rtems/score
11include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/lm32.h \
12    rtems/score/cpu_asm.h rtems/score/types.h
13
14noinst_LIBRARIES = libscorecpu.a
15libscorecpu_a_SOURCES = cpu.c cpu_asm.S irq.c
16libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
17
18include $(srcdir)/preinstall.am
19include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.