-
Notifications
You must be signed in to change notification settings - Fork 11
JDY2024 edited this page May 10, 2026
·
3 revisions
clang -target x86_64-pc-win32-coff -mno-red-zone -fno-stack-protector -fshort-wchar -Wall -c hello.c
cd $HOME/workspace/mikanos git checkout osbook_day02a cd $HOME/edk2 ln -s $HOME/workspace/mikanos/MikanLoaderPkg ./ source edksetup.sh build $HOME/osbook/devenv/run_qemu.sh $HOME/edk2/Build/MikanLoaderX64/DEBUG_CLANG38/X64/Loader.efi
cd $HOME/workspace/mikanos git checkout osbook_day02b cd $HOME/edk2 source edksetup.sh build $HOME/osbook/devenv/run_qemu.sh $HOME/edk2/Build/MikanLoaderX64/DEBUG_CLANG38/X64/Loader.efi mkdir -p mnt sudo mount -o loop disk.img mnt ls mnt cat mnt/memmap