Changeset 17508d02 in rtems for c/src/lib/libbsp/c4x/c4xsim


Ignore:
Timestamp:
07/26/00 19:26:28 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ca7858bb
Parents:
6b4a11bf
Message:

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.

Location:
c/src/lib/libbsp/c4x/c4xsim
Files:
8 added
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/c4x/c4xsim/console/Makefile.am

    r6b4a11bf r17508d02  
    99VPATH = @srcdir@:@srcdir@/../../../shared
    1010
    11 C_FILES = console.c consolereserveresources.c debugio.c simio.c printk.c
     11C_FILES = console.c consolereserveresources.c debugio.c simio.c
    1212C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1313
  • c/src/lib/libbsp/c4x/c4xsim/include/Makefile.am

    r6b4a11bf r17508d02  
    1313        $(INSTALL_DATA) $< $@
    1414
    15 $(PROJECT_INCLUDE)/bspIo.h: $(top_srcdir)/../../shared/include/bspIo.h
    16         $(INSTALL_DATA) $< $@
    17 
    1815$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
    1916        $(INSTALL_DATA) $< $@
    2017
    2118PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%.h=$(PROJECT_INCLUDE)/%.h) \
    22     $(PROJECT_INCLUDE)/bspIo.h $(PROJECT_INCLUDE)/coverhd.h
     19    $(PROJECT_INCLUDE)/coverhd.h
    2320
    2421all-local: $(PREINSTALL_FILES)
  • c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c

    r6b4a11bf r17508d02  
    105105    rtems_fatal_error_occurred( 0x43218765 );
    106106 
    107 
    108   /*
    109    *  Account for the console's resources
    110    */
    111 
    112   console_reserve_resources( &BSP_Configuration );
    113 
    114   /*
    115    * Add 1 extension for MPCI_fatal
    116    */
    117 
    118   if (BSP_Configuration.User_multiprocessing_table)
    119     BSP_Configuration.maximum_extensions++;
    120 
    121  
    122107  BSP_output_char = C4X_BSP_output_char;
    123108  BSP_poll_char = (BSP_polling_getchar_function_type) NULL;
Note: See TracChangeset for help on using the changeset viewer.