Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Architecture

This document describes the hardware abstraction layer for the Kyronix kernel. It is the child of Kernel and parent of architecture-specific documents.

Supported Architectures

The Kyronix kernel currently supports x86_64 (AMD64) only. The architecture-specific code lives in kernel/arch/x86_64/.

Architecture Components

ComponentSourceDescription
CPU Primitivesarch/x86_64/cpu.hI/O ports, MSRs, control registers, compiler attributes
GDTarch/x86_64/gdt.cGlobal Descriptor Table and Task State Segment
IDTarch/x86_64/idt.cInterrupt Descriptor Table and ISR dispatch
LAPICarch/x86_64/lapic.cLocal APIC MMIO, IPI, timer calibration
PITarch/x86_64/pit.cProgrammable Interval Timer and RTC
Syscall Setuparch/x86_64/syscall_setup.cSYSCALL/SYSRET MSRs, SSE, per-CPU data
Syscall Entryarch/x86_64/syscall_entry.SSYSCALL entry and userspace trampolines
IDT Stubsarch/x86_64/idt_stubs.SAssembly ISR entry/exit stubs

Last reviewed: 2026-07-22