forked from Imagelibrary/rtems
2000-09-25 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Formatting more like other bsp_specs. * include/bsp.h: CPU_CLOCK_RATE_MHZ not a real variable to elimate need for including bsp.h in libcpu. * startup/bspstart.c: Ditto. * wrapup/Makefile.am: Did not list shmdr.
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
2000-09-25 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* bsp_specs: Formatting more like other bsp_specs.
|
||||||
|
* include/bsp.h: CPU_CLOCK_RATE_MHZ not a real variable to
|
||||||
|
elimate need for including bsp.h in libcpu.
|
||||||
|
* startup/bspstart.c: Ditto.
|
||||||
|
* wrapup/Makefile.am: Did not list shmdr.
|
||||||
|
|
||||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* ChangeLog: New file.
|
* ChangeLog: New file.
|
||||||
|
|||||||
@@ -15,8 +15,9 @@
|
|||||||
%{!qnolinkcmds: -T linkcmds%s}}
|
%{!qnolinkcmds: -T linkcmds%s}}
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
%{!qrtems: %(old_startfile)} \
|
%{!qrtems: %(old_startfile)} %{qrtems: \
|
||||||
%{qrtems: %{qrtems_debug: start_g.o%s} %{!qrtems_debug: start.o%s}}
|
%{!qrtems_debug: start.o%s} \
|
||||||
|
%{qrtems_debug: start_g.o%s}}
|
||||||
|
|
||||||
*link:
|
*link:
|
||||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
|
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Constants */
|
/* Constants */
|
||||||
#define CPU_CLOCK_RATE_MHZ 25
|
/* #define CPU_CLOCK_RATE_MHZ 25*/
|
||||||
|
|
||||||
#define RAM_START 0
|
#define RAM_START 0
|
||||||
#define RAM_END 0x100000
|
#define RAM_END 0x100000
|
||||||
|
|||||||
@@ -25,6 +25,8 @@
|
|||||||
static char _sccsid[] = "@(#)bspstart.c 09/11/96 1.15\n";
|
static char _sccsid[] = "@(#)bspstart.c 09/11/96 1.15\n";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
int CPU_CLOCK_RATE_MHZ = 25;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The original table from the application and our copy of it with
|
* The original table from the application and our copy of it with
|
||||||
* some changes.
|
* some changes.
|
||||||
|
|||||||
@@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
|
if HAS_MP
|
||||||
|
GENERIC_MP_REL_PIECES = shmdr
|
||||||
|
endif
|
||||||
|
GENERIC_PIECES += $(GENERIC_MP_REL_PIECES)
|
||||||
|
|
||||||
if HAS_MP
|
if HAS_MP
|
||||||
MP_BSP_O_FILES = shmsupp
|
MP_BSP_O_FILES = shmsupp
|
||||||
endif
|
endif
|
||||||
@@ -13,7 +18,8 @@ CPU_FILES = clock timer
|
|||||||
|
|
||||||
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
||||||
OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
|
OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
|
||||||
$(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel)
|
$(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
|
||||||
|
$(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
|
||||||
LIB = $(ARCH)/libbsp.a
|
LIB = $(ARCH)/libbsp.a
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
|
|||||||
Reference in New Issue
Block a user