Skip to content

xdv/xdv-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDV Kernel

Version: 0.2.x
Language: Dust Programming Language (DPL)

The XDV kernel is the x64 kernel component for XDV OS. It provides the K-Domain runtime and defines hardware-gated Q-Domain and Phi-Domain service surfaces.

Runtime Paths

The repository currently contains two kernel runtime entry profiles:

  • sector/xdv_kernel/src/kernel.ds
    Dust kernel entry (kernel_start) and core runtime boot sequence.
  • sector/xdv_kernel/src/kernel_runtime_shell.asm
    bare-metal runtime shell profile (US keyboard layout, command buffer, dispatcher, and console command execution path used in VM bring-up flows).

Domain Model

  • K-Domain: classical x64 execution path (active on supported hardware).
  • Q-Domain: hardware-gated quantum domain interfaces.
  • Phi-Domain: hardware-gated phase-native interfaces.

When Q/Phi hardware is not present, domain probes and operations are expected to report domain-not-available behavior.

Sectors

The workspace defines 13 sectors:

  • xdv_boot
  • xdv_memory
  • xdv_cpu
  • xdv_drivers
  • xdv_kernel
  • xdv_dal
  • xdv_qdomain
  • xdv_phidomain
  • xdv_cds
  • xdv_umf
  • xdv_hypervisor
  • xdv_sdbm
  • xdv_odt

Each sector contains src/*.ds and sector tests (*_tests.ds).

Build and Validation

Validate all sector source directories:

dust check sector/xdv_boot/src
dust check sector/xdv_memory/src
dust check sector/xdv_cpu/src
dust check sector/xdv_drivers/src
dust check sector/xdv_kernel/src
dust check sector/xdv_dal/src
dust check sector/xdv_qdomain/src
dust check sector/xdv_phidomain/src
dust check sector/xdv_cds/src
dust check sector/xdv_umf/src
dust check sector/xdv_hypervisor/src
dust check sector/xdv_sdbm/src
dust check sector/xdv_odt/src

Integration Notes

  • xdv-boot is responsible for loading kernel.bin and transferring control.
  • xdv-os image build composes boot.bin + kernel.bin into the xdvfs image.
  • kernel runtime output should be validated in VirtualBox against the expected boot contract chain.

Documentation

  • docs/README.md
  • docs/boot_runtime_flow.md
  • docs/sector_reference.md
  • spec/XDV-Kernel-v0.2-Specification.md
  • xdv-kernel_white_paper.md
  • CHANGELOG.md

Related Projects

License

Copyright (c) 2026 Dust LLC. See LICENSE.

About

The XDV Kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published