mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
pci: add host memory base to pci_arch_t
- sparc64 has PCI memory space at offset, therefore "ranges" property of host bridge must have different PCI and host memory addresses Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@788 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Blue Swirl
parent
ba0a4c1373
commit
75d49e26b4
@@ -92,7 +92,8 @@ static const pci_arch_t known_arch[] = {
|
||||
.cfg_data = 0x800c0000,
|
||||
.cfg_base = 0x80000000,
|
||||
.cfg_len = 0x00100000,
|
||||
.mem_base = 0xf0000000,
|
||||
.host_mem_base = 0xf0000000,
|
||||
.pci_mem_base = 0xf0000000,
|
||||
.mem_len = 0x10000000,
|
||||
.io_base = 0x80000000,
|
||||
.io_len = 0x00010000,
|
||||
@@ -108,7 +109,8 @@ static const pci_arch_t known_arch[] = {
|
||||
.cfg_data = 0xf2c00000,
|
||||
.cfg_base = 0xf2000000,
|
||||
.cfg_len = 0x02000000,
|
||||
.mem_base = 0x80000000,
|
||||
.host_mem_base = 0x80000000,
|
||||
.pci_mem_base = 0x80000000,
|
||||
.mem_len = 0x10000000,
|
||||
.io_base = 0xf2000000,
|
||||
.io_len = 0x00800000,
|
||||
@@ -124,7 +126,8 @@ static const pci_arch_t known_arch[] = {
|
||||
.cfg_data = 0xf0c00000,
|
||||
.cfg_base = 0xf0000000,
|
||||
.cfg_len = 0x02000000,
|
||||
.mem_base = 0x80000000,
|
||||
.host_mem_base = 0x80000000,
|
||||
.pci_mem_base = 0x80000000,
|
||||
.mem_len = 0x10000000,
|
||||
.io_base = 0xf2000000,
|
||||
.io_len = 0x00800000,
|
||||
@@ -140,7 +143,8 @@ static const pci_arch_t known_arch[] = {
|
||||
.cfg_data = 0xfee00000,
|
||||
.cfg_base = 0x80000000,
|
||||
.cfg_len = 0x7f000000,
|
||||
.mem_base = 0x80000000,
|
||||
.host_mem_base = 0x80000000,
|
||||
.pci_mem_base = 0x80000000,
|
||||
.mem_len = 0x01000000,
|
||||
.io_base = 0xfe000000,
|
||||
.io_len = 0x00800000,
|
||||
|
||||
Reference in New Issue
Block a user