char-serial.c (221e659c3f37251b4312e0ac8ccf7799c67600b0) | char-serial.c (8228e353d8906bf43399ca0ef28446c5c48bb686) |
---|---|
1/* 2 * QEMU System Emulator 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 13 unchanged lines hidden (view full) --- 22 * THE SOFTWARE. 23 */ 24#include "qemu/osdep.h" 25#include "qemu/sockets.h" 26#include "io/channel-file.h" 27#include "qapi/error.h" 28 29#ifdef _WIN32 | 1/* 2 * QEMU System Emulator 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 13 unchanged lines hidden (view full) --- 22 * THE SOFTWARE. 23 */ 24#include "qemu/osdep.h" 25#include "qemu/sockets.h" 26#include "io/channel-file.h" 27#include "qapi/error.h" 28 29#ifdef _WIN32 |
30#include "char-win.h" | 30#include "chardev/char-win.h" |
31#else 32#include <sys/ioctl.h> 33#include <termios.h> | 31#else 32#include <sys/ioctl.h> 33#include <termios.h> |
34#include "char-fd.h" | 34#include "chardev/char-fd.h" |
35#endif 36 | 35#endif 36 |
37#include "char-serial.h" | 37#include "chardev/char-serial.h" |
38 39#ifdef _WIN32 40 41static void qmp_chardev_open_serial(Chardev *chr, 42 ChardevBackend *backend, 43 bool *be_opened, 44 Error **errp) 45{ --- 273 unchanged lines hidden --- | 38 39#ifdef _WIN32 40 41static void qmp_chardev_open_serial(Chardev *chr, 42 ChardevBackend *backend, 43 bool *be_opened, 44 Error **errp) 45{ --- 273 unchanged lines hidden --- |