Add a kernel ELF module and load it in a new process.
Don't yet jump to userspace.
This commit is contained in:
parent
f86bbe6ea9
commit
aefb4f082b
22 changed files with 223 additions and 16 deletions
|
|
@ -18,6 +18,7 @@ echo "Loopback device: ${dev}"
|
|||
cleanup() {
|
||||
umount efi
|
||||
rm -rf efi
|
||||
losetup -d $dev
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
|
|
@ -35,5 +36,7 @@ cp /usr/share/limine/BOOTX64.EFI efi/EFI/BOOT
|
|||
cp /usr/share/limine/limine.sys efi/
|
||||
cp ../zion/boot/limine.cfg efi/
|
||||
cp zion/zion efi/
|
||||
mkdir -p efi/sys
|
||||
cp sys/test efi/sys/test
|
||||
|
||||
chown drew:drew $1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue