summaryrefslogtreecommitdiffstats
path: root/bsps/include/bsp/irq-generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/include/bsp/irq-generic.h')
-rw-r--r--bsps/include/bsp/irq-generic.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/bsps/include/bsp/irq-generic.h b/bsps/include/bsp/irq-generic.h
index d2d5e1ed90..cdd269a3af 100644
--- a/bsps/include/bsp/irq-generic.h
+++ b/bsps/include/bsp/irq-generic.h
@@ -218,6 +218,23 @@ void bsp_interrupt_initialize(void);
rtems_status_code bsp_interrupt_facility_initialize(void);
/**
+ * @brief Gets the attributes of the interrupt vector.
+ *
+ * @param vector is the interrupt vector number. It shall be valid.
+ *
+ * @param[out] attributes is the pointer to an rtems_interrupt_attributes
+ * object. When the function call is successful, the attributes of the
+ * interrupt vector will be stored in this object. The pointer shall not be
+ * NULL. The object shall be cleared to zero by the caller.
+ *
+ * @retval ::RTEMS_SUCCESSFUL The requested operation was successful.
+ */
+rtems_status_code bsp_interrupt_get_attributes(
+ rtems_vector_number vector,
+ rtems_interrupt_attributes *attributes
+);
+
+/**
* @brief Checks if the interrupt is enabled.
*
* The function checks if the interrupt associated with the interrupt vector