Changeset 52f6502 in rtems


Ignore:
Timestamp:
Mar 13, 2014, 1:13:55 PM (6 years ago)
Author:
Daniel Cederman <cederman@…>
Branches:
4.11, master
Children:
67a4842
Parents:
2a713e3
git-author:
Daniel Cederman <cederman@…> (03/13/14 13:13:55)
git-committer:
Joel Sherrill <joel.sherrill@…> (03/24/14 16:45:44)
Message:

bsps/sparc: Add common gnat handler function prototype.

Moved prototype for gnat_install_handler and gnat_install_handler_common to common header file. Placed header file in bsp namespace.

Location:
c/src/lib/libbsp/sparc
Files:
1 added
11 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/Makefile.am

    r2a713e3 r52f6502  
    77
    88EXTRA_DIST += shared/gnatcommon.c
     9EXTRA_DIST += shared/include/gnatcommon.h
    910EXTRA_DIST += shared/start/start.S
    1011
  • c/src/lib/libbsp/sparc/erc32/Makefile.am

    r2a713e3 r52f6502  
    4040# gnatsupp
    4141libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
     42include_bsp_HEADERS = ../shared/include/gnatcommon.h
    4243# console
    4344libbsp_a_SOURCES += console/erc32_console.c ../../shared/console.c \
     
    5354
    5455# IRQ
    55 include_bsp_HEADERS = \
     56include_bsp_HEADERS += \
    5657    ../../shared/include/irq-generic.h \
    5758    ../../shared/include/irq-info.h \
  • c/src/lib/libbsp/sparc/erc32/gnatsupp/gnatsupp.c

    r2a713e3 r52f6502  
    55 */
    66
    7 void __gnat_install_handler_common( int, int );
     7#include <bsp/gnatcommon.h>
    88
    99void
  • c/src/lib/libbsp/sparc/erc32/preinstall.am

    r2a713e3 r52f6502  
    7474PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.base
    7575
     76$(PROJECT_INCLUDE)/bsp/gnatcommon.h: ../shared/include/gnatcommon.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gnatcommon.h
     78PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gnatcommon.h
     79
    7680$(PROJECT_INCLUDE)/bsp/irq-generic.h: ../../shared/include/irq-generic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    7781        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-generic.h
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r2a713e3 r52f6502  
    5757# gnatsupp
    5858libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
     59include_bsp_HEADERS = ../shared/include/gnatcommon.h
    5960# console
    6061libbsp_a_SOURCES += console/console.c console/debugputs.c
     
    6364libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
    6465# IRQ
    65 include_bsp_HEADERS = \
     66include_bsp_HEADERS += \
    6667    ../../shared/include/irq-generic.h \
    6768    ../../shared/include/irq-info.h \
  • c/src/lib/libbsp/sparc/leon2/gnatsupp/gnatsupp.c

    r2a713e3 r52f6502  
    1111 */
    1212
    13 void __gnat_install_handler_common (int t1, int t2);
     13#include <bsp/gnatcommon.h>
    1414
    1515/*
  • c/src/lib/libbsp/sparc/leon2/preinstall.am

    r2a713e3 r52f6502  
    142142PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.base
    143143
     144$(PROJECT_INCLUDE)/bsp/gnatcommon.h: ../shared/include/gnatcommon.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gnatcommon.h
     146PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gnatcommon.h
     147
    144148$(PROJECT_INCLUDE)/bsp/irq-generic.h: ../../shared/include/irq-generic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    145149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-generic.h
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r2a713e3 r52f6502  
    4646# gnatsupp
    4747libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
     48include_bsp_HEADERS = ../shared/include/gnatcommon.h
    4849# AMBA bus
    4950include_HEADERS += include/amba.h
     
    7071libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
    7172# IRQ
    72 include_bsp_HEADERS = \
     73include_bsp_HEADERS += \
    7374    ../../shared/include/irq-generic.h \
    7475    ../../shared/include/irq-info.h \
  • c/src/lib/libbsp/sparc/leon3/gnatsupp/gnatsupp.c

    r2a713e3 r52f6502  
    99 */
    1010
    11 void __gnat_install_handler_common (int t1, int t2);
     11#include <bsp/gnatcommon.h>
    1212
    1313/*
  • c/src/lib/libbsp/sparc/leon3/preinstall.am

    r2a713e3 r52f6502  
    8686PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.ngmp
    8787
     88$(PROJECT_INCLUDE)/bsp/gnatcommon.h: ../shared/include/gnatcommon.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gnatcommon.h
     90PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gnatcommon.h
     91
    8892$(PROJECT_INCLUDE)/amba.h: include/amba.h $(PROJECT_INCLUDE)/$(dirstamp)
    8993        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/amba.h
  • c/src/lib/libbsp/sparc/shared/gnatcommon.c

    r2a713e3 r52f6502  
    1212#include <signal.h>
    1313#include <stdlib.h>
     14#include <bsp/gnatcommon.h>
    1415
    1516/*
Note: See TracChangeset for help on using the changeset viewer.