forked from Imagelibrary/rtems
2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/comm/i386-stub-glue.c, shared/comm/uart.c, shared/irq/irq.c, shared/pci/pcibios.c: Fixed warnings.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* shared/comm/i386-stub-glue.c, shared/comm/uart.c, shared/irq/irq.c,
|
||||
shared/pci/pcibios.c: Fixed warnings.
|
||||
|
||||
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1385/cpukit
|
||||
|
||||
@@ -134,9 +134,6 @@ int getDebugChar(void)
|
||||
return val;
|
||||
}
|
||||
|
||||
static void nop(void){}
|
||||
static int isOn(void) {return 1;}
|
||||
|
||||
void exceptionHandler(int vector, void (*handler)(void))
|
||||
{
|
||||
rtems_raw_irq_connect_data excep_raw_irq_data;
|
||||
@@ -155,9 +152,9 @@ void exceptionHandler(int vector, void (*handler)(void))
|
||||
rtems_fatal_error_occurred(1);
|
||||
}
|
||||
|
||||
excep_raw_irq_data.on = nop;
|
||||
excep_raw_irq_data.off = nop;
|
||||
excep_raw_irq_data.isOn = isOn;
|
||||
excep_raw_irq_data.on = NULL;
|
||||
excep_raw_irq_data.off = NULL;
|
||||
excep_raw_irq_data.isOn = NULL;
|
||||
excep_raw_irq_data.hdl = handler;
|
||||
|
||||
if (!i386_set_idt_entry (&excep_raw_irq_data)) {
|
||||
|
||||
@@ -736,7 +736,7 @@ BSP_uart_termios_isr_com1(void)
|
||||
}
|
||||
|
||||
void
|
||||
BSP_uart_termios_isr_com2()
|
||||
BSP_uart_termios_isr_com2(void)
|
||||
{
|
||||
unsigned char buf[40];
|
||||
unsigned char val;
|
||||
|
||||
@@ -11,9 +11,12 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* so we can see _API_extensions_Run_postswitch */
|
||||
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/irq.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <stdlib.h>
|
||||
#include <rtems/score/apiext.h>
|
||||
|
||||
/*
|
||||
@@ -162,7 +165,7 @@ int BSP_irq_ack_at_i8259s (const rtems_irq_number irqLine)
|
||||
* is already set and that the tables it contains are still valid
|
||||
* and accessible.
|
||||
*/
|
||||
static void compute_i8259_masks_from_prio ()
|
||||
static void compute_i8259_masks_from_prio (void)
|
||||
{
|
||||
unsigned int i;
|
||||
unsigned int j;
|
||||
|
||||
@@ -227,7 +227,7 @@ pcib_find_by_class(int classCode, int idx, int *sig)
|
||||
static uint8_t ucBusCount = 0xff;
|
||||
|
||||
unsigned char
|
||||
pci_bus_count()
|
||||
pci_bus_count(void)
|
||||
{
|
||||
if ( ucBusCount == 0xff ) {
|
||||
unsigned char bus;
|
||||
|
||||
Reference in New Issue
Block a user