mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix PCI I/O ports allocation (Aurelien Jarno)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@416 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -760,7 +760,9 @@ int ob_pci_init(void)
|
||||
/* Find all PCI bridges */
|
||||
|
||||
mem_base = arch->mem_base;
|
||||
io_base = arch->io_base;
|
||||
/* I/O ports under 0x400 are used by devices mapped at fixed
|
||||
location. */
|
||||
io_base = arch->io_base + 0x400;
|
||||
path = strdup("");
|
||||
for (bus = 0; bus<0x100; bus++) {
|
||||
ob_scan_pci_bus(bus, &mem_base, &io_base, &path);
|
||||
|
||||
Reference in New Issue
Block a user