ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.sched.strandctx.core Module Reference

Typedefs

using zxfoundation::sched::strandctx::strand_entry_fn = auto (*)(void*) noexcept -> void
 Kernel-thread entry function type.

Functions

auto zxfoundation::sched::strandctx::domain_enter_user (domain *d) noexcept -> void
 Overload taking domain* for backward compatibility.
auto zxfoundation::sched::strandctx::domain_enter_user (strand *s) noexcept -> void
 Enter user mode for a domain.
auto zxfoundation::sched::strandctx::setup_primary_strand_context (domain *d, strand_entry_fn entry, void *arg) noexcept -> void
 Convenience wrapper — kernel-thread first-switch for the primary strand of a domain.
auto zxfoundation::sched::strandctx::setup_primary_strand_context_user (domain *d) noexcept -> void
 Convenience wrapper — user-process first-switch for the primary strand of a domain.
auto zxfoundation::sched::strandctx::setup_strand_context_kernel_thread (strand *s, strand_entry_fn entry, void *arg) noexcept -> void
 Set up the initial kernel stack frame for a strand so that the.
auto zxfoundation::sched::strandctx::setup_strand_context_user (strand *s, const user_regs *uregs, const domain *owner) noexcept -> void
 Set up the initial kernel stack frame for a strand whose first context switch performs an LPSWE into user mode.

Files

file  zxfoundation/sched/strandctx.zcomponent/core.cxxm
 Strand context setup and user-mode first-entry trampolines.
file  zxfoundation/sched/strandctx.zcomponent/core.cxx
 Domain/strand context setup and user-mode first-entry trampolines.