mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
ab61536737
Introduce type constant. Introduce cast macro and drop dummy busdev field used with FROM_SYSBUS() that would've broken SYS_BUS_DEVICE(). Avoid accessing parent fields directly. Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
11 lines
173 B
C
11 lines
173 B
C
#ifndef DEC_PCI_H
|
|
#define DEC_PCI_H
|
|
|
|
#include "qemu-common.h"
|
|
|
|
#define TYPE_DEC_21154 "dec-21154-sysbus"
|
|
|
|
PCIBus *pci_dec_21154_init(PCIBus *parent_bus, int devfn);
|
|
|
|
#endif
|