From: Jean Guyader Date: Wed, 3 Dec 2008 17:45:29 +0000 (+0000) Subject: Fix the mapping size for the mmio region. Put it back at 4MB. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=248b746b8fc7253d545eb96b2ccec7fa2f56f9ae;p=xenclient%2Fioemu.git Fix the mapping size for the mmio region. Put it back at 4MB. --- diff --git a/intel.c b/intel.c index 11e7d803..8d8deede 100644 --- a/intel.c +++ b/intel.c @@ -254,7 +254,7 @@ static void intel_init_mapping(void) } INTEL_DEBUG("Map intel mmio 0x%x\n", intel_mmio_base); - intel_mmio = mmap(NULL, 4 * 1280 * 1024, PROT_READ | PROT_WRITE, MAP_SHARED, + intel_mmio = mmap(NULL, 4 * 1024 * 1024, PROT_READ | PROT_WRITE, MAP_SHARED, mmio_fd, intel_mmio_base); if (intel_mem == MAP_FAILED) {