IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
igros::x86_64::cpu Class Referencefinal

CPU representation. More...

#include <arch/x86_64/cpu.hpp>

Public Member Functions

 cpu () noexcept=default
 Default c-tor.
 ~cpu () noexcept=default
 D-tor.
 cpu (const cpu &other)=delete
 Copy c-tor.
auto operator= (const cpu &other) -> cpu &=delete
 Copy assignment.
 cpu (cpu &&other)=delete
 Move c-tor.
auto operator= (cpu &&other) -> cpu &=delete
 Move assignment.

Static Public Member Functions

static void halt () noexcept
 Halt CPU.
static void dumpRegisters (const register_t *const regs) noexcept
 Dump CPU registers.

Detailed Description

CPU representation.

Definition at line 47 of file cpu.hpp.

Member Function Documentation

◆ dumpRegisters()

void igros::x86_64::cpu::dumpRegisters ( const register_t *const regs)
inlinestaticnoexcept

Dump CPU registers.

Dump registers.

Parameters
regsRegisters saved on interrupt

Definition at line 83 of file cpu.hpp.

◆ halt()

void igros::x86_64::cpu::halt ( )
inlinestaticnoexcept

Halt CPU.

Definition at line 77 of file cpu.hpp.


The documentation for this class was generated from the following file: