IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
longMode.hpp
Go to the documentation of this file.
1
11
12
13#pragma once
14
15
16// IgrOS-Kernel arch
17#include <arch/types.hpp>
18
19
20#ifdef __cplusplus
21
22extern "C" {
23
24#endif // __cplusplus
25
26
29 [[nodiscard]]
30 auto checkCPUID() noexcept -> igros::igros_byte_t;
31
34 [[nodiscard]]
35 auto checkLongMode() noexcept -> igros::igros_byte_t;
36
37
38#ifdef __cplusplus
39}
40
41#endif // __cplusplus
42
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).
IgrOS kernel: common types and literals.
Common C++ types redefinition.