From 6fe8073de975ad7722043f9173fec068178e2eac Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 14 Jul 2024 19:19:35 +0200 Subject: kernel: rework postqueue Keeping its old name for now to make things easier for myself. This might just be replaced by sys/queue.h soon. --- src/kernel/arch/amd64/driver/util.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/kernel/arch/amd64/driver/util.h') diff --git a/src/kernel/arch/amd64/driver/util.h b/src/kernel/arch/amd64/driver/util.h index 6fae977..898875a 100644 --- a/src/kernel/arch/amd64/driver/util.h +++ b/src/kernel/arch/amd64/driver/util.h @@ -15,11 +15,4 @@ int req_readcopy(VfsReq *req, const void *buf, size_t len); req->input.len == plen && \ memcmp(req->input.buf_kern, path, plen) == 0) -void postqueue_join(VfsReq **queue, VfsReq *req); -bool postqueue_pop(VfsReq **queue, void (*accept)(VfsReq *)); - -/** If there are any pending read requests, and the ring buffer isn't empty, fulfill them - * all with a single read. */ -void postqueue_ringreadall(VfsReq **queue, ring_t *r); - size_t ring_to_virt(ring_t *r, Proc *proc, void __user *ubuf, size_t max); -- cgit v1.2.3