Qemu serial stdout
This commit is contained in:
parent
968ea605d8
commit
e1230ce493
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -13,11 +13,11 @@ kernel-i386.elf: kernel.o start32.o vga.o
|
||||||
tcc -m32 -nostdlib -Wl,-Ttext,0x100000 start32.o kernel.o vga.o -o kernel-i386.elf
|
tcc -m32 -nostdlib -Wl,-Ttext,0x100000 start32.o kernel.o vga.o -o kernel-i386.elf
|
||||||
|
|
||||||
qemu-multiboot: kernel-i386.elf
|
qemu-multiboot: kernel-i386.elf
|
||||||
qemu-system-i386 -kernel kernel-i386.elf -serial file:CON
|
qemu-system-i386 -kernel kernel-i386.elf -serial stdio
|
||||||
qemu-image: kernel-i386.elf mount
|
qemu-image: kernel-i386.elf mount
|
||||||
cp kernel-i386.elf mnt/
|
cp kernel-i386.elf mnt/
|
||||||
sync
|
sync
|
||||||
qemu-system-i386 koalemos.img
|
qemu-system-i386 koalemos.img -serial stdio
|
||||||
|
|
||||||
mount: koalemos.img mnt/
|
mount: koalemos.img mnt/
|
||||||
@if ! mountpoint -q "mnt/"; then \
|
@if ! mountpoint -q "mnt/"; then \
|
||||||
|
|
Loading…
Reference in a new issue