rumpk/boot
Markus Maiwald 011e0b699e fix(rumpk): enable user stack access and repair boot process
- Enabled SUM (Supervisor Access to User Memory) in riscv_init to allow kernel loader to write to user stacks.
- Removed dangerous 'csrc sstatus' in kload_phys that revoked access.
- Aligned global fiber stacks to 4096 bytes to prevent unmapped page faults at stack boundaries.
- Restored 'boot.o' linking to fix silent boot failure.
- Implemented 'fiber_can_run_on_channels' stub to satisfy Membrane linking.
- Defined kernel stack in header.zig to fix '__stack_top' undefined symbol.
- Resolved duplicate symbols in overrides.c and nexshell.
2026-01-08 21:38:14 +01:00
..
README.md docs(rumpk): Add module READMEs per Panopticum doctrine 2025-12-31 20:18:47 +01:00
header.zig fix(rumpk): enable user stack access and repair boot process 2026-01-08 21:38:14 +01:00
linker-riscv64.ld Phase 37: The Glass Cage - Memory Isolation Complete 2026-01-04 02:03:01 +01:00
linker.ld fix(rumpk): enable user stack access and repair boot process 2026-01-08 21:38:14 +01:00

README.md

Rumpk Boot

Purpose: Bootloader headers and linker scripts

Contents

File Purpose
linker.ld Default linker script (ARM64 QEMU virt)
header.zig Multiboot2 header (future)

Memory Layout (ARM64 QEMU virt)

0x40080000  _start (Entry Point)
0x40080000  .text
            .rodata
            .data
            .bss
            Stack (16KB)

Future

  • linker-x86_64.ld - x86_64 QEMU q35
  • linker-riscv64.ld - RISC-V QEMU virt
  • EFI stub for real hardware