mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-06 09:21:49 +00:00
parent
7f8f0f50ea
commit
c72d1655f4
@ -76,7 +76,8 @@ extern "C" int VBoxDevicesRegister(PPDMDEVREGCB pCallbacks, uint32_t u32Version)
|
|||||||
* - 'pciSetIrqInternal()' in DevPCI.cpp
|
* - 'pciSetIrqInternal()' in DevPCI.cpp
|
||||||
* - '_PIC' and '_PRT' ACPI methods in vbox.dsl
|
* - '_PIC' and '_PRT' ACPI methods in vbox.dsl
|
||||||
*/
|
*/
|
||||||
bool force_ioapic()
|
|
||||||
|
static bool read_force_ioapic_from_config()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
Genode::Attached_rom_dataspace config("config");
|
Genode::Attached_rom_dataspace config("config");
|
||||||
@ -85,3 +86,10 @@ bool force_ioapic()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool force_ioapic()
|
||||||
|
{
|
||||||
|
/* read only once from config ROM */
|
||||||
|
static bool force = read_force_ioapic_from_config();
|
||||||
|
return force;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user