|
Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
|
Explicit borrowed IRQ wake target and syscall-ceiling check. More...
#include "nexus/core/status.h"Go to the source code of this file.
Data Structures | |
| struct | nx_irq_wake_t |
| Optional immutable wake target borrowed by an IRQ provider. More... | |
| struct | nx_irq_policy_t |
| Immutable CPU and kernel facts for cold wake binding. More... | |
| struct | nx_irq_source_t |
| Actual publisher facts read before attaching any borrowed sink. More... | |
Enumerations | |
| enum | nx_irq_kernel_policy_t { NX_IRQ_KERNEL_NONE = 0 , NX_IRQ_KERNEL_PRIMASK = 1 , NX_IRQ_KERNEL_BASEPRI = 2 } |
| Explicit kernel interrupt-mask policy, independent of any RTOS. More... | |
Functions | |
| nx_result_t | nx_irq_wake_validate (const nx_irq_wake_t *wake, const nx_irq_policy_t *policy, const nx_irq_source_t *source) |
| Validate actual IRQ facts against an explicit kernel policy. | |
| nx_result_t | nx_irq_wake_signal (const nx_irq_wake_t *wake) |
| Deliver one bounded hint after authoritative state is latched. | |
Explicit borrowed IRQ wake target and syscall-ceiling check.
Definition in file wake.h.
| nx_result_t nx_irq_wake_signal | ( | const nx_irq_wake_t * | wake | ) |
Deliver one bounded hint after authoritative state is latched.
| [in] | wake | Previously validated live target or NULL. |
| nx_result_t nx_irq_wake_validate | ( | const nx_irq_wake_t * | wake, |
| const nx_irq_policy_t * | policy, | ||
| const nx_irq_source_t * | source ) |
Validate actual IRQ facts against an explicit kernel policy.
| [in] | wake | Optional immutable target; NULL disables notification. |
| [in] | policy | Immutable validated CPU and kernel configuration. |
| [in] | source | External IRQ number, unshifted priority and group. |