Changeset 6e14a99 in rtems


Ignore:
Timestamp:
Oct 15, 2014, 10:31:04 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
ef559c7
Parents:
c186f2ed
git-author:
Joel Sherrill <joel.sherrill@…> (10/15/14 22:31:04)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/19/14 22:00:55)
Message:

m68k/shared and sim68000: Fix warnings

Location:
c/src/lib/libbsp/m68k
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/shared/bspspuriousinit.c

    rc186f2ed r6e14a99  
    11/*
    2  *  CXX Spurious Trap Handler Install Routine
     2 *  M68000 Spurious Trap Handler Install Routine
    33 *
    44 *  This is just enough of a trap handler to let us know what
    55 *  the likely source of the trap was.
    6  *
    7  *  COPYRIGHT (c) 1989-1999.
     6 */
     7
     8/*
     9 *  COPYRIGHT (c) 1989-2014.
    810 *  On-Line Applications Research Corporation (OAR).
    911 *
     
    2123 *  Install the spurious handler for most vectors.
    2224 */
    23 
    24 rtems_isr bsp_spurious_handler(
    25    rtems_vector_number  vector/*,
    26    CPU_Interrupt_frame *isf */
    27 );
    28 
    2925void bsp_spurious_initialize(void)
    3026{
  • c/src/lib/libbsp/m68k/shared/m68000spurious.c

    rc186f2ed r6e14a99  
    11/*
    2  *  C3X Spurious Trap Handler
     2 *  M68000 Spurious Trap Handler
    33 *
    44 *  This is just enough of a trap handler to let us know what
    55 *  the likely source of the trap was.
    6  *
    7  *  COPYRIGHT (c) 1989-1999.
     6 */
     7
     8/*
     9 *  COPYRIGHT (c) 1989-2014.
    810 *  On-Line Applications Research Corporation (OAR).
    911 *
     
    2123 *  Print a message on the debug console and then die
    2224 */
    23 
    24 void bsp_spurious_handler_assistant(
    25   rtems_vector_number /*,
    26   CPU_Interrupt_frame * */
    27 );
    28 
    2925rtems_isr bsp_spurious_handler(
    30    rtems_vector_number  vector /*,
    31    CPU_Interrupt_frame *isf */
     26   rtems_vector_number  vector
    3227)
    3328{
  • c/src/lib/libbsp/m68k/sim68000/console/debugio.c

    rc186f2ed r6e14a99  
    11/*
    2  *  This routine starts the application.  It includes application,
    3  *  board, and monitor specific initialization and configuration.
    4  *  The generic CPU dependent initialization has been performed
    5  *  before this routine is invoked.
    6  *
    7  *  COPYRIGHT (c) 1989-1999.
     2 *  COPYRIGHT (c) 1989-2014.
    83 *  On-Line Applications Research Corporation (OAR).
    94 *
     
    1813#include <rtems/bspIo.h>
    1914
    20 void debug_putc( char c ) { write( 2, &c, 1 ); }
     15static void debug_putc( char c )
     16{
     17  write( 2, &c, 1 );
     18}
     19
    2120BSP_output_char_function_type BSP_output_char =  debug_putc;
    2221BSP_polling_getchar_function_type BSP_poll_char = NULL;
  • c/src/lib/libbsp/m68k/sim68000/include/bsp.h

    rc186f2ed r6e14a99  
    3535rtems_isr_entry set_vector( rtems_isr_entry, rtems_vector_number, int );
    3636
     37/*
     38 * Prototype for methods in the BSP that cross file boundaries.
     39 */
     40void bsp_spurious_initialize(void);
     41void bsp_spurious_handler_assistant(rtems_vector_number vector);
     42rtems_isr bsp_spurious_handler(rtems_vector_number vector);
     43
    3744#ifdef __cplusplus
    3845}
  • c/src/lib/libbsp/m68k/sim68000/startup/spurious_assistant.c

    rc186f2ed r6e14a99  
    11/*
    22 *  Spurious Trap Handler Assistant
    3  *
    4  *  COPYRIGHT (c) 1989-2000.
     3 */
     4
     5/*
     6 *  COPYRIGHT (c) 1989-2014.
    57 *  On-Line Applications Research Corporation (OAR).
    68 *
     
    1820 *  We can't recover so just return to gdb.
    1921 */
    20 
    2122void bsp_spurious_handler_assistant(
    22   rtems_vector_number  vector/* ,
    23   CPU_Interrupt_frame *isf */
     23  rtems_vector_number  vector
    2424)
    2525{
Note: See TracChangeset for help on using the changeset viewer.