ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.sys.irq.core Module Reference

Typedefs

using zxfoundation::sys::irq::handler_fn

Functions

auto zxfoundation::sys::irq::deferred_set (u32 bit) noexcept -> void
 Set one deferred-work bit on the calling CPU's percpu::s390x_percpu_data::deferred_pending field.
auto zxfoundation::sys::irq::deferred_test_clear (u32 bit) noexcept -> bool
 Test-and-clear a deferred-work bit.
auto zxfoundation::sys::irq::init () noexcept -> void
 Initialize the IRQ subsystem with the SCOMS scoms_table.
auto zxfoundation::sys::irq::irq_dispatch (u16 irq, arch::s390x::cpu::irq::irq_frame *frame, arch::s390x::cpu::irq::irq_class cls) noexcept -> void
 Dispatch an IRQ — called from C interrupt entry stubs (trap.cxxm).
auto zxfoundation::sys::irq::irq_register (u16 irq, handler_fn handler, void *data, u32 flags) noexcept -> std::expected< void, lib::kernel_error >
 Register a handler for a vector.
auto zxfoundation::sys::irq::irq_unregister (u16 irq) noexcept -> void
 Unregister the handler for a vector and release the SCOMS slot.

Files

file  zxfoundation/sys/irq.zcomponent/core.cxxm
file  zxfoundation/sys/irq.zcomponent/core.cxx