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

Data Structures

struct  zxfoundation::sys::zinit::zi_desc

Enumerations

enum class  zi_action : u8 { warn = 0x1 , fatal = 0x2 , silent = 0x4 }
enum class  zi_class : u8 {
  prelink = 0 , early = 1 , mm = 2 , core = 3 ,
  fs = 4 , bus = 5 , device = 6 , late = 7 ,
  max = 8
}
enum class  zi_prio : u8 { high = 0 , normal = 50 , low = 99 }

Typedefs

using zxfoundation::sys::zinit::zi_fn = auto (*)(const zi_desc&) noexcept -> std::expected<void, lib::kernel_error>

Functions

constexpr auto zxfoundation::sys::zinit::operator& (zi_action a, zi_action b) noexcept -> bool
constexpr auto zxfoundation::sys::zinit::operator| (zi_action a, zi_action b) noexcept -> zi_action
auto zxfoundation::sys::zinit::run_class (const zi_class cls) noexcept -> u32

Variables

zi_action action {}
 Failure action.
zi_class cls {}
 Class.
zi_fn init {}
 Function pointer.
std::string_view name {}
 Name of the method.
zi_prio prio {}
 Prority.

Files

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