Established stable network link between NexusOS and QEMU/SLIRP gateway. Resolved critical packet corruption and state machine failures. Key fixes: - VIRTIO: Aligned header size to 12 bytes (VIRTIO_NET_F_MRG_RXBUF modern compliance). - LWIP: Enabled LWIP_TIMERS=1 to drive internal DHCP/DNS state machines. - KERNEL: Adjusted NetSwitch polling to 10ms to prevent fiber starvation. - MEMBRANE: Corrected TX packet offset and fixed comment syntax. - INIT: Verified ICMP Echo Request/Reply (10.0.2.15 <-> 10.0.2.2). Physically aligned. Logically sovereign. Fixed by the & kernel Forge. |
||
|---|---|---|
| .. | ||
| fs | ||
| include | ||
| ion | ||
| loader | ||
| README.md | ||
| channel.nim | ||
| channels.nim | ||
| cspace.nim | ||
| cstubs.c | ||
| fastpath.nim | ||
| fiber.nim | ||
| invariant.nim | ||
| ion.nim | ||
| kernel.nim | ||
| loader.nim | ||
| loader.zig | ||
| netswitch.nim | ||
| ontology.nim | ||
| overrides.c | ||
| panicoverride.nim | ||
| pty.nim | ||
| re-symbol.txt | ||
| ring.nim | ||
| sched.nim | ||
| utcp.nim | ||
| watchdog.nim | ||
| write_wrapper.nim | ||
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_haltfrom HAL (Zig L0) - Imports
cpu_switch_tofrom arch-specific assembly - Uses
mm:arcmemory management (no GC)
Build
Built via ../build.sh [aarch64|x86_64|riscv64]