.githooks/
compiler/
kernel/
lib/
scripts/
seed/
sublime/
test/
boot/
bootstrap/
compiler/
cycles/
dispatch/
format/
host/
integration/
kernel/
loader/
manifests/
mmio/
native/
packages/
runtime/
kernel/
cases.rad
1.1 KiB
machine.ras
1.1 KiB
spin.rad
1.6 KiB
scheduling/
shared/
slots/
smp/
std/
sync/
termination/
tests/
trap/
verify/
Makefile
9.2 KiB
kernel.rad
776 B
runner.rad
11.6 KiB
vim/
.gitignore
333 B
.gitsigners
224 B
AGENTS.md
8.3 KiB
CONTRIBUTING
2.1 KiB
LICENSE
1.1 KiB
Makefile
2.5 KiB
README
3.4 KiB
STYLE
3.2 KiB
std.lib
2.1 KiB
std.lib.test
1.1 KiB
test/runtime/cases.rad
raw
| 1 | //! Actor roles and progress fields shared by runtime loading checks. |
| 2 | |
| 3 | // Roles selected by the parent in the startup page. |
| 4 | /// First compiler call, interrupted and cancelled by the controller. |
| 5 | export constant FIRST_LOADER: u32 = 0; |
| 6 | /// Compiler call that is interrupted, resumed, and then repeated. |
| 7 | export constant RETRY_LOADER: u32 = 1; |
| 8 | /// User context that runs while the retry loader owns compilation. |
| 9 | export constant WITNESS: u32 = 2; |
| 10 | /// Machine context that verifies cancellation and publication. |
| 11 | export constant CONTROLLER: u32 = 3; |
| 12 | |
| 13 | /// Number of user and machine actors in the fixture. |
| 14 | export constant ACTORS: u32 = 4; |
| 15 | /// Progress value written immediately before a compiler call. |
| 16 | export constant STARTED: u64 = 1; |
| 17 | /// Progress value written after both compiler calls complete. |
| 18 | export constant COMPLETE: u64 = 2; |
| 19 | /// Shared progress word that holds the published package identity. |
| 20 | export constant IMAGE_ID: u32 = 3; |
| 21 | |
| 22 | /// Progress prefix for an error from the first image load. |
| 23 | export constant LOAD_ERROR_BASE: u64 = 100; |
| 24 | /// Progress prefix for an error from the repeated image load. |
| 25 | export constant REPEAT_ERROR_BASE: u64 = 200; |