diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-30 15:30:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-30 15:30:09 +0200 |
commit | f91fbbf4b8e6fbe70b792ee52521076f28e1da14 (patch) | |
tree | 6138934cf08e2f8f39bbb8bfff92461b8a72ae0d /c/src/lib/libbsp/i386/shared/irq/irq.h | |
parent | SMP: Fix and optimize thread dispatching (diff) | |
download | rtems-f91fbbf4b8e6fbe70b792ee52521076f28e1da14.tar.bz2 |
bsps/i386: Interrupt server support
Diffstat (limited to 'c/src/lib/libbsp/i386/shared/irq/irq.h')
-rw-r--r-- | c/src/lib/libbsp/i386/shared/irq/irq.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i386/shared/irq/irq.h b/c/src/lib/libbsp/i386/shared/irq/irq.h index 90cf71c6ee..095af423cf 100644 --- a/c/src/lib/libbsp/i386/shared/irq/irq.h +++ b/c/src/lib/libbsp/i386/shared/irq/irq.h @@ -80,7 +80,19 @@ extern "C" { */ typedef unsigned short rtems_i8259_masks; -extern rtems_i8259_masks i8259s_cache; +/** + * @brief Contains the current IMR of both i8259s. + */ +extern rtems_i8259_masks i8259s_cache; + +/** + * @brief Contains the super IMR of both i8259s to overrule i8259s_cache during + * interrupt exit. + * + * This enables a bsp_interrupt_vector_disable() in interrupt handlers. This + * is required for the interrupt server support used by the new network stack. + */ +extern rtems_i8259_masks i8259s_super_imr; /*-------------------------------------------------------------------------+ | Function Prototypes. |