Blob Blame History Raw
From 231900b6da3959e36c364bb5733446891dfd171e Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon, 27 Jan 2014 15:31:27 -0500
Subject: [PATCH 5/6] pci: log pci windows

Message-id: <1390836688-16749-3-git-send-email-kraxel@redhat.com>
Patchwork-id: 56959
O-Subject: [RHEL-7 seabios PATCH 2/3] pci: log pci windows
Bugzilla: 1055832
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit c72370ea3764bd009beb49ab3857a3953ed568de)
---
 src/pciinit.c | 2 ++
 1 file changed, 2 insertions(+)

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 src/pciinit.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/pciinit.c b/src/pciinit.c
index 15744e7..4e5d7d0 100644
--- a/src/pciinit.c
+++ b/src/pciinit.c
@@ -744,6 +744,7 @@ static void pci_region_map_entries(struct pci_bus *busses, struct pci_region *r)
 
 static void pci_bios_map_devices(struct pci_bus *busses)
 {
+    dprintf(1, "PCI: 32: %016llx - %016llx\n", pcimem_start, pcimem_end);
     if (pci_bios_init_root_regions(busses)) {
         struct pci_region r64_mem, r64_pref;
         r64_mem.list = NULL;
@@ -770,6 +771,7 @@ static void pci_bios_map_devices(struct pci_bus *busses)
         pcimem64_start = r64_mem.base;
         pcimem64_end = r64_pref.base + sum_pref;
         pcimem64_end = ALIGN(pcimem64_end, (1LL<<30));    // 1G hugepage
+        dprintf(1, "PCI: 64: %016llx - %016llx\n", pcimem64_start, pcimem64_end);
 
         pci_region_map_entries(busses, &r64_mem);
         pci_region_map_entries(busses, &r64_pref);
-- 
1.8.3.1