diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-28 21:07:22 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-28 21:07:22 +0100 |
commit | a43b115a6c99881c964daa5012cd076e82a7d72f (patch) | |
tree | dbc28d95f716271b3790832f74cd8b6794b85af6 /Kernel/build-root-filesystem.sh | |
parent | 6b150c794a4c71e36bd1e5e545be171d0e3b45d0 (diff) | |
download | serenity-a43b115a6c99881c964daa5012cd076e82a7d72f.zip |
Kernel: Implement basic module unloading :^)
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.
Diffstat (limited to 'Kernel/build-root-filesystem.sh')
-rwxr-xr-x | Kernel/build-root-filesystem.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/build-root-filesystem.sh b/Kernel/build-root-filesystem.sh index de79043b05..68e893bae6 100755 --- a/Kernel/build-root-filesystem.sh +++ b/Kernel/build-root-filesystem.sh @@ -134,13 +134,13 @@ 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/ +mkdir -p mnt/mod/ +cp TestModule.o mnt/mod # Run local sync script, if it exists if [ -f sync-local.sh ]; then |