hw/mips/malta: Fix the malta machine on big endian hosts
[qemu/ar7.git] / hw / pci / pci-internal.h
bloba7d6d8a7324ea9ce9d003e3f8deeb85a0de0aa02
1 #ifndef HW_PCI_PCI_INTERNAL_H
2 #define HW_PCI_PCI_INTERNAL_H
4 #include "qemu/queue.h"
6 typedef struct {
7 uint16_t class;
8 const char *desc;
9 const char *fw_name;
10 uint16_t fw_ign_bits;
11 } pci_class_desc;
13 typedef QLIST_HEAD(, PCIHostState) PCIHostStateList;
15 extern PCIHostStateList pci_host_bridges;
17 const pci_class_desc *get_class_desc(int class);
18 PCIBus *pci_find_bus_nr(PCIBus *bus, int bus_num);
19 void pcibus_dev_print(Monitor *mon, DeviceState *dev, int indent);
21 int pcie_aer_parse_error_string(const char *error_name,
22 uint32_t *status, bool *correctable);
24 #endif