projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't leave upper bits of 64bit BARs unitialized during pci init.
[seabios.git]
/
src
/
pciinit.c
diff --git
a/src/pciinit.c
b/src/pciinit.c
index 7d8336804a1789c4a2e68e987498b54993c3ecdb..9f3fdd49f0776f519ae1d943f84939ca5c951828 100644
(file)
--- a/
src/pciinit.c
+++ b/
src/pciinit.c
@@
-545,8
+545,10
@@
static void pci_bios_map_devices(struct pci_bus *busses)
i, addr, pci->bars[i].size, region_type_name[type]);
pci_set_io_region_addr(pci, i, addr);
- if (pci->bars[i].is64)
+ if (pci->bars[i].is64)
{
i++;
+ pci_set_io_region_addr(pci, i, 0);
+ }
}
}
}