Gate subsystem core — gate lifecycle declarations. More...
Go to the source code of this file.
Functions | |
| auto | zxfoundation::dgp::gate::destroy_for_domain (u32 domain_id) noexcept -> void |
| Destroy all gates owned by a specific domain. | |
| auto | zxfoundation::dgp::gate::gate_count () noexcept -> u32 |
| Return the current number of active gates. | |
| auto | zxfoundation::dgp::gate::gate_create (gate_type type, gate_auth auth, u32 target_domain_id, u64 entry_va, u8 target_key) noexcept -> std::expected< u32, lib::kernel_error > |
| Create a new gate descriptor. | |
| auto | zxfoundation::dgp::gate::gate_destroy (u32 id) noexcept -> std::expected< void, lib::kernel_error > |
| Destroy a gate, freeing its slot. | |
| auto | zxfoundation::dgp::gate::gate_find (u32 id) noexcept -> gate_desc * |
| Look up a gate descriptor by id. | |
| auto | zxfoundation::dgp::gate::gate_init () noexcept -> void |
| Initialize the gate subsystem. | |
| auto | zxfoundation::dgp::gate::register_gate_cap_lookup () noexcept -> void |
Gate subsystem core — gate lifecycle declarations.
SPDX-License-Identifier: Apache-2.0
|
exportnoexcept |
Destroy all gates owned by a specific domain.
| domain_id | The domain whose gates should be destroyed. |
|
exportnoexcept |
Create a new gate descriptor.
| type | Gate type (nucleus or domain). |
| auth | Authorization policy. |
| target_domain_id | Target domain ID. |
| entry_va | Entry-point virtual address in the target domain. |
| target_key | Storage key of the target domain. |
|
exportnoexcept |
Destroy a gate, freeing its slot.
| id | The gate slot ID to destroy. |