mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
pcihp: make bridge describe itself using AcpiDevAmlIfClass:build_dev_aml
simplify build_append_pci_bus_devices() a bit by handling bridge specific logic in bridge dedicated AcpiDevAmlIfClass::build_dev_aml callback. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20230112140312.3096331-30-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
d78644c781
commit
6c36ec46b0
8 changed files with 70 additions and 16 deletions
20
hw/acpi/pci-bridge-stub.c
Normal file
20
hw/acpi/pci-bridge-stub.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* QEMU ACPI PCI bridge stub
|
||||
*
|
||||
* Copyright (c) 2023 Red Hat, Inc.
|
||||
*
|
||||
* Author:
|
||||
* Igor Mammedov <imammedo@redhat.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/acpi/pci.h"
|
||||
|
||||
void build_pci_bridge_aml(AcpiDevAmlIf *adev, Aml *scope)
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue