seabios: pciinit: make pci bar assigner preferchable memory aware.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 22 Jun 2010 08:57:49 +0000 (17:57 +0900)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 4 Jul 2010 12:52:12 +0000 (08:52 -0400)
commit0a8eada0df7448526af83d3e6df8ed58e72d925d
treeceee0c62c6bab1d161a373eac934edc146560cf3
parentdfd94fafc2a157f4fc64014069e19dc6e6bbac52
seabios: pciinit: make pci bar assigner preferchable memory aware.

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.

With this patch, pci mem assignment area has been decreased.
To make seabios behave as before for compatible reason,
define CONFIG_OLD_PCIMEM_ASSIGNMENT.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
src/config.h
src/pciinit.c