Revision 72cf2d4f hw/qdev.h
b/hw/qdev.h | ||
---|---|---|
3 | 3 |
|
4 | 4 |
#include "hw.h" |
5 | 5 |
#include "sysemu.h" |
6 |
#include "sys-queue.h"
|
|
6 |
#include "qemu-queue.h"
|
|
7 | 7 |
#include "qemu-char.h" |
8 | 8 |
#include "qemu-option.h" |
9 | 9 |
|
... | ... | |
29 | 29 |
qemu_irq *gpio_out; |
30 | 30 |
int num_gpio_in; |
31 | 31 |
qemu_irq *gpio_in; |
32 |
LIST_HEAD(, BusState) child_bus; |
|
32 |
QLIST_HEAD(, BusState) child_bus;
|
|
33 | 33 |
int num_child_bus; |
34 | 34 |
NICInfo *nd; |
35 |
LIST_ENTRY(DeviceState) sibling; |
|
35 |
QLIST_ENTRY(DeviceState) sibling;
|
|
36 | 36 |
}; |
37 | 37 |
|
38 | 38 |
typedef void (*bus_dev_printfn)(Monitor *mon, DeviceState *dev, int indent); |
... | ... | |
47 | 47 |
DeviceState *parent; |
48 | 48 |
BusInfo *info; |
49 | 49 |
const char *name; |
50 |
LIST_HEAD(, DeviceState) children; |
|
51 |
LIST_ENTRY(BusState) sibling; |
|
50 |
QLIST_HEAD(, DeviceState) children;
|
|
51 |
QLIST_ENTRY(BusState) sibling;
|
|
52 | 52 |
}; |
53 | 53 |
|
54 | 54 |
struct Property { |
Also available in: Unified diff