Compare commits

..
3 changed files with 4 additions and 3 deletions

View file

@ -54,6 +54,7 @@ struct tty *fbcon_init(void)
struct tty *fbtty = tty_create("tty1", NULL); struct tty *fbtty = tty_create("tty1", NULL);
fbtty->serial_ops = fbcon_serial_ops; fbtty->serial_ops = fbcon_serial_ops;
tty_printf = fbtty;
kinfo("fbcon: framebuffer console initialized (%lux%lu)\n", fb->width, fb->height); kinfo("fbcon: framebuffer console initialized (%lux%lu)\n", fb->width, fb->height);

View file

@ -52,7 +52,7 @@ int block_check_partitions(struct block_device *bdev)
blkdev->part_of = bdev; blkdev->part_of = bdev;
blkdev->size = descs[i].lba_end - descs[i].lba_start; blkdev->size = descs[i].lba_end - descs[i].lba_start;
krdy("registered block device /dev/%s\n", blkdev->name); kprintf("registered blocked device /dev/%s\n", blkdev->name);
} }
if (n_partitions) if (n_partitions)

View file

@ -47,7 +47,7 @@ run: edk2-ovmf $(INITRAMFS) $(IMG)
-accel kvm \ -accel kvm \
-hda $(IMG) \ -hda $(IMG) \
-hdb test_drive.hdd \ -hdb test_drive.hdd \
-serial mon:stdio \ -serial stdio \
$(QEMUFLAGS) $(QEMUFLAGS)
.PHONY += debug .PHONY += debug
@ -58,7 +58,7 @@ debug: edk2-ovmf $(IMG)
-drive if=pflash,unit=0,format=raw,file=edk2-ovmf/ovmf-code-$(ARCH).fd,readonly=on \ -drive if=pflash,unit=0,format=raw,file=edk2-ovmf/ovmf-code-$(ARCH).fd,readonly=on \
-hda $(IMG) \ -hda $(IMG) \
-hdb test_drive.hdd \ -hdb test_drive.hdd \
-serial mon:stdio \ -serial stdio \
$(QEMUFLAGS) $(QEMUFLAGS)
edk2-ovmf: edk2-ovmf: