Displaying 1 result from an estimated 1 matches for "hvm_below_4g_mmio_end".
2008 Jan 18
7
[Patch] Make memory hole for PCI Express bigger and prevent roll-over
...sz - 1);
+ mem_base_test = (*base + bar_sz - 1) & ~(bar_sz - 1);
+ if ( (mem_base_test < HVM_BELOW_4G_MMIO_START) ||
+ ( (mem_base_test+bar_sz) < HVM_BELOW_4G_MMIO_START) ||
+ ( (mem_base_test+bar_sz) > HVM_BELOW_4G_MMIO_END))
+ {
+ /*
+ * The PCI device''s BAR won''t fit into the
hole (it might
+ * even have wrapped around). So, don''t
enable this BAR!
+ */
+...