IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
igros Namespace Reference

IgrOS kernel: common types and literals. More...

Namespaces

namespace  arch
 Architecture-independent interface: drivers and aliases of current architecture types.
namespace  x86
 Code shared by i386 and x86_64: ports, interrupts, exceptions, paging.
namespace  i386
 i386 (32-bit protected mode): GDT, IDT, TSS, CPU registers
namespace  x86_64
 x86_64 (long mode): GDT, IDT, TSS, CPUID, MSR, CPU registers
namespace  klib
 Freestanding kernel library: printing, math, alignment, flags, strings.
namespace  mem
 Memory management: physical page allocator, direct map, virtual addresses.
namespace  multiboot
 Multiboot 1 information passed by the bootloader.
namespace  platform
 Platform description and initialization.
namespace  drivers
 Driver table and initialization.
namespace  sys
 System formats (ELF).
namespace  literal
 Integer literals range check (operators are consteval, so a call.

Typedefs

using igros_sbyte_t = std::int8_t
 8-bit signed integer
using igros_sword_t = std::int16_t
 16-bit signed integer
using igros_sdword_t = std::int32_t
 32-bit signed integer
using igros_squad_t = std::int64_t
 64-bit signed integer
using igros_byte_t = std::uint8_t
 8-bit unsigned integer
using igros_word_t = std::uint16_t
 16-bit unsigned integer
using igros_dword_t = std::uint32_t
 32-bit unsigned integer
using igros_quad_t = std::uint64_t
 64-bit unsigned integer
using igros_real32_t = float
 32-bit floating point
using igros_real64_t = double
 64-bit floating point
using igros_usize_t = std::size_t
 Unsigned size.
using igros_ssize_t = std::ptrdiff_t
 Signed size (difference).
using igros_pointer_t = std::add_pointer_t<void>
 Common pointer type.

Functions

consteval auto operator""_i8 (const unsigned long long value) noexcept -> igros_sbyte_t
 Literal for igros_sbyte_t creation.
consteval auto operator""_i16 (const unsigned long long value) noexcept -> igros_sword_t
 Literal for igros_sword_t creation.
consteval auto operator""_i32 (const unsigned long long value) noexcept -> igros_sdword_t
 Literal for igros_sdword_t creation.
consteval auto operator""_i64 (const unsigned long long value) noexcept -> igros_squad_t
 Literal for igros_squad_t creation.
consteval auto operator""_u8 (const unsigned long long value) noexcept -> igros_byte_t
 Literal for igros_byte_t creation.
consteval auto operator""_u16 (const unsigned long long value) noexcept -> igros_word_t
 Literal for igros_word_t creation.
consteval auto operator""_u32 (const unsigned long long value) noexcept -> igros_dword_t
 Literal for igros_dword_t creation.
consteval auto operator""_u64 (const unsigned long long value) noexcept -> igros_quad_t
 Literal for igros_quad_t creation.
consteval auto operator""_f32 (const unsigned long long value) noexcept -> igros_real32_t
 Literal for igros_real32_t creation.
consteval auto operator""_f32 (const long double value) noexcept -> igros_real32_t
 Literal for igros_real32_t creation.
consteval auto operator""_f64 (const unsigned long long value) noexcept -> igros_real64_t
 Literal for igros_real64_t creation.
consteval auto operator""_f64 (const long double value) noexcept -> igros_real64_t
 Literal for igros_real64_t creation.
consteval auto operator""_usize (const unsigned long long value) noexcept -> igros_usize_t
 Literal for igros_usize_t creation.
consteval auto operator""_ssize (const unsigned long long value) noexcept -> igros_ssize_t
 Literal for igros_ssize_t creation.

Detailed Description

IgrOS kernel: common types and literals.