提交 9f5d9c19 编写于 作者: G Gerd Hoffmann

ramfb: enable vgabios

Add vgabios binary to fw_cfg vgaroms.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 7c538789
...@@ -88,6 +88,7 @@ RAMFBState *ramfb_setup(Error **errp) ...@@ -88,6 +88,7 @@ RAMFBState *ramfb_setup(Error **errp)
s = g_new0(RAMFBState, 1); s = g_new0(RAMFBState, 1);
rom_add_vga("vgabios-ramfb.bin");
fw_cfg_add_file_callback(fw_cfg, "etc/ramfb", fw_cfg_add_file_callback(fw_cfg, "etc/ramfb",
NULL, ramfb_fw_cfg_write, s, NULL, ramfb_fw_cfg_write, s,
&s->cfg, sizeof(s->cfg), false); &s->cfg, sizeof(s->cfg), false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册