refactor: migrate server-framework to depend on libkos

This commit is contained in:
2026-10-19 00:55:54 +02:00
parent edc55d6f2e
commit a4315d7665
5 changed files with 8 additions and 8 deletions

View File

@@ -1,15 +1,15 @@
use types::bounded::CapSlot;
pub async fn send(endpoint: CapSlot, w0: usize, w1: usize, w2: usize, w3: usize) -> usize {
userspace::syscall::send(endpoint, w0, w1, w2, w3)
libkos::syscall::send(endpoint, w0, w1, w2, w3)
}
pub async fn receive(endpoint: CapSlot) -> (usize, usize, usize, usize) {
userspace::syscall::receive(endpoint)
libkos::syscall::receive(endpoint)
}
pub async fn wait_for_interrupt(_irq: CapSlot) {
userspace::syscall::yield_now();
libkos::syscall::yield_now();
}
pub async fn acknowledge_interrupt(_irq: CapSlot) {