Revision 082b5557 sysemu.h
b/sysemu.h | ||
---|---|---|
8 | 8 |
#include "qemu-timer.h" |
9 | 9 |
#include "notify.h" |
10 | 10 |
|
11 |
#ifdef _WIN32 |
|
12 |
#include <windows.h> |
|
13 |
#include "qemu-os-win32.h" |
|
14 |
#endif |
|
15 |
|
|
16 |
#ifdef CONFIG_POSIX |
|
17 |
#include "qemu-os-posix.h" |
|
18 |
#endif |
|
19 |
|
|
20 | 11 |
/* vl.c */ |
21 | 12 |
extern const char *bios_name; |
22 | 13 |
|
23 |
#define QEMU_FILE_TYPE_BIOS 0 |
|
24 |
#define QEMU_FILE_TYPE_KEYMAP 1 |
|
25 |
char *qemu_find_file(int type, const char *name); |
|
26 |
|
|
27 | 14 |
extern int vm_running; |
28 | 15 |
extern const char *qemu_name; |
29 | 16 |
extern uint8_t qemu_uuid[]; |
... | ... | |
100 | 87 |
/* SLIRP */ |
101 | 88 |
void do_info_slirp(Monitor *mon); |
102 | 89 |
|
103 |
/* OS specific functions */ |
|
104 |
void os_setup_early_signal_handling(void); |
|
105 |
char *os_find_datadir(const char *argv0); |
|
106 |
void os_parse_cmd_args(int index, const char *optarg); |
|
107 |
void os_pidfile_error(void); |
|
108 |
|
|
109 | 90 |
typedef enum DisplayType |
110 | 91 |
{ |
111 | 92 |
DT_DEFAULT, |
... | ... | |
191 | 172 |
|
192 | 173 |
extern CharDriverState *parallel_hds[MAX_PARALLEL_PORTS]; |
193 | 174 |
|
194 |
#define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR) |
|
195 |
|
|
196 | 175 |
void do_usb_add(Monitor *mon, const QDict *qdict); |
197 | 176 |
void do_usb_del(Monitor *mon, const QDict *qdict); |
198 | 177 |
void usb_info(Monitor *mon); |
Also available in: Unified diff