source: rtems/cpukit/score/cpu/avr/Makefile.am @ b9ff10f3

4.104.115
Last change on this file since b9ff10f3 was 7c46cf5, checked in by Joel Sherrill <joel.sherrill@…>, on 07/06/09 at 15:36:23

2009-07-03 Josh Switnicki <josh.switnicki@…>

  • cpu.c: Implemented _CPU_Context_Initialize as a C function instead of a macro. It works with limited functionality. Implemented _CPU_Thread_Idle_body to use sleep instruction.
  • Makefile.am: Changed cpu_asm.c -> cpu_asm.S
  • cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm
  • rtems/asm.h: Appended "macros.inc" to the end of "asm.h"
  • rtems/score/cpu.h: + Included "avr/io.h". + Added use 16 bit object definition. + Modified Context_Control struct to relect the registers

that need to be saved.

+ Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash.

Added function definitions for _CPU_Context_Initialize and
_CPU_Push.

  • Property mode set to 100644
File size: 486 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/avr.h \
12    rtems/score/cpu_asm.h rtems/score/types.h
13
14noinst_LIBRARIES = libscorecpu.a
15libscorecpu_a_SOURCES = cpu.c cpu_asm.S
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.