hw_x86_64: Add VESA resources to x86 MMIO regions

The additional MMIO regions are necessary for emulated graphics devices
of QEMU and Bochs.
This commit is contained in:
Adrian-Ken Rueegsegger 2015-03-19 02:07:43 +01:00 committed by Christian Helmuth
parent 8b8e8c8270
commit f9f74d2930
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ Native_region * Platform::_mmio_regions(unsigned const i)
{
static Native_region _regions[] =
{
{ 0x00000000, 0x0001000 },
{ 0x000a0000, 0x0060000 },
{ 0xc0000000, 0x1000000 },
{ 0xfc000000, 0x1000000 },
};
return i < sizeof(_regions)/sizeof(_regions[0]) ? &_regions[i] : 0;
}