52 cpu() noexcept = default;
54 ~
cpu() noexcept = default;
59 auto operator=(const
cpu &other) ->
cpu & = delete;
63 auto operator=(
cpu &&other) ->
cpu & = delete;
67 static
void halt() noexcept;
85 constexpr auto r = [](
const igros_quad_t value)
constexpr noexcept {
86 return static_cast<unsigned long long>(value);
91RAX=[%016llx] RBX=[%016llx] RCX=[%016llx] RDX=[%016llx]
92R8 =[%016llx] R9 =[%016llx] R10=[%016llx] R11=[%016llx]
93R12=[%016llx] R13=[%016llx] R14=[%016llx] R15=[%016llx]
94RSI=[%016llx] RDI=[%016llx]
95RSP=[%016llx] RBP=[%016llx]
cpu() noexcept=default
Default c-tor.
static void dumpRegisters(const register_t *const regs) noexcept
Dump CPU registers.
static void halt() noexcept
Halt CPU.
std::uint64_t igros_quad_t
64-bit unsigned integer
void cpuHalt() noexcept
Halt CPU.
Kernel text print functions.
void kprintf(const char *const format,...) noexcept
Kernel printf function (arguments are checked against format at compile time).
x86_64 (long mode): GDT, IDT, TSS, CPUID, MSR, CPU registers
Architecture register type deduction.
x86_64 task switch registers save
Common C++ types redefinition.