saimaa: unbuffered stdout for UART stub
This commit is contained in:
@@ -227,6 +227,8 @@ static void saimaa_machine_init(MachineState *machine)
|
||||
MemoryRegion *sysmem = get_system_memory();
|
||||
int i;
|
||||
|
||||
setvbuf(stdout, NULL, _IONBF, 0); /* UART stub uses putchar; no lost logs */
|
||||
|
||||
/* RAM map */
|
||||
const struct { const char *n; hwaddr b; hwaddr s; } rams[] = {
|
||||
{ "saimaa.uefi", SAIMAA_UEFI_BASE, SAIMAA_UEFI_SIZE },
|
||||
|
||||
Reference in New Issue
Block a user