mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
vbox: fix ACPI dsl for newer iASL versions
The patch reflects the changes done in VirtualBox 5 and is at least needed on Ubuntu 16.04. Fixes #2068.
This commit is contained in:
parent
a1d9ed1d8a
commit
fbe127cdf4
@ -1 +1 @@
|
||||
d2beb20e61ac2fa809c41a656e4b2c3c71ead4f6
|
||||
8163ec9421249f80de3e717555c3919a25d125fa
|
||||
|
@ -9,3 +9,4 @@ usb.patch
|
||||
tm_smp.patch
|
||||
vbox_dd.patch
|
||||
force_ioapic.patch
|
||||
vbox-cpuhotplug.dsl.patch
|
||||
|
30
repos/ports/src/virtualbox/patches/vbox-cpuhotplug.dsl.patch
Normal file
30
repos/ports/src/virtualbox/patches/vbox-cpuhotplug.dsl.patch
Normal file
@ -0,0 +1,30 @@
|
||||
--- a/src/app/virtualbox/src/VBox/Devices/PC/vbox-cpuhotplug.dsl
|
||||
+++ b/src/app/virtualbox/src/VBox/Devices/PC/vbox-cpuhotplug.dsl
|
||||
@@ -27,6 +27,18 @@
|
||||
Return(LEqual(CPUL, 0x01))
|
||||
}
|
||||
|
||||
+ // Method to notify the VMM that a CPU is not
|
||||
+ // in use anymore and can be safely removed.
|
||||
+ // Using the extra method here because the CPUL
|
||||
+ // register identifer clashes with the CPUL object defined
|
||||
+ // below making iasl starting with version 20150930 fail.
|
||||
+ //
|
||||
+ // Think of CPLO as "CPU Lock Open"
|
||||
+ Method(CPLO, 1)
|
||||
+ {
|
||||
+ Store (Arg0, CPUL)
|
||||
+ }
|
||||
+
|
||||
Scope (\_SB)
|
||||
{
|
||||
|
||||
@@ -73,7 +85,7 @@
|
||||
} \
|
||||
Method(_EJ0, 1) \
|
||||
{ \
|
||||
- Store(id, CPUL) /* Unlock the CPU */ \
|
||||
+ CPLO(id) /* Unlock the CPU */ \
|
||||
Return \
|
||||
} \
|
||||
} \
|
Loading…
Reference in New Issue
Block a user