Skip to content

Commit

Permalink
sysemu: avoid proliferation of include/ subdirectories
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
bonzini committed Apr 15, 2013
1 parent bdee56f commit dccfcd0
Show file tree
Hide file tree
Showing 78 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion backends/baum.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu-common.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/timer.h"
#include "hw/usb.h"
#include <brlapi.h>
Expand Down
2 changes: 1 addition & 1 deletion backends/msmouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
#include <stdlib.h>
#include "qemu-common.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "ui/console.h"

#define MSMOUSE_LO6(n) ((n) & 0x3f)
Expand Down
4 changes: 2 additions & 2 deletions backends/rng-egd.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* See the COPYING file in the top-level directory.
*/

#include "qemu/rng.h"
#include "char/char.h"
#include "sysemu/rng.h"
#include "sysemu/char.h"
#include "qapi/qmp/qerror.h"
#include "hw/qdev.h" /* just for DEFINE_PROP_CHR */

Expand Down
4 changes: 2 additions & 2 deletions backends/rng-random.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* See the COPYING file in the top-level directory.
*/

#include "qemu/rng-random.h"
#include "qemu/rng.h"
#include "sysemu/rng-random.h"
#include "sysemu/rng.h"
#include "qapi/qmp/qerror.h"
#include "qemu/main-loop.h"

Expand Down
2 changes: 1 addition & 1 deletion backends/rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the COPYING file in the top-level directory.
*/

#include "qemu/rng.h"
#include "sysemu/rng.h"
#include "qapi/qmp/qerror.h"

void rng_backend_request_entropy(RngBackend *s, size_t size,
Expand Down
2 changes: 1 addition & 1 deletion backends/tpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Based on backends/rng.c by Anthony Liguori
*/

#include "backends/tpm.h"
#include "sysemu/tpm_backend.h"
#include "qapi/qmp/qerror.h"
#include "sysemu/tpm.h"
#include "qemu/thread.h"
Expand Down
2 changes: 1 addition & 1 deletion bt-host.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include "qemu-common.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "qemu/main-loop.h"

#ifndef _WIN32
Expand Down
2 changes: 1 addition & 1 deletion bt-vhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include "qemu-common.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"
#include "qemu/main-loop.h"

Expand Down
2 changes: 1 addition & 1 deletion gdbstub.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "qemu.h"
#else
#include "monitor/monitor.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/sysemu.h"
#include "exec/gdbstub.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion hmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "hmp.h"
#include "net/net.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/option.h"
#include "qemu/timer.h"
#include "qmp-commands.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "hw/arm/omap.h"
#include "sysemu/sysemu.h"
#include "qemu/timer.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/block/flash.h"
#include "hw/arm/soc_dma.h"
#include "hw/sysbus.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/pxa2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "hw/char/serial.h"
#include "hw/i2c/i2c.h"
#include "hw/ssi.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/blockdev.h"

static struct {
Expand Down
2 changes: 1 addition & 1 deletion hw/arm/strongarm.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "strongarm.h"
#include "qemu/error-report.h"
#include "hw/arm/arm.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/sysemu.h"
#include "hw/ssi.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/bt/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include "qemu-common.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"

/* Slave implementations can ignore this */
Expand Down
4 changes: 2 additions & 2 deletions hw/bt/hci-csr.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
*/

#include "qemu-common.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/timer.h"
#include "hw/irq.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"

struct csrhci_s {
Expand Down
2 changes: 1 addition & 1 deletion hw/bt/hci.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "qemu-common.h"
#include "qemu/timer.h"
#include "hw/usb.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"

struct bt_hci_s {
Expand Down
2 changes: 1 addition & 1 deletion hw/char/cadence_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/timer.h"

#ifdef CADENCE_UART_ERR_DEBUG
Expand Down
2 changes: 1 addition & 1 deletion hw/char/debugcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/

#include "hw/hw.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/isa/isa.h"
#include "hw/i386/pc.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/char/escc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "hw/char/escc.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "ui/console.h"
#include "trace.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/char/etraxfs_ser.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/log.h"

#define D(x)
Expand Down
2 changes: 1 addition & 1 deletion hw/char/exynos4210_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "hw/sysbus.h"
#include "sysemu/sysemu.h"
#include "char/char.h"
#include "sysemu/char.h"

#include "hw/arm/exynos4210.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/char/grlib_apbuart.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"

#include "trace.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/char/imx_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "sysemu/sysemu.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/arm/imx.h"

//#define DEBUG_SERIAL 1
Expand Down
2 changes: 1 addition & 1 deletion hw/char/ipoctal232.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "ipack.h"
#include "qemu/bitops.h"
#include "char/char.h"
#include "sysemu/char.h"

/* #define DEBUG_IPOCTAL */

Expand Down
2 changes: 1 addition & 1 deletion hw/char/lm32_juart.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "trace.h"
#include "char/char.h"
#include "sysemu/char.h"

#include "hw/lm32/lm32_juart.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/char/lm32_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "trace.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/error-report.h"

enum {
Expand Down
2 changes: 1 addition & 1 deletion hw/char/mcf_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
#include "hw/hw.h"
#include "hw/m68k/mcf.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "exec/address-spaces.h"

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion hw/char/milkymist-uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "trace.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/error-report.h"

enum {
Expand Down
2 changes: 1 addition & 1 deletion hw/char/omap_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/hw.h"
#include "hw/arm/omap.h"
#include "hw/char/serial.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/char/parallel.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* THE SOFTWARE.
*/
#include "hw/hw.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/isa/isa.h"
#include "hw/i386/pc.h"
#include "sysemu/sysemu.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/char/pl011.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"

typedef struct {
SysBusDevice busdev;
Expand Down
2 changes: 1 addition & 1 deletion hw/char/sclpconsole.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "hw/s390x/sclp.h"
#include "hw/s390x/event-facility.h"
#include "char/char.h"
#include "sysemu/char.h"

typedef struct ASCIIConsoleData {
EventBufferHeader ebh;
Expand Down
2 changes: 1 addition & 1 deletion hw/char/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

#include "hw/char/serial.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/timer.h"
#include "exec/address-spaces.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/char/sh_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
#include "hw/hw.h"
#include "hw/sh4/sh.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "exec/address-spaces.h"

//#define DEBUG_SERIAL
Expand Down
2 changes: 1 addition & 1 deletion hw/char/spapr_vty.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "hw/qdev.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/ppc/spapr.h"
#include "hw/ppc/spapr_vio.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/char/virtio-console.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* the COPYING file in the top-level directory.
*/

#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/error-report.h"
#include "trace.h"
#include "hw/virtio/virtio-serial.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/char/xen_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <sys/mman.h>

#include "hw/hw.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/xen/xen_backend.h"

#include <xen/io/console.h>
Expand Down
2 changes: 1 addition & 1 deletion hw/char/xilinx_uartlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"

#define DUART(x)

Expand Down
2 changes: 1 addition & 1 deletion hw/core/qdev-properties-system.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "hw/block/block.h"
#include "net/hub.h"
#include "qapi/visitor.h"
#include "char/char.h"
#include "sysemu/char.h"

static void get_pointer(Object *obj, Visitor *v, Property *prop,
const char *(*print)(void *ptr),
Expand Down
2 changes: 1 addition & 1 deletion hw/core/qdev-properties.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "hw/block/block.h"
#include "net/hub.h"
#include "qapi/visitor.h"
#include "char/char.h"
#include "sysemu/char.h"

void qdev_prop_set_after_realize(DeviceState *dev, const char *name,
Error **errp)
Expand Down
2 changes: 1 addition & 1 deletion hw/display/xenfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#include "hw/hw.h"
#include "ui/console.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/xen/xen_backend.h"

#include <xen/event_channel.h>
Expand Down
2 changes: 1 addition & 1 deletion hw/isa/pc87312.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "qemu/error-report.h"
#include "sysemu/blockdev.h"
#include "sysemu/sysemu.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "trace.h"


Expand Down
2 changes: 1 addition & 1 deletion hw/mips/mips_fulong2e.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "hw/mips/mips.h"
#include "hw/mips/cpudevs.h"
#include "hw/pci/pci.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/sysemu.h"
#include "audio/audio.h"
#include "qemu/log.h"
Expand Down
Loading

0 comments on commit dccfcd0

Please sign in to comment.