Signal subsystem types — the asynchronous event mechanism for DGP domains. More...
Data Structures | |
| struct | zxfoundation::dgp::signal::signal_entry |
| A single signal queued for delivery to a domain. More... | |
| struct | zxfoundation::dgp::signal::signal_handler_info |
| Descriptor for a registered signal handler. More... | |
| struct | zxfoundation::dgp::signal::signal_queue |
| Fixed-capacity signal queue embedded in the domain struct. More... | |
Typedefs | |
| using | zxfoundation::dgp::signal::signal_handler_fn |
| Signal handler invoked by the nucleus at domain re-entry. | |
Enumerations | |
| enum class | zxfoundation::dgp::signal::signal_default : u8 { ignore = 0 , terminate = 1 , notify = 2 } |
| What the kernel should do when a signal is delivered and no handler is registered. More... | |
| enum class | zxfoundation::dgp::signal::signal_kind : u8 { none = 0 , timer = 1 , io = 2 , fault = 3 , term = 4 , user0 = 5 , user1 = 6 , ipc = 7 } |
| Discriminator for the kind of asynchronous event. More... | |
Functions | |
| constexpr auto | zxfoundation::dgp::signal::signal_kind_name (signal_kind k) noexcept -> const char * |
| Return a human-readable label for a signal kind. | |
Variables | |
| constexpr u32 | zxfoundation::dgp::signal::SIGNAL_QUEUE_DEPTH = 16 |
| Maximum number of pending signal entries per domain. | |
Signal subsystem types — the asynchronous event mechanism for DGP domains.
SPDX-License-Identifier: Apache-2.0
|
export |
Signal handler invoked by the nucleus at domain re-entry.
| [in] | kind | The kind of signal being delivered. |
| [in] | data | Opaque 64-bit payload (context-dependent). |
| [in] | user | User-registered context pointer (from handler_info). |
|
exportstrong |
|
exportstrong |
Discriminator for the kind of asynchronous event.