46 UNKNOWN = 0x00000000_u32,
47 I386 = 0x00000001_u32,
48 X86_64 = 0x00000002_u32,
50 ARM64 = 0x00000008_u32,
55#if defined(IGROS_ARCH_i386)
60#elif defined(IGROS_ARCH_x86_64)
74 using init_t = std::add_pointer_t<void()>;
89 const char*
const mName {
nullptr};
114 const
char* const
name,
126 auto
name() const noexcept -> const
char*;
136 void reboot() const noexcept;
141 void wakeup() const noexcept;
174 constexpr static auto
isI386() noexcept ->
bool;
178 constexpr static auto
isX86_64() noexcept ->
bool;
182 constexpr static auto
isARM32() noexcept ->
bool;
186 constexpr static auto
isARM64() noexcept ->
bool;
190 constexpr static auto
isAVR() noexcept ->
bool;
201 const
char* const
name,
229 if (
nullptr ==
mInit) [[unlikely]] {
262 if (
nullptr ==
mReboot) [[unlikely]] {
273 if (
nullptr ==
mSuspend) [[unlikely]] {
284 if (
nullptr ==
mWakeup) [[unlikely]] {
std::size_t igros_usize_t
Unsigned size.
std::uint8_t igros_byte_t
8-bit unsigned integer
std::uint32_t igros_dword_t
32-bit unsigned integer
Common C++ types redefinition.