physics-mv
FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.
Brought by drakestapleton
physics-mv / physics.memory-map
| 1 | # NORMATIVE PHYSICAL MEMORY MAP (PHYSICS_BOOT) |
| 2 | ## Sovereign Machine Milestone 2 Authority Layout |
| 3 | |
| 4 | ### Physical Address Partition Diagram |
| 5 | ```text |
| 6 | 0x4000_0000 ┌──────────────────────────────────────────┐ <── DRAM Base (Atlas Staging / DTB) |
| 7 | │ Unused / Staging / Atlas Scratchpad │ |
| 8 | 0x401F_E000 ├──────────────────────────────────────────┤ <── Machine Boot Descriptor (Atlas Ingress) |
| 9 | │ Boot Descriptor (64 bytes) │ [0x401FE000, 0x401FE040) |
| 10 | 0x4020_0000 ├──────────────────────────────────────────┤ <── PHYSICS_IMAGE_BASE |
| 11 | │ PHYSICS_IMAGE (.text, .rodata, pad) │ [4 KiB] [0x40200000, 0x40201000) |
| 12 | 0x4020_1000 ├──────────────────────────────────────────┤ <── PHYSICS_VECTOR_TABLE (2 KiB aligned) |
| 13 | │ VBAR Table (16 x 128B slots) │ [2 KiB] [0x40201000, 0x40201800) |
| 14 | 0x4020_1800 ├──────────────────────────────────────────┤ <── PHYSICS_KERNEL_STACK (grows downward) |
| 15 | │ Dedicated Kernel Stack │ [16 KiB][0x40201800, 0x40205800) |
| 16 | │ Initial SP = 0x40205800 │ |
| 17 | 0x4020_5800 ├──────────────────────────────────────────┤ <── PHYSICS_BOOT_STATE |
| 18 | │ Copied Ingress Descriptor & Trap Record │ [2 KiB] [0x40205800, 0x40206000) |
| 19 | 0x4020_6000 ├──────────────────────────────────────────┤ <── PHYSICS_CAPABILITY_TABLE |
| 20 | │ CAP_ROOT & Authority Table │ [4 KiB] [0x40206000, 0x40207000) |
| 21 | 0x4020_7000 ├──────────────────────────────────────────┤ <── PHYSICS_STATIC_DATA |
| 22 | │ Static Tables & Frame Bitmaps │ [4 KiB] [0x40207000, 0x40208000) |
| 23 | 0x4020_8000 ├──────────────────────────────────────────┤ <── FREE_FRAME_BASE = ALIGN_UP(RESERVED_END, 4096) |
| 24 | │ Bounded Free DRAM Frames (Frame Auth) │ [~125.9 MiB] |
| 25 | 0x4800_0000 └──────────────────────────────────────────┘ <── DRAM_END |
| 26 | ``` |
| 27 | |
| 28 | ### Pairwise Disjoint Partition Table |
| 29 | | Region Name | Base Address | End Address | Size | Alignment | Purpose / Authority | |
| 30 | | :--- | :--- | :--- | :--- | :--- | :--- | |
| 31 | | **PHYSICS_IMAGE** | `0x40200000` | `0x40201000` | 4,096 B (4 KiB) | 4,096 B | Executable machine nucleus (`.text`, `.rodata`) | |
| 32 | | **PHYSICS_VECTOR_TABLE** | `0x40201000` | `0x40201800` | 2,048 B (2 KiB) | 2,048 B | 16-entry AArch64 exception vector table | |
| 33 | | **PHYSICS_KERNEL_STACK** | `0x40201800` | `0x40205800` | 16,384 B (16 KiB) | 16 B | Dedicated downward-growing execution stack | |
| 34 | | **PHYSICS_BOOT_STATE** | `0x40205800` | `0x40206000` | 2,048 B (2 KiB) | 64 B | Ingress descriptor copy & raw exception trap record | |
| 35 | | **PHYSICS_CAPABILITY_TABLE**| `0x40206000` | `0x40207000` | 4,096 B (4 KiB) | 64 B | `CAP_ROOT` and capability derivation table | |
| 36 | | **PHYSICS_STATIC_DATA** | `0x40207000` | `0x40208000` | 4,096 B (4 KiB) | 4,096 B | Physical frame allocator allocation bitmask | |
| 37 | | **FREE_FRAME_REGION** | `0x40208000` | `0x48000000` | 132,087,808 B (125.9 MiB) | 4,096 B | Managed physical 4 KiB frame authority pool | |
| 38 | |
| 39 | ### Formal Mathematical Disjointness Proof |
| 40 | For every distinct pair of regions $\mathcal{R}_i, \mathcal{R}_j$: |
| 41 | $$\mathcal{R}_i = [\text{start}_i, \text{end}_i), \quad \mathcal{R}_j = [\text{start}_j, \text{end}_j)$$ |
| 42 | $$\text{end}_i \le \text{start}_j \implies \mathcal{R}_i \cap \mathcal{R}_j = \emptyset$$ |
| 43 | Every boundary is strictly non-overlapping, and reserved memory $[0x40200000, 0x40208000)$ is permanently excluded from frame allocation. |