omega-mcp
aien-dev/omega-mcp
Brought by drakestapleton
omega-mcp / data / examples / vfioirq_trap.om
| 1 | note vfioirq admits only a device fd acquired by vfioctl GROUP_GET_DEVICE_FD; any other fd traps 3 before the ioctl |
| 2 | global buf uchar 16 |
| 3 | fn main to int |
| 4 | r = vfioirq neg int 1 uint 15213 buf 0 16 |
| 5 | ret 0 |
| 6 | end |