summaryrefslogtreecommitdiff
path: root/Userland/modload.cpp
AgeCommit message (Collapse)Author
2020-08-06Userland: Use Core::ArgsParser for 'modload'Linus Groh
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-11-29modload: Take the module-to-load as a command-line argumentAndreas Kling
Instead of hard-coding /mod/TestModule.o :^)
2019-11-28Kernel: Implement basic module unloading :^)Andreas Kling
Kernel modules can now be unloaded via a syscall. They get a chance to run some code of course. Before deallocating them, we call their "module_fini" symbol.
2019-11-28Kernel: Implement very simple kernel module loadingAndreas Kling
It's now possible to load a .o file into the kernel via a syscall. The kernel will perform all the necessary ELF relocations, and then call the "module_init" symbol in the loaded module.