IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
longMode.hpp File Reference

Long mode low-level preparation operations. More...

#include <arch/types.hpp>
Include dependency graph for longMode.hpp:

Go to the source code of this file.

Functions

auto checkCPUID () noexcept -> igros::igros_byte_t
 Check CPUID instruction is available (non-zero if available).
auto checkLongMode () noexcept -> igros::igros_byte_t
 Check CPU supports long mode (non-zero if supported).

Detailed Description

Long mode low-level preparation operations.

Date
03 Nov 2026
Author
Igor Baklykov

Definition in file longMode.hpp.

Function Documentation

◆ checkCPUID()

auto checkCPUID ( ) ->igros::igros_byte_t
nodiscardnoexcept

Check CPUID instruction is available (non-zero if available).

Returns
Non-zero if CPUID is available

◆ checkLongMode()

auto checkLongMode ( ) ->igros::igros_byte_t
nodiscardnoexcept

Check CPU supports long mode (non-zero if supported).

Returns
Non-zero if long mode is supported