forked from Imagelibrary/rtems
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c, console/serial_mouse.c, ne2000/ne2000.c, startup/bspstart.c: Fix warnings for prototypes, types, etc.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* clock/ckinit.c, console/serial_mouse.c, ne2000/ne2000.c,
|
||||
startup/bspstart.c: Fix warnings for prototypes, types, etc.
|
||||
|
||||
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* console/mouse_parser.c, console/mouse_parser.h, console/outch.c:
|
||||
|
||||
@@ -42,12 +42,13 @@ uint32_t pc386_clock_click_count;
|
||||
do { \
|
||||
} while(0)
|
||||
|
||||
extern volatile uint32_t Clock_driver_isrs;
|
||||
|
||||
uint32_t bsp_clock_nanoseconds_since_last_tick(void)
|
||||
{
|
||||
uint32_t usecs, clicks, isrs;
|
||||
uint32_t usecs1, usecs2;
|
||||
uint8_t lsb, msb;
|
||||
extern volatile uint32_t Clock_driver_isrs;
|
||||
rtems_interrupt_level level;
|
||||
|
||||
/*
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <rtems/termiostypes.h>
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/irq.h>
|
||||
|
||||
@@ -523,7 +523,7 @@ ne_init_irq_handler(int irno)
|
||||
#endif
|
||||
irq.name = irno;
|
||||
irq.hdl = ne_interrupt_handler;
|
||||
irq.handle = irno;
|
||||
irq.handle = (rtems_irq_hdl) irno;
|
||||
irq.on = ne_interrupt_on;
|
||||
irq.off = ne_interrupt_off;
|
||||
irq.isOn = ne_interrupt_is_on;
|
||||
|
||||
@@ -146,6 +146,11 @@ void bsp_pretasking_hook(void)
|
||||
rtemsFreeMemStart += _heap_size; /* HEAP_SIZE in KBytes */
|
||||
} /* bsp_pretasking_hook */
|
||||
|
||||
/*
|
||||
* External but essentially private method
|
||||
*/
|
||||
void Calibrate_loop_1ms(void);
|
||||
|
||||
/*-------------------------------------------------------------------------+
|
||||
| Function: bsp_start
|
||||
| Description: Called before main is invoked.
|
||||
@@ -156,7 +161,6 @@ void bsp_pretasking_hook(void)
|
||||
void bsp_start_default( void )
|
||||
{
|
||||
int pci_init_retval;
|
||||
void Calibrate_loop_1ms(void);
|
||||
|
||||
/*
|
||||
* Calibrate variable for 1ms-loop (see timer.c)
|
||||
|
||||
Reference in New Issue
Block a user