omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / aienux / disk / tests / omega_nvme_probe.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note Verification-only hostile caller; never composed into the read-only entrypoint. |
| 3 | fn main to int |
| 4 | getmanifest |
| 5 | r = initialize |
| 6 | if ne r 0 |
| 7 | report r |
| 8 | ret r |
| 9 | end |
| 10 | clearcmd |
| 11 | put sqe 0 uint man32 68 |
| 12 | put sqe 1 uint get st 4 |
| 13 | cmdptr 6 24576 |
| 14 | r = submit man32 60 |
| 15 | report r |
| 16 | ret r |
| 17 | end |