bcm: flush out early boot messages on uart and screen initialization
make early boot messages available by writing out kmesg.buf after uart and screen initialization.
This commit is contained in:
parent
a70b93a356
commit
aca0293f0b
2 changed files with 3 additions and 1 deletions
|
@ -197,8 +197,9 @@ uartconsinit(void)
|
|||
uartctl(uart, "l8 pn s1");
|
||||
if(*cmd != '\0')
|
||||
uartctl(uart, cmd);
|
||||
consuart = uart;
|
||||
uart->console = 1;
|
||||
consuart = uart;
|
||||
uartputs(kmesg.buf, kmesg.n);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -162,6 +162,7 @@ screeninit(void)
|
|||
memimageinit();
|
||||
memdefont = getmemdefont();
|
||||
screenwin();
|
||||
myscreenputs(kmesg.buf, kmesg.n);
|
||||
screenputs = myscreenputs;
|
||||
swcursorinit();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue