char-stdio.c (2d6752d38d8acda6aae674a72b72be05482a58eb) | char-stdio.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 --- 11 unchanged lines hidden (view full) --- 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#include "qemu/osdep.h" 25#include "qemu/sockets.h" 26#include "qapi/error.h" 27#include "qemu-common.h" | 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 --- 11 unchanged lines hidden (view full) --- 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#include "qemu/osdep.h" 25#include "qemu/sockets.h" 26#include "qapi/error.h" 27#include "qemu-common.h" |
28#include "sysemu/char.h" | 28#include "chardev/char.h" |
29 30#ifdef _WIN32 | 29 30#ifdef _WIN32 |
31#include "char-win.h" 32#include "char-win-stdio.h" | 31#include "chardev/char-win.h" 32#include "chardev/char-win-stdio.h" |
33#else 34#include <termios.h> | 33#else 34#include <termios.h> |
35#include "char-fd.h" | 35#include "chardev/char-fd.h" |
36#endif 37 38#ifndef _WIN32 39/* init terminal so that we can grab keys */ 40static struct termios oldtty; 41static int old_fd0_flags; 42static bool stdio_in_use; 43static bool stdio_allow_signal; --- 121 unchanged lines hidden --- | 36#endif 37 38#ifndef _WIN32 39/* init terminal so that we can grab keys */ 40static struct termios oldtty; 41static int old_fd0_flags; 42static bool stdio_in_use; 43static bool stdio_allow_signal; --- 121 unchanged lines hidden --- |