mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-09 00:53:16 +00:00
cpukit/libgnat/ada_intrsupp.c: Fixed formatting
Fixed formatting based on suggestions by format diff.
This commit is contained in:
committed by
Joel Sherrill
parent
ccef4b74d0
commit
ac67445c84
@@ -122,15 +122,16 @@ int __gnat_binary_semaphore_flush(
|
|||||||
|
|
||||||
typedef void ( *ISRHandler )( void * );
|
typedef void ( *ISRHandler )( void * );
|
||||||
|
|
||||||
int __gnat_interrupt_connect(
|
int __gnat_interrupt_connect( int vector, ISRHandler handler, void *parameter )
|
||||||
int vector,
|
|
||||||
ISRHandler handler,
|
|
||||||
void *parameter
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
rtems_status_code status;
|
rtems_status_code status;
|
||||||
|
|
||||||
printk( "__gnat_interrupt_connect( %d, %p, %p )\n", vector, handler, parameter );
|
printk(
|
||||||
|
"__gnat_interrupt_connect( %d, %p, %p )\n",
|
||||||
|
vector,
|
||||||
|
handler,
|
||||||
|
parameter
|
||||||
|
);
|
||||||
|
|
||||||
status = rtems_interrupt_handler_install(
|
status = rtems_interrupt_handler_install(
|
||||||
vector,
|
vector,
|
||||||
@@ -148,10 +149,7 @@ int __gnat_interrupt_connect(
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int __gnat_interrupt_set(
|
int __gnat_interrupt_set( int vector, ISRHandler handler )
|
||||||
int vector,
|
|
||||||
ISRHandler handler
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
rtems_status_code status;
|
rtems_status_code status;
|
||||||
|
|
||||||
@@ -173,17 +171,13 @@ int __gnat_interrupt_set(
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ISRHandler __gnat_interrupt_get(
|
ISRHandler __gnat_interrupt_get( int vector )
|
||||||
int vector
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
printk( "__gnat_interrupt_get( %d )\n", vector );
|
printk( "__gnat_interrupt_get( %d )\n", vector );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int __gnat_interrupt_number_to_vector(
|
int __gnat_interrupt_number_to_vector( int intNum )
|
||||||
int intNum
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
printk( "__gnat_interrupt_number_to_vector( %d )\n", intNum );
|
printk( "__gnat_interrupt_number_to_vector( %d )\n", intNum );
|
||||||
return intNum;
|
return intNum;
|
||||||
|
|||||||
Reference in New Issue
Block a user