mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Kernel+Userland: Remove loadable kernel moduless
These interfaces are broken for about 9 months, maybe longer than that. At this point, this is just a dead code nobody tests or tries to use, so let's remove it instead of keeping a stale code just for the sake of keeping it and hoping someone will fix it. To better justify this, I read that OpenBSD removed loadable kernel modules in 5.7 release (2014), mainly for the same reason we do - nobody used it so they had no good reason to maintain it. Still, OpenBSD had LKMs being effectively working, which is not the current state in our project for a long time. An arguably better approach to minimize the Kernel image size is to allow dropping drivers and features while compiling a new image.
This commit is contained in:
parent
b92871f7ef
commit
04ba31b8c5
19 changed files with 0 additions and 530 deletions
|
@ -393,8 +393,6 @@ public:
|
|||
KResultOr<FlatPtr> sys$getrandom(Userspace<void*>, size_t, unsigned int);
|
||||
KResultOr<FlatPtr> sys$getkeymap(Userspace<const Syscall::SC_getkeymap_params*>);
|
||||
KResultOr<FlatPtr> sys$setkeymap(Userspace<const Syscall::SC_setkeymap_params*>);
|
||||
KResultOr<FlatPtr> sys$module_load(Userspace<const char*> path, size_t path_length);
|
||||
KResultOr<FlatPtr> sys$module_unload(Userspace<const char*> name, size_t name_length);
|
||||
KResultOr<FlatPtr> sys$profiling_enable(pid_t, u64);
|
||||
KResultOr<FlatPtr> sys$profiling_disable(pid_t);
|
||||
KResultOr<FlatPtr> sys$profiling_free_buffer(pid_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue