diff options
author | Richard Henderson <rth@twiddle.net> | 2011-05-09 10:58:45 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2011-05-09 10:58:45 -0700 |
commit | 1a4a2299f36eb26c482319bc66f4cee7cb144af1 (patch) | |
tree | 5ea21a8116c66536acccab3351f66fce24ea0c68 | |
parent | a7b2ef5dd9bb9890f10252981481b55ae30babd1 (diff) | |
download | qemu-palcode-1a4a2299f36eb26c482319bc66f4cee7cb144af1.zip qemu-palcode-1a4a2299f36eb26c482319bc66f4cee7cb144af1.tar.gz qemu-palcode-1a4a2299f36eb26c482319bc66f4cee7cb144af1.tar.bz2 |
Hack: Move pci BAR ranges.
The Linux kernel will re-allocate all of these, tickling what appears
to be a bug in QEMU. Work around this by moving the ranges allocated
by the console so that the new ranges don't overlap.
-rw-r--r-- | pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -141,8 +141,8 @@ pci_setup_device(int bdf, uint32_t *p_io_base, uint32_t *p_mem_base) void pci_setup(void) { - uint32_t io_base = 0x8000; - uint32_t mem_base = (128+16) * 1024 * 1024; + uint32_t io_base = 0xc000; + uint32_t mem_base = 256 * 1024 * 1024; int bdf, max; foreachpci (bdf, max) |