-
Notifications
You must be signed in to change notification settings - Fork 0
encounter/osdev
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Debug .. cd .. make -C build # directly qemu-system-i386 -kernel kernel.bin # via Grub: # https://wiki.osdev.org/GRUB_2#Installing_GRUB_2_on_OS_X # brew install xorriso ./mkiso.sh kernel.bin qemu-system-i386 -cdrom os.iso # support exit -device isa-debug-exit,iobase=0xf4,iosize=0x04 # remote gdb (port 1234): -s # stdio serial: -serial stdio # IDE drive: -drive file=hd.img,if=ide,format=raw # HAXM (macOS) -enable-hax # KVM (Linux) -enable-kvm # ----------------- # Full example: make -C build && ./mkiso.sh build/kernel.bin && ./mkhd.sh build && \ qemu-system-i386 -cdrom os.iso -serial stdio \ -device isa-debug-exit,iobase=0xf4,iosize=0x04 \ -drive file=hd.img,if=ide,format=raw -boot d
About
Hobby x86 kernel
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published