VirtualBox

Ignore:
Timestamp:
Mar 4, 2011 4:21:09 PM (14 years ago)
Author:
vboxsync
Message:

rem: Synced up to v0.11.1 (35bfc7324e2e6946c4113ada5db30553a1a7c40b) from git://git.savannah.nongnu.org/qemu.git.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/qemu-common.h

    r36170 r36175  
    3131#define qemu_toascii(c)         RT_C_TO_ASCII((unsigned char)(c))
    3232
     33#define qemu_init_vcpu(env)     do { } while (0) /* we don't need this :-) */
     34
     35
    3336#else /* !VBOX */
    3437#ifdef _WIN32
     
    5962#include <fcntl.h>
    6063#include <sys/stat.h>
     64#include <assert.h>
    6165#include "config-host.h"
    6266
     
    143147int strstart(const char *str, const char *val, const char **ptr);
    144148int stristart(const char *str, const char *val, const char **ptr);
     149int qemu_strnlen(const char *s, int max_len);
    145150time_t mktimegm(struct tm *tm);
    146151int qemu_fls(int i);
     
    198203typedef struct DisplayChangeListener DisplayChangeListener;
    199204typedef struct DisplaySurface DisplaySurface;
     205typedef struct DisplayAllocator DisplayAllocator;
    200206typedef struct PixelFormat PixelFormat;
    201207typedef struct TextConsole TextConsole;
     
    212218typedef struct SerialState SerialState;
    213219typedef struct IRQState *qemu_irq;
    214 struct pcmcia_card_s;
     220typedef struct PCMCIACardState PCMCIACardState;
     221typedef struct MouseTransformInfo MouseTransformInfo;
     222typedef struct uWireSlave uWireSlave;
     223typedef struct I2SCodec I2SCodec;
     224typedef struct DeviceState DeviceState;
     225typedef struct SSIBus SSIBus;
    215226
    216227/* CPU save/load.  */
     
    220231/* Force QEMU to stop what it's doing and service IO */
    221232void qemu_service_io(void);
     233
     234/* Force QEMU to process pending events */
     235void qemu_notify_event(void);
     236
     237/* Unblock cpu */
     238void qemu_cpu_kick(void *env);
     239int qemu_cpu_self(void *env);
     240
     241#ifdef CONFIG_USER_ONLY
     242#define qemu_init_vcpu(env) do { } while (0)
     243#else
     244void qemu_init_vcpu(void *env);
     245#endif
    222246
    223247typedef struct QEMUIOVector {
     
    229253
    230254void qemu_iovec_init(QEMUIOVector *qiov, int alloc_hint);
     255void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov);
    231256void qemu_iovec_add(QEMUIOVector *qiov, void *base, size_t len);
    232257void qemu_iovec_destroy(QEMUIOVector *qiov);
     
    235260void qemu_iovec_from_buffer(QEMUIOVector *qiov, const void *buf, size_t count);
    236261
     262struct Monitor;
     263typedef struct Monitor Monitor;
     264
     265#include "module.h"
     266
    237267#endif /* dyngen-exec.h hack */
    238268
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette