Kernel structure

This figure documents the historical i386 source baseline. Current native x86-64/AArch64 qualification is recorded separately; this is not an ELF64 or native SMP implementation diagram.

Ring 3 · private address spaces

  • User shell / C programs
  • Local Hew executables Restricted freestanding runtime
INT 0x80 Syscall dispatch + user-buffer checks

Ring 0 · shared kernel trust domain

  • Tasks + paging
  • Streams + files + TCP
  • Kernel actors + mesh

↓ task, I/O and message events

Causal DAG

↓ bounded archival

SlFS + causal journal

↓ device operations + sector I/O

PIC / PIT · PCI · VirtIO block + network

Private user processes enter a shared kernel; instrumented operations feed the causal record.

Text equivalent and source references
  • Ring 3 contains separate user processes, including local Hew programs. INT 0x80 crosses into ring 0.
  • Tasks, I/O and kernel actors share kernel privilege. Task, I/O and message events enter the causal DAG; archival writes use SlFS and block I/O.

Layered architecture. Source paths refer to the atlas baseline; the kernel checkout is private.

  • kernel/core/main.c · kernel_main
  • kernel/core/syscall.c · syscall_handler
  • kernel/graph/causal.c · causal_emit