Changeset 542e7b3 in rtems for c/src/lib/libbsp/sh


Ignore:
Timestamp:
09/30/08 16:12:37 (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
37ec780a
Parents:
882b5f28
Message:

2008-09-30 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, preinstall.am, include/bsp.h, include/tm27.h, trap34/console-io.c: Now builds cleanly for runs for SH1, SH2, and SH4.
  • include/syscall.h: New file.
  • include/gdbsci.h: Removed.
Location:
c/src/lib/libbsp/sh/shsim
Files:
1 added
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/shsim/ChangeLog

    r882b5f28 r542e7b3  
     12008-09-30      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, preinstall.am, include/bsp.h, include/tm27.h,
     4        trap34/console-io.c: Now builds cleanly for runs for SH1, SH2, and
     5        SH4.
     6        * include/syscall.h: New file.
     7        * include/gdbsci.h: Removed.
     8
    192008-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    210
  • c/src/lib/libbsp/sh/shsim/Makefile.am

    r882b5f28 r542e7b3  
    1212
    1313include_HEADERS = include/bsp.h
     14include_HEADERS += include/syscall.h
    1415include_HEADERS += include/tm27.h
    1516
     
    1819DISTCLEANFILES = include/bspopts.h
    1920
    20 include_HEADERS += include/gdbsci.h
    2121nodist_include_HEADERS += ../../shared/include/coverhd.h
    2222
     
    5151# console
    5252libbsp_a_SOURCES += ../../shared/console-polled.c
     53# timer
     54libbsp_a_SOURCES += ../../shared/timerstub.c
    5355
    5456libbsp_a_LIBADD = \
  • c/src/lib/libbsp/sh/shsim/include/bsp.h

    r882b5f28 r542e7b3  
    3838 * FIXME: One of these would be enough.
    3939 */
    40 #include <gdbsci.h>
    4140#include <rtems/devnull.h>
    4241
  • c/src/lib/libbsp/sh/shsim/include/tm27.h

    r882b5f28 r542e7b3  
    2828#define Cause_tm27_intr() /* empty */
    2929#define Clear_tm27_intr() /* empty */
     30#define Lower_tm27_intr() /* empty */
    3031
    3132#endif
  • c/src/lib/libbsp/sh/shsim/preinstall.am

    r882b5f28 r542e7b3  
    4242PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
    4343
     44$(PROJECT_INCLUDE)/syscall.h: include/syscall.h $(PROJECT_INCLUDE)/$(dirstamp)
     45        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/syscall.h
     46PREINSTALL_FILES += $(PROJECT_INCLUDE)/syscall.h
     47
    4448$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
    4549        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
     
    5357        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bootcard.h
    5458PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bootcard.h
    55 
    56 $(PROJECT_INCLUDE)/gdbsci.h: include/gdbsci.h $(PROJECT_INCLUDE)/$(dirstamp)
    57         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gdbsci.h
    58 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gdbsci.h
    5959
    6060$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
  • c/src/lib/libbsp/sh/shsim/trap34/console-io.c

    r882b5f28 r542e7b3  
    2020#include <assert.h>
    2121
    22 #define SYS_exit        1
    23 #define SYS_read        3
    24 #define SYS_write       4
     22#include <syscall.h>
    2523
    26 int errno ;
     24int errno;
    2725
    2826extern int __trap34(int, int, void*, int );
Note: See TracChangeset for help on using the changeset viewer.