diff options
author | dzwdz | 2022-08-28 13:33:09 +0200 |
---|---|---|
committer | dzwdz | 2022-08-28 13:33:09 +0200 |
commit | a8e0cd702f97ffc74dd29f4b873e8813b7e9f27c (patch) | |
tree | 197f8a0563f6dc070809073ecfd572cec4a63abb /src/kernel/arch/amd64/driver/util.c | |
parent | f0bda71fe2a4df4201c6195be1fe46cf895c134d (diff) |
kernel/vfs: minor vfs_request / vfs_root_register rework
* changed vfs_root_register's name because the _mount didn't add anything
* removed the old pointless vfs_backend_tryaccept calls from drivers
* because of that, i could remove the vfs_backend globals
* replaced the horrible BACKEND_KERN macro
* all vfs_backends are now stored on the heap
Diffstat (limited to 'src/kernel/arch/amd64/driver/util.c')
-rw-r--r-- | src/kernel/arch/amd64/driver/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/driver/util.c b/src/kernel/arch/amd64/driver/util.c index b03e582..11aecca 100644 --- a/src/kernel/arch/amd64/driver/util.c +++ b/src/kernel/arch/amd64/driver/util.c @@ -2,6 +2,7 @@ #include <kernel/arch/amd64/driver/util.h> #include <kernel/mem/virt.h> #include <kernel/panic.h> +#include <kernel/proc.h> #include <kernel/vfs/request.h> int req_readcopy(struct vfs_request *req, const void *buf, size_t len) { |