<div dir="ltr"><div><div><div><div><div>Hi SeaBios!!<br></div><br></div>I'm qemu user and i want to modify qemu vga device to start BAR Address from 0xE0000000<br><br></div><div>As you know, Qemu uses SEABIOS as system bios<br></div><div><br></div>but when i look into Qemu Debug console, right  using command "info pci"<br><br></div>then it just shows value for PCI BAR address : 0xf0000000<br><br></div><div>and it seems that VGA PCI BAR address change by the size of VGA RAM(VRAM) size<br></div><div>(if VRAM is 128MB, BAR address = 0xf0000000, if it is 256MB, BAR address = 0xe0000000)<br></div><div><br><br></div><div>It seems during booting time seabios calculate VGA PCI BAR address as 0xf000000 when its VRAM size is 128MB.<br><br></div><div>so i wonder where in source code of seabios calculate PCI BAR address?<br></div><div><br>and also, i wonder why qemu's vga pci bar address is different from virtualbox's vga pci bar address though<br>both of devices are classified as same 'vga' device(class id number : 0x30)<br>(in Virtualbox, VGA PIC BAR ADDRESS always starts from e0000000 and it is VBE standard)<br><br><br></div><div><div><div><br><br></div></div></div></div>