Changeset 3785ed6c in rtems


Ignore:
Timestamp:
Oct 14, 2014, 12:08:36 AM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
c28f503
Parents:
1ecb21d
git-author:
Joel Sherrill <joel.sherrill@…> (10/14/14 00:08:36)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/16/14 13:58:47)
Message:

i386/pc386: Fix warnings

Location:
c/src/lib/libbsp/i386/pc386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    r1ecb21d r3785ed6c  
    4747#ifndef _BSP_H
    4848#define _BSP_H
     49
     50#ifndef ASM
    4951
    5052#ifdef __cplusplus
     
    196198size_t read_aux(char * buffer, size_t count); /* from 'ps2_mouse.c'  */
    197199
     200bool bsp_get_serial_mouse_device(             /* from 'serial_mouse.c' */
     201  const char **name,
     202  const char **type
     203);
     204
     205void register_leds(                           /* from 'keyboard.c' */
     206  int console,
     207  unsigned int led,
     208  unsigned int *addr,
     209  unsigned int mask
     210);
     211
    198212/* Definitions for BSPConsolePort */
    199213#define BSP_CONSOLE_PORT_CONSOLE (-1)
     
    218232
    219233/* GDB stub stuff */
     234void init_remote_gdb( void );
    220235void i386_stub_glue_init(int uart);
    221236void i386_stub_glue_init_breakin(void);
    222 void set_debug_traps(void);
    223237void breakpoint(void);
    224238
    225239#define BSP_MAXIMUM_DEVICES 6
     240
     241/*
     242 * Debug helper methods
     243 */
     244typedef __FILE FILE;
     245uint32_t BSP_irq_count_dump(FILE *f);
     246
     247/*
     248 * Prototypes just called from .S files. This lets the .S file include
     249 * bsp.h just to establish the dependency.
     250 */
     251void raw_idt_notify(void);
     252void C_dispatch_isr(int vector);
    226253
    227254#ifdef __cplusplus
     
    229256#endif
    230257
     258#endif /* !ASM */
     259
    231260#endif /* _BSP_H */
  • c/src/lib/libbsp/i386/pc386/startup/bspstart.c

    r1ecb21d r3785ed6c  
    4646|          Returns: Nothing.
    4747+--------------------------------------------------------------------------*/
    48 void bsp_start_default( void )
     48static void bsp_start_default( void )
    4949{
    5050  int pci_init_retval;
     
    8282  bsp_ide_cmdline_init();
    8383
    84 } /* bsp_start */
     84} /* bsp_start_default */
    8585
    8686/*
     
    8888 *  can override the actual bsp_start routine used.
    8989 */
    90 
    9190void bsp_start (void) __attribute__ ((weak, alias("bsp_start_default")));
Note: See TracChangeset for help on using the changeset viewer.