Changeset 36175 in vbox for trunk/src/recompiler/qemu-common.h
- Timestamp:
- Mar 4, 2011 4:21:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/qemu-common.h
r36170 r36175 31 31 #define qemu_toascii(c) RT_C_TO_ASCII((unsigned char)(c)) 32 32 33 #define qemu_init_vcpu(env) do { } while (0) /* we don't need this :-) */ 34 35 33 36 #else /* !VBOX */ 34 37 #ifdef _WIN32 … … 59 62 #include <fcntl.h> 60 63 #include <sys/stat.h> 64 #include <assert.h> 61 65 #include "config-host.h" 62 66 … … 143 147 int strstart(const char *str, const char *val, const char **ptr); 144 148 int stristart(const char *str, const char *val, const char **ptr); 149 int qemu_strnlen(const char *s, int max_len); 145 150 time_t mktimegm(struct tm *tm); 146 151 int qemu_fls(int i); … … 198 203 typedef struct DisplayChangeListener DisplayChangeListener; 199 204 typedef struct DisplaySurface DisplaySurface; 205 typedef struct DisplayAllocator DisplayAllocator; 200 206 typedef struct PixelFormat PixelFormat; 201 207 typedef struct TextConsole TextConsole; … … 212 218 typedef struct SerialState SerialState; 213 219 typedef struct IRQState *qemu_irq; 214 struct pcmcia_card_s; 220 typedef struct PCMCIACardState PCMCIACardState; 221 typedef struct MouseTransformInfo MouseTransformInfo; 222 typedef struct uWireSlave uWireSlave; 223 typedef struct I2SCodec I2SCodec; 224 typedef struct DeviceState DeviceState; 225 typedef struct SSIBus SSIBus; 215 226 216 227 /* CPU save/load. */ … … 220 231 /* Force QEMU to stop what it's doing and service IO */ 221 232 void qemu_service_io(void); 233 234 /* Force QEMU to process pending events */ 235 void qemu_notify_event(void); 236 237 /* Unblock cpu */ 238 void qemu_cpu_kick(void *env); 239 int qemu_cpu_self(void *env); 240 241 #ifdef CONFIG_USER_ONLY 242 #define qemu_init_vcpu(env) do { } while (0) 243 #else 244 void qemu_init_vcpu(void *env); 245 #endif 222 246 223 247 typedef struct QEMUIOVector { … … 229 253 230 254 void qemu_iovec_init(QEMUIOVector *qiov, int alloc_hint); 255 void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov); 231 256 void qemu_iovec_add(QEMUIOVector *qiov, void *base, size_t len); 232 257 void qemu_iovec_destroy(QEMUIOVector *qiov); … … 235 260 void qemu_iovec_from_buffer(QEMUIOVector *qiov, const void *buf, size_t count); 236 261 262 struct Monitor; 263 typedef struct Monitor Monitor; 264 265 #include "module.h" 266 237 267 #endif /* dyngen-exec.h hack */ 238 268
Note:
See TracChangeset
for help on using the changeset viewer.