rumpk/core
Markus Maiwald a38bc523a8 feat(build): dual-arch build system — build_nim.sh, build_full.sh, run_aarch64.sh 2026-02-15 19:59:26 +01:00
..
fs feat(fs): LittleFS integration — VFS, HAL bridge, persistent /nexus 2026-02-15 19:59:13 +01:00
include feat(build): dual-arch build system — build_nim.sh, build_full.sh, run_aarch64.sh 2026-02-15 19:59:26 +01:00
ion feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
loader feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
README.md feat(rumpk): Phase 2 Complete - The Entropy Purge & Sovereign Alignment 2025-12-31 20:18:48 +01:00
channel.nim Rumpk Stability, NipBox Boot, and Repository Cleanup 2026-01-04 21:39:06 +01:00
channels.nim fix(virtio): overcome capability probe hang with paging enabled 2026-01-06 13:39:40 +01:00
cspace.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
cstubs.c feat(tinybox): graft toybox integration and build system automation 2026-01-08 21:18:08 +01:00
fastpath.nim test(utcp): Root cause analysis - QEMU hostfwd requires listening socket 2026-01-07 17:04:51 +01:00
fiber.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
invariant.nim Rumpk Stability, NipBox Boot, and Repository Cleanup 2026-01-04 21:39:06 +01:00
ion.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
kernel.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
loader.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
loader.zig feat(kernel): implement Sv39 fiber memory isolation and hardened ELF loader 2026-01-05 16:36:25 +01:00
netswitch.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
ontology.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
overrides.c fix(rumpk): enable user stack access and repair boot process 2026-01-08 21:38:14 +01:00
panicoverride.nim feat(tinybox): graft toybox integration and build system automation 2026-01-08 21:18:08 +01:00
pty.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
re-symbol.txt feat(rumpk): Phase 7 Verified - Subject Zero Launch 2025-12-31 20:18:48 +01:00
ring.nim Rumpk Stability, NipBox Boot, and Repository Cleanup 2026-01-04 21:39:06 +01:00
sched.nim feat(core): M4 security — CSpace, Pledge, STL, budget enforcement, BKDL manifests 2026-02-15 19:59:07 +01:00
test_standalone.nim fix(rumpk): enable user stack access and repair boot process 2026-01-08 21:38:14 +01:00
utcp.nim feat(membrane): Hardened LwIP memory manager & stabilized DHCP/DNS 2026-01-07 23:47:04 +01:00
watchdog.nim Rumpk Stability, NipBox Boot, and Repository Cleanup 2026-01-04 21:39:06 +01:00
write_wrapper.nim Rumpk Stability, NipBox Boot, and Repository Cleanup 2026-01-04 21:39:06 +01:00

README.md

Rumpk Core (L1)

Language: Nim
Purpose: Architecture-agnostic kernel logic

Module Index

File Purpose
kernel.nim Main Orchestrator (kmain)
ion.nim ION Control Plane & Channel API
fiber.nim Cooperative fiber abstraction
watchdog.nim Autonomous Immune System (Healer)
ring.nim Lock-free Sovereign ring buffers
panicoverride.nim Freestanding panic handler

Architecture Independence

This folder contains no architecture-specific code. All platform-specific details are handled by the HAL layer (../hal/).

Compile-time architecture selection uses Nim's when defined():

when defined(amd64):
  const CONTEXT_SIZE = 56
elif defined(arm64):
  const CONTEXT_SIZE = 96
elif defined(riscv64):
  const CONTEXT_SIZE = 112

Dependencies

  • Imports console_write, rumpk_halt from HAL (Zig L0)
  • Imports cpu_switch_to from arch-specific assembly
  • Uses mm:arc memory management (no GC)

Build

Built via ../build.sh [aarch64|x86_64|riscv64]