interplane.Get Omega
Read in your language

atlas

aien-dev/atlas

Brought by drakestapleton

branch master Branches Tags History

atlas / history / alpha / alpha.memory-map

26 lines · 2481 bytes Raw Blame History
1# ALPHA MACHINE MEMORY MAP
2## Target Profile: CONTRACT-QEMU-VIRT-AARCH64-M1 (Disjoint Stack/Descriptor Edition)
3
4| Address Window | Size | Classification | Alignment | Access Rights | Purpose |
5| :--- | :--- | :--- | :--- | :--- | :--- |
6| `0x00000000 - 0x000005C7` | 1480 B | Flash / Code | 64-byte | Read / Execute | `alpha.bin` canonical root executable image |
7| `0x000005C8 - 0x03FFFFFF` | ~64 MiB | Flash / Unused | 4 KiB | Read Only | Reserved Flash address space |
8| `0x09000000 - 0x09000FFF` | 4 KiB | MMIO Peripheral | 4-byte | Read / Write | ARM PrimeCell PL011 UART diagnostic output |
9| `0x40000000 - 0x400FFFFF` | 1 MiB | DRAM Reserved | 64 KiB | Unused by Alpha | QEMU Virt Device Tree Blob (DTB) staging window |
10| `0x40100000 - 0x401EFFFF` | 960 KiB | DRAM Unused | 4 KiB | Unused by Alpha | Free memory reserved for Physics |
11| `0x401F0000 - 0x401FC000` | 48 KiB | DRAM Stack Space | 16-byte | Read / Write | Downward-growing stack window (`SP_EL1` / `SP_EL2`) |
12| `0x401FC000` | Anchor | DRAM Stack Top | 16-byte | Stack Pointer | Initial Stack Pointer (`SP <= 0x401FC000`) |
13| `0x401FC000 - 0x401FDFFF` | 8 KiB | DRAM Guard Gap | 4 KiB | NO ACCESS | Unmapped guard window guaranteeing disjointness |
14| `0x401FE000 - 0x401FE03F` | 64 B | DRAM Descriptor | 64-byte | Read / Write | Machine Boot Descriptor generated by Alpha |
15| `0x401FE080 - 0x401FE09F` | 32 B | DRAM Scratchpad | 32-byte | Read / Write | SHA-256 Digest Output Buffer |
16| `0x401FE100 - 0x401FE17F` | 128 B | DRAM Scratchpad | 64-byte | Read / Write | SHA-256 Padding & Block Scratch Buffer |
17| `0x40200000 - 0x402000FF` | 256 B | DRAM Payload | 64-byte | Read / Execute | `PHYSICS-0` initial machine authority payload image |
18| `0x40200100 - 0x47FFFFFF` | ~126 MiB | DRAM Free | 4 KiB | Unused by Alpha | System RAM available for Physics kernel allocation |
19
20### Formal Disjoint Separation Proof:
21$$\text{Stack Allocation Range} = [0x401F0000, 0x401FC000)$$
22$$\text{Descriptor Allocation Range} = [0x401FE000, 0x401FE040)$$
23$$\text{Gap} = 0x401FE000 - 0x401FC000 = 8,192\text{ bytes (8 KiB positive distance)}$$
24$$\text{Stack Growth Direction} = \text{Strictly Downward (decreasing memory addresses)}$$
25$$\text{Stack Allocation Range} \cap \text{Descriptor Allocation Range} = \emptyset$$
26*Downward stack pushes decrease the stack pointer toward `0x401F0000`, moving strictly away from `0x401FE000`. Overwriting the boot descriptor via stack growth is physically and mathematically impossible.*