RustForge

foundry

Foundry OS: the operating system built on the Rustbelt kernel

authorTyler Fowler <tyler@localhost>2026-10-30 04:30:07 -0700
commit692032b71003255489565505a1c124761ac3bc7a
parent8c422d39686a0f48deba0d6826fb21819f5d3110
treebrowse files at this commit
Stage 13: virtual drivers (0.13.0)

virtio-rng (getrandom syscall 318, /dev/random, seeds smoltcp and ports),
virtio-console (hvc0, kernel log mirror, getty), virtio-gpu 2D with a
1024x768 framebuffer console (Spleen 8x16 font, VGA text fallback) and
/dev/fb0 (ioctl + write blitting). New user programs: random, getty, tile.
New tests/virtio.rs (9 tests), gpu-check.sh screendump pixel check,
README chapter on virtio, framebuffers and the road to 3D.
Mscripts/selftest.sh+10 -0

1 file changed, 10 insertions, 0 deletions

@@ -79,6 +79,16 @@ wget -o D:/seq.txt http://10.0.2.100/big cat D:/seq.txt | wc -l host example.com httpd -n 1 -t 20+# Stage 13: virtual drivers. The devices in /dev; random bytes from+# virtio-rng; a shell on the second console (getty -1 runs the commands+# QEMU feeds into hvc0 from a file; its output goes to another file that+# run-headless.sh checks); the tiling demo on the virtio-gpu framebuffer.+ls -l /dev+random -n 8+random -d 6 5+getty -1 /dev/hvc0+tile+tile -r nosuchprogram cd Q: cd A:/tmp