mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
pc: export applesmc IO port/len
IO port and length will be used in following patch to correctly generate SMC ACPI device in SSDT. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
7056045332
commit
1142e45ffd
3 changed files with 12 additions and 6 deletions
|
@ -145,7 +145,7 @@ static void acpi_get_dsdt(AcpiMiscInfo *info)
|
|||
|
||||
/* Patch in appropriate value for AppleSMC _STA */
|
||||
*(uint8_t *)(info->dsdt_code + *applesmc_sta) =
|
||||
applesmc_find() ? 0x0b : 0x00;
|
||||
applesmc_port() ? 0x0b : 0x00;
|
||||
}
|
||||
|
||||
static
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue