PangeaOS
pangeaos-v1.2.3 — coding-ready design baseline
pangeaos@ring0-sasos:~$ _
v1.2.3 Coding-Ready Baseline

PangeaOS —
Ring-0 SASOS with
Fault Containment.

A freestanding Rust Ring-0 Single Address Space OS architecture uniting 1TB per-domain SFI arenas, Profile P-PKU/P-PKS protection keys (K0–K15), and Two-Stack IST pivots to contain localized faults (L0–L3) without full-system halts.

01. Two-Stack IST Pivot
& Fault Containment

Exceptions enter on Supervisor IST stacks (U/S=0), apply bootstrap PKRU, and pivot onto k0_priv_rsp before routing local faults to SchedulerContinuation.

02. 1TB SFI Arenas &
Profile P-PKU / P-PKS

Finalizes the 48-bit VA map ((addr >> 40) == d), U/S=0 code vs. U/S=1, NX=1 data under SMEP=1, and Layer 0–5 26-crate APIs.

PangeaOS v1.2.3 Complete 5-Document Package

Architectural Pillars & Coding-Ready Specifications

[ §2 : FAULT TAXONOMY ]

L0–L3 vs. F1–F3 Fail-Stop

Separates localized request, domain, quota, and subsystem faults (L0–L3) from core TCB integrity loss (F1–F3), eliminating panic-induced DoS vectors.

[ §3 : 48-BIT VA & PROFILE P-PKU ]

1TB Arenas & K0–K15 Keys

Assigns 1TB virtual windows per domain (d << 40), resolves Ring-0 PKRU + SMEP=1 page attributes, and enforces 3-class SFI/CFG decoding.

[ §4 : TWO-STACK IST PIVOT ]

IST 1 → k0_priv_rsp

Enters on Supervisor IST (U/S=0), applies PKRU_KERNEL_DEFAULT, pivots to k0_priv_rsp, and jumps to SchedulerContinuation on domain abort.

[ §5–§6 : DOS & SMP QUARANTINE ]

Preemption & Quotas

Enforces APIC timer CPU budgets (1 ms [T]), NMI lockup recovery, bounded memory/IPC quotas, and cross-core TLB/IOTLB shootdown barriers before frame reuse.

[ §7 : PFN DB & DUAL-CLASS IPC ]

K13 PT Gate & Class S/B IPC

Tracks frame lifecycles in pangea-pfndb, serializes PTE updates through K13, and separates IPC into Class S (brokered copy) and Class B (re-keyed zero-copy).

[ §8–§12 : CODING BLUEPRINT ]

Layer 0–5 APIs & Snippets

Provides complete root configs, linker script, `#![no_std]` assembly/Rust patterns (Snippets), and trade-off analysis (Report).

Index Rerum & Development Log

Chronicles & Technical Index