forked from Imagelibrary/rtems
* 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.
20 lines
493 B
Makefile
20 lines
493 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
include $(top_srcdir)/automake/compile.am
|
|
|
|
include_rtemsdir = $(includedir)/rtems
|
|
include_rtems_HEADERS = rtems/asm.h
|
|
|
|
include_rtems_scoredir = $(includedir)/rtems/score
|
|
include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/lm32.h \
|
|
rtems/score/cpu_asm.h rtems/score/types.h
|
|
|
|
noinst_LIBRARIES = libscorecpu.a
|
|
libscorecpu_a_SOURCES = cpu.c cpu_asm.S irq.c
|
|
libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
include $(srcdir)/preinstall.am
|
|
include $(top_srcdir)/automake/local.am
|