diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-06-28 08:44:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-26 07:54:25 +0200 |
commit | 9832652c53af44367cd3a9cf789bdb997a85043c (patch) | |
tree | e928e3ad1d27a4d559ff1869eed8f77f202f62a5 /bsps/powerpc/psim/irq | |
parent | bsps/irq: Add rtems_interrupt_vector_is_enabled() (diff) | |
download | rtems-9832652c53af44367cd3a9cf789bdb997a85043c.tar.bz2 |
bsps/irq: Add rtems_interrupt_raise()
Add rtems_interrupt_raise_on() and rtems_interrupt_clear().
Add a default implementation which just returns RTEMS_UNSATISFIED for
valid parameters.
Update #3269.
Diffstat (limited to 'bsps/powerpc/psim/irq')
-rw-r--r-- | bsps/powerpc/psim/irq/irq_init.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bsps/powerpc/psim/irq/irq_init.c b/bsps/powerpc/psim/irq/irq_init.c index e5e345832f..d9f4aca9c9 100644 --- a/bsps/powerpc/psim/irq/irq_init.c +++ b/bsps/powerpc/psim/irq/irq_init.c @@ -102,6 +102,18 @@ static int psim_exception_handler( /* * functions to enable/disable a source at the ipic */ +rtems_status_code bsp_interrupt_raise(rtems_vector_number vector) +{ + bsp_interrupt_assert(bsp_interrupt_is_valid_vector(vector)); + return RTEMS_UNSATISFIED; +} + +rtems_status_code bsp_interrupt_clear(rtems_vector_number vector) +{ + bsp_interrupt_assert(bsp_interrupt_is_valid_vector(vector)); + return RTEMS_UNSATISFIED; +} + rtems_status_code bsp_interrupt_vector_is_enabled( rtems_vector_number vector, bool *enabled |