interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / si / mcp / data / examples / vfioirq_trap.om

6 lines · 203 bytes Raw Blame History
1note vfioirq admits only a device fd acquired by vfioctl GROUP_GET_DEVICE_FD; any other fd traps 3 before the ioctl
2global buf uchar 16
3fn main to int
4r = vfioirq neg int 1 uint 15213 buf 0 16
5ret 0
6end