refactor: ByteOffset newtype for window/register/ring offsets; named virtio-gpu cmd fields

This commit is contained in:
2026-10-27 21:52:33 +01:00
parent 842d14987c
commit 7b8258b231
13 changed files with 145 additions and 93 deletions

View File

@@ -23,7 +23,7 @@ fn main() {
libkos::println!("smptest: cannot map the counter page");
syscall::exit();
};
let words = window.atomics(0, 1 + THREADS);
let words = window.atomics(types::address::ByteOffset::ZERO, 1 + THREADS);
for _ in 1..THREADS {
if !libkos::thread::spawn(words, spin) {
break;