mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-16 06:08:16 +00:00
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:
committed by
Christian Helmuth
parent
8b8e8c8270
commit
f9f74d2930
@ -35,6 +35,10 @@ Native_region * Platform::_mmio_regions(unsigned const i)
|
|||||||
{
|
{
|
||||||
static Native_region _regions[] =
|
static Native_region _regions[] =
|
||||||
{
|
{
|
||||||
|
{ 0x00000000, 0x0001000 },
|
||||||
|
{ 0x000a0000, 0x0060000 },
|
||||||
|
{ 0xc0000000, 0x1000000 },
|
||||||
|
{ 0xfc000000, 0x1000000 },
|
||||||
};
|
};
|
||||||
return i < sizeof(_regions)/sizeof(_regions[0]) ? &_regions[i] : 0;
|
return i < sizeof(_regions)/sizeof(_regions[0]) ? &_regions[i] : 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user