[SeaBIOS] [PATCH 4/8] seabios: pciinit: make pci bar assigner preferchable memory aware.

Kevin O'Connor kevin at koconnor.net
Tue Jun 22 04:20:14 CEST 2010


On Thu, Jun 17, 2010 at 08:03:12PM +0900, Isaku Yamahata wrote:
> Make pci bar assigner preferchable memory aware.
> This is needed for PCI bridge support because memory space and
> prefetchable memory space is filtered independently based on
> memory base/limit and prefetchable memory base/limit of pci bridge.
> On bus 0, such a distinction isn't necessary so keep existing behavior
> by checking bus=0.
[...]
>      pci_bios_io_addr = 0xc000;
>      pci_bios_mem_addr = BUILD_PCIMEM_START;
>  
> +    /* pci_bios_mem_addr + <some value> */
> +    pci_bios_prefmem_addr = pci_bios_mem_addr + 0x08000000;

How can we be sure that the "mem" space doesn't overlap with the
"prefmem" space?

-Kevin



More information about the SeaBIOS mailing list