Ticket #1919: sparc64-bsppredriver.diff

File sparc64-bsppredriver.diff, 1.8 KB (added by Gedare Bloom, on 09/20/11 at 16:02:48)

Change install ISR callout to bsppredriverhook

  • c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c

    diff -X dontdiff -uprN rtems-base/c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c rtems-hwpq-dev/c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c
    old new  
     1/*
     2 *  This is a bsp_predriver_hook routine for sparc64
     3 *
     4 *  COPYRIGHT (c) 1989-2007.
     5 *  On-Line Applications Research Corporation (OAR).
     6 *
     7 *  The license and distribution terms for this file may be
     8 *  found in the file LICENSE in this distribution or at
     9 *  http://www.rtems.com/license/LICENSE.
     10 *
     11 *  $Id$
     12 */
     13
     14#include <bsp/bootcard.h>
     15
     16extern void sparc64_install_isr_entries(void);
     17
     18void bsp_predriver_hook( void )
     19{
     20  sparc64_install_isr_entries();
     21}
  • c/src/lib/libbsp/sparc64/usiii/Makefile.am

    diff -X dontdiff -uprN rtems-base/c/src/lib/libbsp/sparc64/usiii/Makefile.am rtems-hwpq-dev/c/src/lib/libbsp/sparc64/usiii/Makefile.am
    old new project_lib_DATA = start.$(OBJEXT) 
    8989dist_project_lib_DATA += ../shared/startup/linkcmds
    9090
    9191startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
    92     ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
     92    ../../shared/bspstart.c ../../shared/bsppretaskinghook.c \
    9393    ../../shared/bsppost.c \
    9494    ../../shared/bootcard.c ../../shared/sbrk.c \
    9595    ../shared/startup/bspgetworkarea.c \
    96     ../shared/startup/bspstart.c \
     96    ../shared/startup/bsppredriverhook.c \
    9797    ../shared/startup/setvec.c \
    9898    ../../shared/gnatinstallhandler.c  \
    9999    ../shared/helenos/boot/genarch/balloc.c \