forked from Imagelibrary/rtems
2009-06-29 Xi Yang <hiyangxi@gmail.com>
* Makefile.am: Update to current style. * bsp_specs: Fix warning for _start. * start/start.S: Proper attribution for origin. * startup/bspstart.c: Add Skyeye bsp_reset() on Skyeye. * include/.cvsignore: New file. * include/bspopts.h.in: Removed.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2009-06-29 Xi Yang <hiyangxi@gmail.com>
|
||||
|
||||
* Makefile.am: Update to current style.
|
||||
* bsp_specs: Fix warning for _start.
|
||||
* start/start.S: Proper attribution for origin.
|
||||
* startup/bspstart.c: Add Skyeye bsp_reset() on Skyeye.
|
||||
* include/.cvsignore: New file.
|
||||
* include/bspopts.h.in: Removed.
|
||||
|
||||
2009-06-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* startup/linkcmds: Fix spacing.
|
||||
|
||||
@@ -28,31 +28,21 @@ project_lib_DATA = start.$(OBJEXT)
|
||||
|
||||
dist_project_lib_DATA += startup/linkcmds
|
||||
|
||||
noinst_PROGRAMS += startup.rel
|
||||
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||
../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
|
||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||
../../shared/gnatinstallhandler.c ../../shared/bsppretaskinghook.c \
|
||||
../../shared/bspclean.c ../../shared/bspreset.c \
|
||||
startup/bspstart.c startup/memmap.c
|
||||
|
||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
noinst_PROGRAMS += console.rel
|
||||
console_rel_SOURCES = console/uarts.c ../../shared/console.c
|
||||
console_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
noinst_PROGRAMS += abort.rel
|
||||
abort_rel_SOURCES = ../shared/abort/abort.c
|
||||
abort_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
abort_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
noinst_LIBRARIES = libbsp.a
|
||||
|
||||
libbsp_a_SOURCES =
|
||||
libbsp_a_LIBADD = startup.rel console.rel abort.rel
|
||||
libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
|
||||
libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||
../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
|
||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||
../../shared/gnatinstallhandler.c ../../shared/bsppretaskinghook.c \
|
||||
../../shared/bspclean.c startup/bspstart.c startup/memmap.c
|
||||
|
||||
#console
|
||||
libbsp_a_SOURCES += console/uarts.c ../../shared/console.c
|
||||
#abort
|
||||
libbsp_a_SOURCES += ../shared/abort/abort.c
|
||||
|
||||
libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
|
||||
../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
|
||||
../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
|
||||
../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/ffuart.rel \
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
4
c/src/lib/libbsp/arm/gumstix/include/.cvsignore
Normal file
4
c/src/lib/libbsp/arm/gumstix/include/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
bspopts.h
|
||||
bspopts.h.in
|
||||
stamp-h
|
||||
stamp-h.in
|
||||
@@ -1,34 +0,0 @@
|
||||
/* include/bspopts.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* If defined, then the BSP Framework will put a non-zero pattern into the
|
||||
RTEMS Workspace and C program heap. This should assist in finding code that
|
||||
assumes memory starts set to zero. */
|
||||
#undef BSP_DIRTY_MEMORY
|
||||
|
||||
/* If defined, print a message and wait until pressed before resetting board
|
||||
when application exits. */
|
||||
#undef BSP_PRESS_KEY_FOR_RESET
|
||||
|
||||
/* If defined, reset the board when the application exits. */
|
||||
#undef BSP_RESET_BOARD_AT_EXIT
|
||||
|
||||
/* If defined, enable options which optimize executingon the Skyeye simulator.
|
||||
Speed up the clock ticks while the idle task is running so time spent in
|
||||
the idle task is minimized. This significantly reduces the wall time
|
||||
required to execute the RTEMS test suites. */
|
||||
#undef ON_SKYEYE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* By Yang Xi <hiyangxi@gmail.com>.
|
||||
* Based upon CSB336
|
||||
* Based upon CSB337
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
|
||||
@@ -43,3 +43,11 @@ void bsp_start_default( void )
|
||||
* can override the actual bsp_start routine used.
|
||||
*/
|
||||
void bsp_start (void) __attribute__ ((weak, alias("bsp_start_default")));
|
||||
|
||||
|
||||
void bsp_reset( void )
|
||||
{
|
||||
#if ON_SKYEYE == 1
|
||||
SKYEYE_MAGIC_ADDRESS = 0xff;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user