mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:38:13 +00:00
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.
This commit is contained in:
parent
6b150c794a
commit
a43b115a6c
6 changed files with 43 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue