forked from Imagelibrary/rtems
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* mc9328mxl/irq/irq.c, s3c2400/irq/irq.c: Remove warnings.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-05-03 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* mc9328mxl/irq/irq.c, s3c2400/irq/irq.c: Remove warnings.
|
||||
|
||||
2005-04-26 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* s3c2400/clock/clockdrv.c: Eliminate warning.
|
||||
|
||||
@@ -38,7 +38,7 @@ int BSP_install_rtems_irq_handler (const rtems_irq_connect_data* irq)
|
||||
rtems_interrupt_level level;
|
||||
rtems_irq_hdl *bsp_tbl;
|
||||
|
||||
bsp_tbl = &bsp_vector_table;
|
||||
bsp_tbl = (rtems_irq_hdl *)&bsp_vector_table;
|
||||
|
||||
if (!isValidInterrupt(irq->name)) {
|
||||
return 0;
|
||||
@@ -82,7 +82,7 @@ int BSP_remove_rtems_irq_handler (const rtems_irq_connect_data* irq)
|
||||
rtems_interrupt_level level;
|
||||
rtems_irq_hdl *bsp_tbl;
|
||||
|
||||
bsp_tbl = &bsp_vector_table;
|
||||
bsp_tbl = (rtems_irq_hdl *)&bsp_vector_table;
|
||||
|
||||
if (!isValidInterrupt(irq->name)) {
|
||||
return 0;
|
||||
|
||||
@@ -49,7 +49,7 @@ int BSP_install_rtems_irq_handler (const rtems_irq_connect_data* irq)
|
||||
/*
|
||||
* Check if default handler is actually connected. If not issue an error.
|
||||
*/
|
||||
HdlTable = VECTOR_TABLE;
|
||||
HdlTable = (rtems_irq_hdl *)VECTOR_TABLE;
|
||||
if (*(HdlTable + irq->name) != default_int_handler) {
|
||||
return 0;
|
||||
}
|
||||
@@ -86,7 +86,7 @@ int BSP_remove_rtems_irq_handler (const rtems_irq_connect_data* irq)
|
||||
/*
|
||||
* Check if the handler is actually connected. If not issue an error.
|
||||
*/
|
||||
HdlTable = VECTOR_TABLE;
|
||||
HdlTable = (rtems_irq_hdl *)VECTOR_TABLE;
|
||||
if (*(HdlTable + irq->name) != irq->hdl) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user