diff options
author | Helge Deller <deller@gmx.de> | 2022-01-12 19:39:26 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-02-02 10:20:26 +0100 |
commit | b1d2f51b591c24595c42821bd301dfd56b48df3c (patch) | |
tree | 073b5769d6290c31755fc3f9b4c0c0c72c2164b1 /src/parisc/parisc.c | |
parent | f846f70440746cea3935f3671d5fd4a63de4af6a (diff) | |
download | seabios-hppa-b1d2f51b591c24595c42821bd301dfd56b48df3c.zip seabios-hppa-b1d2f51b591c24595c42821bd301dfd56b48df3c.tar.gz seabios-hppa-b1d2f51b591c24595c42821bd301dfd56b48df3c.tar.bz2 |
parisc: Add Linux TER16x32 font to STI firmware
The new 16x32 font can be selected as default firmware font with
this Qemu option:
-fw_cfg opt/font,string=2
Any other values will choose the current HP 8x16 font.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'src/parisc/parisc.c')
-rw-r--r-- | src/parisc/parisc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c index 4c1baaa..bcfc310 100644 --- a/src/parisc/parisc.c +++ b/src/parisc/parisc.c @@ -117,6 +117,8 @@ int pdc_console; #define CONSOLE_SERIAL 0x0001 #define CONSOLE_GRAPHICS 0x0002 +int sti_font; + unsigned long PORT_QEMU_CFG_CTL; unsigned int tlb_entries = 256; unsigned int btlb_entries = 8; @@ -1950,6 +1952,9 @@ void __VISIBLE start_parisc_firmware(void) pdc_console = CONSOLE_GRAPHICS; } + /* 0,1 = default 8x16 font, 2 = 16x32 font */ + sti_font = romfile_loadstring_to_int("opt/font", 0); + model.sw_id = romfile_loadstring_to_int("opt/hostid", model.sw_id); dprintf(0, "fw_cfg: machine hostid %lu\n", model.sw_id); |