1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00

Kernel: Implement very simple kernel module loading

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.
This commit is contained in:
Andreas Kling 2019-11-28 20:59:11 +01:00
parent c10a5ac4ad
commit 6b150c794a
11 changed files with 198 additions and 3 deletions

View file

@ -134,11 +134,14 @@ ln -s SoundPlayer mnt/bin/sp
ln -s Help mnt/bin/help
ln -s Browser mnt/bin/br
ln -s HackStudio mnt/bin/hs
ln -s modload mnt/bin/m
echo "done"
mkdir -p mnt/boot/
cp kernel mnt/boot/
cp TestModule.o mnt/
# Run local sync script, if it exists
if [ -f sync-local.sh ]; then
sh sync-local.sh