interplane.Get Omega
Read in your language

atlas

aien-dev/atlas

Brought by drakestapleton

branch master Branches Tags History

atlas / machine_contract.json

63 lines · 2723 bytes Raw Blame History
1{
2 "contract_id": "CONTRACT-QEMU-VIRT-AARCH64-M1",
3 "version": "1.3.0",
4 "target_platform": "qemu-virt-aarch64",
5 "historical_designation": "CONTRACT-QEMU-VIRT-AARCH64-M1 (Alpha)",
6 "architecture": {
7 "arch": "aarch64",
8 "endianness": "little",
9 "entry_exception_level": "contract-defined (EL1 or EL2)",
10 "physics_target_exception_level": "contract-defined (matches entry EL)"
11 },
12 "memory_map": {
13 "atlas_entry_base": "0x00000000",
14 "atlas_max_size_bytes": 65536,
15 "alpha_entry_base": "0x00000000",
16 "alpha_max_size_bytes": 65536,
17 "scratchpad_stack_base": "0x401F0000",
18 "scratchpad_stack_top": "0x401FC000",
19 "guard_gap_base": "0x401FC000",
20 "guard_gap_size_bytes": 8192,
21 "boot_descriptor_address": "0x401FE000",
22 "boot_descriptor_size_bytes": 64,
23 "digest_scratch_address": "0x401FE080",
24 "sha_padding_scratch_address": "0x401FE100",
25 "physics_payload_base": "0x40200000",
26 "physics_payload_size_bytes": 256,
27 "uart_mmio_base": "0x09000000",
28 "uart_flags_offset": 24,
29 "uart_txff_mask": 32
30 },
31 "disjoint_separation_proof": {
32 "stack_window": "[0x401F0000, 0x401FC000)",
33 "descriptor_window": "[0x401FE000, 0x401FE040)",
34 "separation_gap_bytes": 8192,
35 "growth_direction": "downward (decreasing addresses)",
36 "intersection": "EMPTY_SET"
37 },
38 "physics_entry_abi": {
39 "x0": "pointer to Machine Boot Descriptor at 0x401FE000",
40 "x1": "physics payload size in bytes (0x100 = 256)",
41 "x2": "verification cookie (0x5048595349435330 = ASCII 'PHYSICS0')",
42 "x3_x18": "UNSPECIFIED",
43 "daif": "0x3c0 (all interrupts masked: D=1, A=1, I=1, F=1)",
44 "sp": "0x401FC000 (16-byte aligned, strictly disjoint from 0x401FE000)",
45 "pc": "0x40200000 (physics payload entry point)"
46 },
47 "hardware_boundaries": {
48 "secondary_cores": "ATLAS MUST NOT WAKE SECONDARY CORES. IF A SECONDARY CORE ENTERS ATLAS UNDER THE MACHINE CONTRACT, ATLAS PLACES IT IN A BOUNDED QUIESCENT STATE UNTIL PHYSICS CLAIMS IT.",
49 "mmu_page_tables": "DISABLED OR IDENTITY-MAPPED PER CONTRACT; OWNED BY PHYSICS",
50 "gic_interrupts": "LEFT MASKED; INITIALIZED BY PHYSICS",
51 "smmu": "DO NOT RECONFIGURE; ENTRY STATE IS CONTRACT-DEFINED",
52 "timers": "INTERRUPTS MASKED; OWNED BY PHYSICS",
53 "serial_console": "POLLED MMIO TX ONLY; NO IRQ; OWNED BY PHYSICS",
54 "storage": "NO OWNERSHIP; NO DRIVERS; OWNED BY PHYSICS",
55 "nic": "DO NOT INITIALIZE OR RECONFIGURE",
56 "gpu": "DO NOT INITIALIZE, RESET, POWER-TRANSITION, OR RECONFIGURE"
57 },
58 "physics_verification": {
59 "scheme": "pinned_expected_digest",
60 "digest_algorithm": "sha256",
61 "pinned_digest_hex": "e1d89bb1e0854ebaccd2be5c756c8a2ff8c5ecc8c0f90b4abd461fb7bf98374c"
62 }
63}