Run first app from ramdisk!
This commit is contained in:
13
aux/devel.sh
Executable file
13
aux/devel.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -xe
|
||||
|
||||
if [ "$1" = "debug" ]; then
|
||||
make -B all_kernel buildtype=debug
|
||||
else
|
||||
make -B all_kernel
|
||||
fi
|
||||
|
||||
make -B all_apps
|
||||
make -B all_dist
|
||||
./aux/limine_iso_amd64.sh
|
||||
@@ -10,6 +10,8 @@ cp -v boot/limine/limine-bios.sys boot/limine/limine-bios-cd.bin \
|
||||
|
||||
cp -v boot/limine/BOOTX64.EFI boot/limine/BOOTIA32.EFI iso_root/EFI/BOOT
|
||||
|
||||
cp -v mop3dist.tar iso_root/boot
|
||||
|
||||
xorriso -as mkisofs -R -r -J -b boot/limine/limine-bios-cd.bin \
|
||||
-no-emul-boot -boot-load-size 4 -boot-info-table -hfsplus \
|
||||
-apm-block-size 2048 --efi-boot boot/limine/limine-uefi-cd.bin \
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
set -x
|
||||
|
||||
qemu-system-x86_64 -M q35 -m 4G -serial stdio -enable-kvm -cdrom mop3.iso $@
|
||||
qemu-system-x86_64 -M q35 -m 4G -serial stdio -enable-kvm -cdrom mop3.iso -smp 4 $@
|
||||
|
||||
Reference in New Issue
Block a user