|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] hvmloader: skip upper field of 64 bit bas
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1219913989 -3600
# Node ID 1ac3e2a44dc95909efb7dc56f07409ebdb3229ee
# Parent 5d30ca2b2efd1fed9d12b6771e6a29fe01053af7
hvmloader: skip upper field of 64 bit base address register.
Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
---
tools/firmware/hvmloader/hvmloader.c | 7 +++++++
1 files changed, 7 insertions(+)
diff -r 5d30ca2b2efd -r 1ac3e2a44dc9 tools/firmware/hvmloader/hvmloader.c
--- a/tools/firmware/hvmloader/hvmloader.c Thu Aug 28 09:58:01 2008 +0100
+++ b/tools/firmware/hvmloader/hvmloader.c Thu Aug 28 09:59:49 2008 +0100
@@ -243,6 +243,13 @@ static void pci_setup(void)
bars[i].bar_sz = bar_sz;
nr_bars++;
+
+ /* Skip the upper-half of the address for a 64-bit BAR. */
+ if ( (bar_data & (PCI_BASE_ADDRESS_SPACE |
+ PCI_BASE_ADDRESS_MEM_TYPE_MASK)) ==
+ (PCI_BASE_ADDRESS_SPACE_MEMORY |
+ PCI_BASE_ADDRESS_MEM_TYPE_64) )
+ bar++;
}
/* Map the interrupt. */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] hvmloader: skip upper field of 64 bit base address register.,
Xen patchbot-unstable <=
|
|
|
|
|