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 / m3 / machine_contract.json
| 1 | { |
| 2 | "contract_id": "CONTRACT-QEMU-VIRT-AARCH64-M3", |
| 3 | "version": "3.0.0", |
| 4 | "target_platform": "qemu-virt-aarch64", |
| 5 | "milestone": "PHYSICS_EFFECTS", |
| 6 | "architecture": { |
| 7 | "arch": "aarch64", |
| 8 | "endianness": "little", |
| 9 | "expected_entry_exception_level": "EL1", |
| 10 | "expected_entry_el_value": "0x04", |
| 11 | "physics_target_exception_level": "EL1" |
| 12 | }, |
| 13 | "memory_map": { |
| 14 | "dram_base": "0x40000000", |
| 15 | "dram_size_bytes": 134217728, |
| 16 | "dram_end": "0x48000000", |
| 17 | "atlas_entry_base": "0x00000000", |
| 18 | "boot_descriptor_address": "0x401FE000", |
| 19 | "boot_descriptor_size_bytes": 64, |
| 20 | "physics_payload_base": "0x40200000", |
| 21 | "physics_image_base": "0x40200000", |
| 22 | "physics_image_size_bytes": 16384, |
| 23 | "physics_vector_table_base": "0x40204000", |
| 24 | "physics_vector_table_size_bytes": 2048, |
| 25 | "kernel_stack_base": "0x40204800", |
| 26 | "kernel_stack_top": "0x40208800", |
| 27 | "kernel_stack_size_bytes": 16384, |
| 28 | "boot_state_base": "0x40208800", |
| 29 | "boot_state_size_bytes": 2048, |
| 30 | "capability_table_base": "0x40209000", |
| 31 | "capability_table_size_bytes": 4096, |
| 32 | "capability_capacity": 32, |
| 33 | "capability_record_size_bytes": 128, |
| 34 | "receipt_ledger_base": "0x4020A000", |
| 35 | "receipt_ledger_size_bytes": 8192, |
| 36 | "receipt_capacity": 32, |
| 37 | "receipt_record_size_bytes": 192, |
| 38 | "replay_cache_base": "0x4020C000", |
| 39 | "replay_cache_size_bytes": 4096, |
| 40 | "replay_capacity": 32, |
| 41 | "replay_record_size_bytes": 64, |
| 42 | "static_data_base": "0x4020D000", |
| 43 | "static_data_size_bytes": 12288, |
| 44 | "free_frame_base": "0x40210000", |
| 45 | "total_free_frames": 32240, |
| 46 | "uart_mmio_base": "0x09000000", |
| 47 | "uart_flags_offset": 24, |
| 48 | "uart_txff_mask": 32 |
| 49 | }, |
| 50 | "anti_bloat_bounds": { |
| 51 | "max_text_bytes": 32768, |
| 52 | "max_total_image_bytes": 65536 |
| 53 | }, |
| 54 | "disjoint_regions": [ |
| 55 | { |
| 56 | "name": "PHYSICS_IMAGE", |
| 57 | "start": "0x40200000", |
| 58 | "end": "0x40204000", |
| 59 | "size_bytes": 16384 |
| 60 | }, |
| 61 | { |
| 62 | "name": "PHYSICS_VECTOR_TABLE", |
| 63 | "start": "0x40204000", |
| 64 | "end": "0x40204800", |
| 65 | "size_bytes": 2048 |
| 66 | }, |
| 67 | { |
| 68 | "name": "PHYSICS_KERNEL_STACK", |
| 69 | "start": "0x40204800", |
| 70 | "end": "0x40208800", |
| 71 | "size_bytes": 16384 |
| 72 | }, |
| 73 | { |
| 74 | "name": "PHYSICS_BOOT_STATE", |
| 75 | "start": "0x40208800", |
| 76 | "end": "0x40209000", |
| 77 | "size_bytes": 2048 |
| 78 | }, |
| 79 | { |
| 80 | "name": "PHYSICS_CAPABILITY_TABLE", |
| 81 | "start": "0x40209000", |
| 82 | "end": "0x4020A000", |
| 83 | "size_bytes": 4096 |
| 84 | }, |
| 85 | { |
| 86 | "name": "PHYSICS_RECEIPT_LEDGER", |
| 87 | "start": "0x4020A000", |
| 88 | "end": "0x4020C000", |
| 89 | "size_bytes": 8192 |
| 90 | }, |
| 91 | { |
| 92 | "name": "PHYSICS_REPLAY_CACHE", |
| 93 | "start": "0x4020C000", |
| 94 | "end": "0x4020D000", |
| 95 | "size_bytes": 4096 |
| 96 | }, |
| 97 | { |
| 98 | "name": "PHYSICS_STATIC_DATA", |
| 99 | "start": "0x4020D000", |
| 100 | "end": "0x40210000", |
| 101 | "size_bytes": 12288 |
| 102 | }, |
| 103 | { |
| 104 | "name": "FREE_FRAME_REGION", |
| 105 | "start": "0x40210000", |
| 106 | "end": "0x48000000", |
| 107 | "size_bytes": 132055040 |
| 108 | } |
| 109 | ], |
| 110 | "physics_entry_abi": { |
| 111 | "x0": "0x401FE000", |
| 112 | "x1_payload_size": 18432, |
| 113 | "x2_cookie": "0x5048595349435330", |
| 114 | "entry_point": "0x40200000", |
| 115 | "x1_payload_size_enforced": true |
| 116 | }, |
| 117 | "boot_descriptor_contract": { |
| 118 | "expected_address": "0x401FE000", |
| 119 | "size_bytes": 64, |
| 120 | "magic": "0x4D424453435F3031", |
| 121 | "version": 1, |
| 122 | "length": 64, |
| 123 | "flags_reserved": 0, |
| 124 | "ram_base": "0x40000000", |
| 125 | "ram_size": "0x08000000", |
| 126 | "dram_end": "0x48000000", |
| 127 | "uart_base": "0x09000000", |
| 128 | "physics_base": "0x40200000", |
| 129 | "physics_size": 18432 |
| 130 | }, |
| 131 | "vector_table_spec": { |
| 132 | "base_address": "0x40204000", |
| 133 | "alignment_bytes": 2048, |
| 134 | "table_span_bytes": 2048, |
| 135 | "num_slots": 16, |
| 136 | "slot_stride_bytes": 128 |
| 137 | }, |
| 138 | "root_capability_spec": { |
| 139 | "anchor_address": "0x40209000", |
| 140 | "generation": 1, |
| 141 | "slot": 0, |
| 142 | "principal_id": "0x0000000000000001", |
| 143 | "resource_type": "0x00000001", |
| 144 | "allowed_ops": "0xFFFFFFFF", |
| 145 | "bound_base": "0x40210000", |
| 146 | "bound_size": "0x07DF0000", |
| 147 | "revocation_state": 1, |
| 148 | "attenuation_depth": 0, |
| 149 | "atlas_provenance_digest": "f7802501b410a0c19eff7b8fca8865c9ba9c96bfa4f8065ca8f508b67748b9a5" |
| 150 | } |
| 151 | } |