summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/mount.c
AgeCommit message (Collapse)Author
2023-09-09kernel: build /kdev/ on the flydzwdz
2023-01-25kernel: move /mem/alloc to /malloc and linker.ld to arch/amd64/dzwdz
2023-01-25style: typedef structs, shorter namespacesdzwdz
I've wanted to do this for a while, and since I've just had a relatively large refactor commit (pcpy), this is as good of a time as any. Typedefing structs was mostly inspired by Plan 9's coding style. It makes some lines of code much shorter at basically no expense. Everything related to userland kept old-style struct definitions, so as not to force that style onto other people. I also considered changing SCREAMING_ENUM_FIELDS to NicerLookingCamelcase, but I didn't, just in case that'd be confusing.
2023-01-11kernel: return EPIPE when fs_waiting on a dead filesystemdzwdz
2022-08-28kernel/vfs: minor vfs_request / vfs_root_register reworkdzwdz
* 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
2022-08-04do some simple TODOs, organize the rest; general code maintainancedzwdz
2022-05-05kernel: each driver registers its own mountsdzwdz
2022-05-05kernel: move the COM1 driver to a separate handlerdzwdz
2022-05-05kernel: ps2 driver is now a separate backenddzwdz
2022-05-05kernel/vfs: refactor vfs_backend to allow multiple kernel backendsdzwdz
2022-05-04kernel: refcount vfs_backenddzwdz
what a mess
2022-05-03kernel: reference count mount objects, free them on process killsdzwdz
2022-04-15kernel/vfs: don't hang on orphaned vfs callsdzwdz
2021-11-14shared: use a single implementation of mem* functions everywheredzwdz
2021-09-08style: simplify the `kmalloc(sizeof(...` callsdzwdz
2021-09-05move most of the memory stuff to kernel/mem/dzwdz
2021-09-04new vfs impl pt. 1: implement open()dzwdz
2021-09-04nuke the old handle codedzwdz
2021-09-04rename file descriptors to handlesdzwdz
2021-08-27make vfs_mount_resolve pass all the testsdzwdz
2021-08-26separate mount resolving into vfs_mount_resolvedzwdz
2021-08-25implement vfs_mount_seed, which creates the vfs passed to initdzwdz