Changeset f9abe50 in rtems


Ignore:
Timestamp:
May 6, 2009, 4:36:19 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
430f6ff
Parents:
debbc9e
Message:

2009-05-06 Joel Sherrill <joel.sherrill@…>

  • shared/comm/i386-stub-glue.c, shared/comm/uart.c, shared/irq/irq.c, shared/pci/pcibios.c: Fixed warnings.
Location:
c/src/lib/libbsp/i386
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/ChangeLog

    rdebbc9e rf9abe50  
     12009-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * shared/comm/i386-stub-glue.c, shared/comm/uart.c, shared/irq/irq.c,
     4        shared/pci/pcibios.c: Fixed warnings.
     5
    162009-03-12      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c

    rdebbc9e rf9abe50  
    135135}
    136136
    137 static void nop(void){}
    138 static int isOn(void) {return 1;}
    139 
    140137void exceptionHandler(int vector, void (*handler)(void))
    141138{
     
    156153    }
    157154
    158   excep_raw_irq_data.on = nop;
    159   excep_raw_irq_data.off = nop;
    160   excep_raw_irq_data.isOn = isOn;
     155  excep_raw_irq_data.on = NULL;
     156  excep_raw_irq_data.off = NULL;
     157  excep_raw_irq_data.isOn = NULL;
    161158  excep_raw_irq_data.hdl = handler;
    162159
  • c/src/lib/libbsp/i386/shared/comm/uart.c

    rdebbc9e rf9abe50  
    737737
    738738void
    739 BSP_uart_termios_isr_com2()
     739BSP_uart_termios_isr_com2(void)
    740740{
    741741  unsigned char buf[40];
  • c/src/lib/libbsp/i386/shared/irq/irq.c

    rdebbc9e rf9abe50  
    1212 */
    1313
     14/* so we can see _API_extensions_Run_postswitch */
     15#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
     16
    1417#include <bsp.h>
    1518#include <bsp/irq.h>
    16 #include <rtems/score/thread.h>
     19#include <stdlib.h>
    1720#include <rtems/score/apiext.h>
    1821
     
    163166 * and accessible.
    164167 */
    165 static void compute_i8259_masks_from_prio ()
     168static void compute_i8259_masks_from_prio (void)
    166169{
    167170  unsigned int i;
  • c/src/lib/libbsp/i386/shared/pci/pcibios.c

    rdebbc9e rf9abe50  
    228228
    229229unsigned char
    230 pci_bus_count()
     230pci_bus_count(void)
    231231{
    232232  if ( ucBusCount == 0xff ) {
Note: See TracChangeset for help on using the changeset viewer.