Nyxos AI
  • 1. Introducing Nyxos
    • 1.1 Our Goals
    • 1.2. Our Philosophy
    • 1.3. Why a New OS?
    • 1.4. Nyxos Use Cases
    • 1.5. Comparing Nyxos to Other OSes
    • 1.6. Why Rust?
    • 1.7. Influences
    • 1.8. Hardware Support
  • 2. System Design
    • 2.1. Microkernels
    • 2.2. Nyxos kernel
    • 2.3. Boot Process
    • 2.4. Scheduling
    • 2.5. System Services in User Space
    • 2.6. Drivers
    • 2.7. Security
Powered by GitBook
On this page
Export as PDF
  1. 2. System Design

2.2. Nyxos kernel

Nyxos kernel

System calls are generally straightforward, sharing a similar Application Binary Interface (ABI) with standard function calls. On the x86_64 architecture, system calls are invoked using the syscall instruction, which triggers a mode switch from user-mode (ring 3) to kernel-mode (ring 0). Once the system call handler completes its operation, it switches back to user-mode, using the sysretq instruction to return control, functioning similarly to how a regular function call returns.

Previous2.1. MicrokernelsNext2.3. Boot Process

Last updated 4 months ago