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
|