diff options
author | David 'Digit' Turner <digit@android.com> | 2010-05-10 18:37:10 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-05-10 23:26:57 -0700 |
commit | a5d412078b8e7478d81df03710eacc7a21096ba2 (patch) | |
tree | 7b6fb338233657c9885bd94f08dee3aa2973c98f /hw/qdev.h | |
parent | 20894ae3fa98f82da925fbeb72e616eef509758a (diff) | |
download | external_qemu-a5d412078b8e7478d81df03710eacc7a21096ba2.zip external_qemu-a5d412078b8e7478d81df03710eacc7a21096ba2.tar.gz external_qemu-a5d412078b8e7478d81df03710eacc7a21096ba2.tar.bz2 |
Upstream: Replace sys-queue.h with qemu-queue.h
Change-Id: I5c51f54a7fe2ea702420429bbf0c789ed6d8c534
Diffstat (limited to 'hw/qdev.h')
-rw-r--r-- | hw/qdev.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,7 +2,7 @@ #define QDEV_H #include "hw.h" -#include "sys-queue.h" +#include "qemu-queue.h" typedef struct DeviceType DeviceType; @@ -20,9 +20,9 @@ struct DeviceState { qemu_irq *gpio_out; int num_gpio_in; qemu_irq *gpio_in; - LIST_HEAD(, BusState) child_bus; + QLIST_HEAD(, BusState) child_bus; NICInfo *nd; - LIST_ENTRY(DeviceState) sibling; + QLIST_ENTRY(DeviceState) sibling; }; typedef enum { @@ -37,8 +37,8 @@ struct BusState { DeviceState *parent; const char *name; BusType type; - LIST_HEAD(, DeviceState) children; - LIST_ENTRY(BusState) sibling; + QLIST_HEAD(, DeviceState) children; + QLIST_ENTRY(BusState) sibling; }; /*** Board API. This should go away once we have a machine config file. ***/ |