Re: [SeaBIOS] [PATCH 1/4] pci: add two-pass pci initialization code

2011-07-04 Thread Gerd Hoffmann
Hi, +static struct pci_bus { +/* pci region stats */ +u32 io_count[16 - PCI_IO_INDEX_SHIFT]; +u32 mem_count[32 - PCI_MEM_INDEX_SHIFT]; +u32 prefmem_count[32 - PCI_MEM_INDEX_SHIFT]; +u32 io_sum, io_max; +u32 mem_sum, mem_max; +u32 prefmem_sum, prefmem_max; +/* se

Re: [SeaBIOS] [PATCH 1/4] pci: add two-pass pci initialization code

2011-07-02 Thread Kevin O'Connor
On Fri, Jun 24, 2011 at 05:24:35PM +0200, Gerd Hoffmann wrote: > This patch adds a second device scan to the pci initialization, which > counts the memory bars of the various sizes and types. Then it > calculates the sizes and the packing of the prefetchable and > non-prefetchable pci memory windo

[SeaBIOS] [PATCH 1/4] pci: add two-pass pci initialization code

2011-06-24 Thread Gerd Hoffmann
This patch adds a second device scan to the pci initialization, which counts the memory bars of the various sizes and types. Then it calculates the sizes and the packing of the prefetchable and non-prefetchable pci memory windows and prints the results. The patch doesn't actually map the devices