compiler/
kernel/
lib/
scripts/
seed/
sublime/
test/
acceptance/
boot/
bootstrap/
cycles/
dispatch/
loader/
mmio/
modules/
native/
packages/
pages/
machine.ras
698 B
run
463 B
runtime/
scheduling/
shared/
slots/
smp/
sync/
termination/
tests/
trap/
run
2.7 KiB
runner.rad
10.3 KiB
vim/
.gitignore
336 B
.gitsigners
112 B
CONTRIBUTING
2.1 KiB
LICENSE
1.1 KiB
Makefile
10.2 KiB
README
2.5 KiB
STYLE
2.5 KiB
std.lib
1.5 KiB
std.lib.test
551 B
test/pages/run
raw
| 1 | #!/bin/sh |
| 2 | # Check complete physical-page zeroing and both adjacent canaries. |
| 3 | set -eu |
| 4 | emulator=${RAD_EMULATOR:-emulator} |
| 5 | work=$(mktemp -d) |
| 6 | trap 'rm -rf "$work"' EXIT HUP INT TERM |
| 7 | cat test/pages/machine.ras kernel/kernel/pages.ras > "$work/pages.ras" |
| 8 | "$emulator" -run bin/sync.build.rv64 -- "$work/pages.ras" "$work/pages.rv64" |
| 9 | "$emulator" -machine -max-steps=1000000 -run "$work/pages.rv64" |
| 10 | printf 'physical pages: complete zeroing and adjacent canaries passed\n' |