ptos: bootvid: Add boot console to bootvid

Signed-off-by: Chloe M. <chloe@yiffware.org>
This commit is contained in:
2026-07-10 10:14:58 +00:00
parent 85e8f11a89
commit 2594613412
4 changed files with 127 additions and 0 deletions
+4
View File
@@ -7,9 +7,13 @@
*/
#include <hal/serial.h>
#include <drivers/bootvid/fbio.h>
void
_putchar(char c)
{
HalSerialWrite(&c, 1);
if (BootVidConsEn()) {
BootVidConsWrite(&c, 1);
}
}