ZXFoundation™ 26h2
Loading...
Searching...
No Matches
core.cxx File Reference

Bounded policy-server registration owned by the nucleus. More...

import zxfoundation.sync.lockable;
import zxfoundation.sync.qspinlock.core;
import zxfoundation.dgp.isolation.types;
import zxfoundation.dgp.policy.types;
import zxfoundation.dgp.domain.types;
import zxfoundation.base.types;
import zxfoundation.dgp.authorize;
import zxfoundation.base.typestate;
import zxfoundation.scoms.kobject.ref;
import std;
import zxfoundation.scoms.table;
import zxfoundation.scoms.kobject.types;
import zxfoundation.dgp.domain.core;
import zxfoundation.scoms.metadata.core;
import zxfoundation.sys.ipc.core;
import lib.error;
import zxfoundation.scoms.kobject.base;
import zxfoundation.memory.objects;
Include dependency graph for core.cxx:

Functions

auto zxfoundation::dgp::policy::destroy_for_domain (u32 domain_id) noexcept -> void
 Remove policy registrations owned by a domain entering teardown.
auto zxfoundation::dgp::policy::find_server (server_kind kind) noexcept -> policy_server *
auto zxfoundation::dgp::policy::init () noexcept -> void
auto zxfoundation::dgp::policy::register_server (dgp::domain::domain &owner, server_kind kind, u32 endpoint_id) noexcept -> std::expected< u32, lib::kernel_error >
auto zxfoundation::dgp::policy::unregister_server (dgp::domain::domain &owner, server_kind kind) noexcept -> std::expected< void, lib::kernel_error >
no_export auto zxfoundation::dgp::policy::detail::valid_kind (server_kind kind) noexcept -> bool

Variables

no_export bool zxfoundation::dgp::policy::detail::g_initialized {false}
no_export sync::qspinlock::qspinlock zxfoundation::dgp::policy::detail::g_lock {}
no_export scoms::scoms_table< policy_server, MAX_POLICY_SERVERS > zxfoundation::dgp::policy::detail::g_table {}

Detailed Description

Bounded policy-server registration owned by the nucleus.

SPDX-License-Identifier: Apache-2.0