diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-26 19:26:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-26 19:26:28 +0000 |
commit | 17508d02bba1d47f4cf884b190566e72f69adb4e (patch) | |
tree | a1b8738fd54754c0210ac709a4b650bc7d3c4538 /c/src/lib/libbsp/c4x/c4xsim | |
parent | Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-17508d02bba1d47f4cf884b190566e72f69adb4e.tar.bz2 |
Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb. This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.
An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU. This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
Diffstat (limited to 'c/src/lib/libbsp/c4x/c4xsim')
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/.cvsignore | 13 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/clock/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/console/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/console/Makefile.am | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/include/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/include/Makefile.am | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/start/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/startup/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c | 15 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/timer/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/tools/.cvsignore | 2 |
11 files changed, 29 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/c4x/c4xsim/.cvsignore b/c/src/lib/libbsp/c4x/c4xsim/.cvsignore new file mode 100644 index 0000000000..525275c115 --- /dev/null +++ b/c/src/lib/libbsp/c4x/c4xsim/.cvsignore @@ -0,0 +1,13 @@ +Makefile +Makefile.in +aclocal.m4 +config.cache +config.guess +config.log +config.status +config.sub +configure +depcomp +install-sh +missing +mkinstalldirs diff --git a/c/src/lib/libbsp/c4x/c4xsim/clock/.cvsignore b/c/src/lib/libbsp/c4x/c4xsim/clock/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/c/src/lib/libbsp/c4x/c4xsim/clock/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/c/src/lib/libbsp/c4x/c4xsim/console/.cvsignore b/c/src/lib/libbsp/c4x/c4xsim/console/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/c/src/lib/libbsp/c4x/c4xsim/console/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/c/src/lib/libbsp/c4x/c4xsim/console/Makefile.am b/c/src/lib/libbsp/c4x/c4xsim/console/Makefile.am index b05928ea32..50545f9ed9 100644 --- a/c/src/lib/libbsp/c4x/c4xsim/console/Makefile.am +++ b/c/src/lib/libbsp/c4x/c4xsim/console/Makefile.am @@ -8,7 +8,7 @@ PGM = $(ARCH)/console.rel VPATH = @srcdir@:@srcdir@/../../../shared -C_FILES = console.c consolereserveresources.c debugio.c simio.c printk.c +C_FILES = console.c consolereserveresources.c debugio.c simio.c C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) OBJS = $(C_O_FILES) diff --git a/c/src/lib/libbsp/c4x/c4xsim/include/.cvsignore b/c/src/lib/libbsp/c4x/c4xsim/include/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/c/src/lib/libbsp/c4x/c4xsim/include/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/c/src/lib/libbsp/c4x/c4xsim/include/Makefile.am b/c/src/lib/libbsp/c4x/c4xsim/include/Makefile.am index ffaffc58e4..39708ee467 100644 --- a/c/src/lib/libbsp/c4x/c4xsim/include/Makefile.am +++ b/c/src/lib/libbsp/c4x/c4xsim/include/Makefile.am @@ -12,14 +12,11 @@ $(PROJECT_INCLUDE): $(PROJECT_INCLUDE)/%.h: %.h $(INSTALL_DATA) $< $@ -$(PROJECT_INCLUDE)/bspIo.h: $(top_srcdir)/../../shared/include/bspIo.h - $(INSTALL_DATA) $< $@ - $(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(INSTALL_DATA) $< $@ PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%.h=$(PROJECT_INCLUDE)/%.h) \ - $(PROJECT_INCLUDE)/bspIo.h $(PROJECT_INCLUDE)/coverhd.h + $(PROJECT_INCLUDE)/coverhd.h all-local: $(PREINSTALL_FILES) diff --git a/c/src/lib/libbsp/c4x/c4xsim/start/.cvsignore b/c/src/lib/libbsp/c4x/c4xsim/start/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/c/src/lib/libbsp/c4x/c4xsim/start/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/c/src/lib/libbsp/c4x/c4xsim/startup/.cvsignore b/c/src/lib/libbsp/c4x/c4xsim/startup/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/c/src/lib/libbsp/c4x/c4xsim/startup/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c b/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c index 34adabdc48..5e73a2034c 100644 --- a/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c +++ b/c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c @@ -104,21 +104,6 @@ void bsp_start( void ) if ( BSP_Configuration.work_space_size > (int) &_WorkspaceMax ) rtems_fatal_error_occurred( 0x43218765 ); - - /* - * Account for the console's resources - */ - - console_reserve_resources( &BSP_Configuration ); - - /* - * Add 1 extension for MPCI_fatal - */ - - if (BSP_Configuration.User_multiprocessing_table) - BSP_Configuration.maximum_extensions++; - - BSP_output_char = C4X_BSP_output_char; BSP_poll_char = (BSP_polling_getchar_function_type) NULL; } diff --git a/c/src/lib/libbsp/c4x/c4xsim/timer/.cvsignore b/c/src/lib/libbsp/c4x/c4xsim/timer/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/c/src/lib/libbsp/c4x/c4xsim/timer/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/c/src/lib/libbsp/c4x/c4xsim/tools/.cvsignore b/c/src/lib/libbsp/c4x/c4xsim/tools/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/c/src/lib/libbsp/c4x/c4xsim/tools/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in |