aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / native / disk / tests / omega_nvme_adminwrap.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note Verification-only repeated read-only Identify commands force admin CQ/SQ wrap. |
| 3 | fn main to int |
| 4 | getmanifest |
| 5 | r = initialize |
| 6 | if ne r 0 |
| 7 | report r |
| 8 | ret r |
| 9 | end |
| 10 | for i ulong 40 |
| 11 | r = identify 1 0 |
| 12 | if ne r 0 |
| 13 | report r |
| 14 | ret r |
| 15 | end |
| 16 | end |
| 17 | for i ulong 40 |
| 18 | r = readblocks man64 48 man32 56 |
| 19 | if ne r 0 |
| 20 | report r |
| 21 | ret r |
| 22 | end |
| 23 | end |
| 24 | report 0 |
| 25 | ret 0 |
| 26 | end |