aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware/hvmloader/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware/hvmloader/pci.c')
-rw-r--r--tools/firmware/hvmloader/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware/hvmloader/pci.c b/tools/firmware/hvmloader/pci.c
index 0500db5fbb..c7c87a76bf 100644
--- a/tools/firmware/hvmloader/pci.c
+++ b/tools/firmware/hvmloader/pci.c
@@ -104,7 +104,7 @@ void pci_setup(void)
virtual_vga = VGA_pt;
if ( vendor_id == 0x8086 )
{
- igd_opregion_pgbase = mem_hole_alloc(2);
+ igd_opregion_pgbase = mem_hole_alloc(IGD_OPREGION_PAGES);
/*
* Write the the OpRegion offset to give the opregion
* address to the device model. The device model will trap