~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to replay/replay-internal.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    /* for character device read all event */
30
30
    EVENT_CHAR_READ_ALL,
31
31
    EVENT_CHAR_READ_ALL_ERROR,
 
32
    /* for audio out event */
 
33
    EVENT_AUDIO_OUT,
 
34
    /* for audio in event */
 
35
    EVENT_AUDIO_IN,
32
36
    /* for clock read/writes */
33
37
    /* some of greater codes are reserved for clocks */
34
38
    EVENT_CLOCK,
50
54
    REPLAY_ASYNC_EVENT_INPUT_SYNC,
51
55
    REPLAY_ASYNC_EVENT_CHAR_READ,
52
56
    REPLAY_ASYNC_EVENT_BLOCK,
 
57
    REPLAY_ASYNC_EVENT_NET,
53
58
    REPLAY_ASYNC_COUNT
54
59
};
55
60
 
161
166
/*! Reads char event read from the file. */
162
167
void *replay_event_char_read_load(void);
163
168
 
 
169
/* Network devices */
 
170
 
 
171
/*! Called to run network event. */
 
172
void replay_event_net_run(void *opaque);
 
173
/*! Writes network event to the file. */
 
174
void replay_event_net_save(void *opaque);
 
175
/*! Reads network from the file. */
 
176
void *replay_event_net_load(void);
 
177
 
164
178
/* VMState-related functions */
165
179
 
166
180
/* Registers replay VMState.