mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-25 22:07:15 +00:00
Patch from Chris Johns to add the interrupt class destructure.
This commit is contained in:
@@ -54,6 +54,11 @@ rtemsInterrupt::rtemsInterrupt()
|
||||
}
|
||||
}
|
||||
|
||||
rtemsInterrupt::~rtemsInterrupt()
|
||||
{
|
||||
release();
|
||||
}
|
||||
|
||||
const rtems_status_code rtemsInterrupt::isr_catch(const rtems_vector_number vec)
|
||||
{
|
||||
if (vec >= CPU_INTERRUPT_NUMBER_OF_VECTORS)
|
||||
|
||||
@@ -54,6 +54,11 @@ rtemsInterrupt::rtemsInterrupt()
|
||||
}
|
||||
}
|
||||
|
||||
rtemsInterrupt::~rtemsInterrupt()
|
||||
{
|
||||
release();
|
||||
}
|
||||
|
||||
const rtems_status_code rtemsInterrupt::isr_catch(const rtems_vector_number vec)
|
||||
{
|
||||
if (vec >= CPU_INTERRUPT_NUMBER_OF_VECTORS)
|
||||
|
||||
Reference in New Issue
Block a user