diff options
author | dzwdz | 2024-07-14 19:19:35 +0200 |
---|---|---|
committer | dzwdz | 2024-07-14 19:19:35 +0200 |
commit | 6fe8073de975ad7722043f9173fec068178e2eac (patch) | |
tree | 9427bb0368e25609eea66fa52567b57522b0e0aa /src/kernel/arch/amd64/driver/util.h | |
parent | b3a86647b644db30f5fd70bd651c44f681962a9b (diff) |
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.
Diffstat (limited to 'src/kernel/arch/amd64/driver/util.h')
-rw-r--r-- | src/kernel/arch/amd64/driver/util.h | 7 |
1 files changed, 0 insertions, 7 deletions
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); |