qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH RFC] seabios: add OSHP method stub


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH RFC] seabios: add OSHP method stub
Date: Mon, 13 Feb 2012 11:33:08 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

To allow guests to load the native SHPC driver
for a bridge, we must declare an OSHP method
for the appropriate device which lets the OS
take control of the SHPC.
As we don't access SHPC at the moment, we
don't need to do anything - just report success.

Signed-off-by: Michael S. Tsirkin <address@hidden>

---

diff --git a/src/ssdt-pcihp.dsl b/src/ssdt-pcihp.dsl
index 442e7a8..3f50169 100644
--- a/src/ssdt-pcihp.dsl
+++ b/src/ssdt-pcihp.dsl
@@ -24,6 +24,7 @@ DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01, "BXPC", 
"BXSSDTPCIHP", 0x1)
            ACPI_EXTRACT_METHOD_STRING aml_ej0_name      \
            Method (_EJ0, 1) { Return(PCEJ(0x##slot)) }  \
            Name (_SUN, 0x##slot)                        \
+           Method (OSHP, 1) { Return(0x0) }  \
         }
 
         hotplug_slot(03)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]