1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
5 bool replay_events_enabled(void)
10 int64_t replay_save_clock(ReplayClockKind kind
,
11 int64_t clock
, int64_t raw_icount
)
17 int64_t replay_read_clock(ReplayClockKind kind
, int64_t raw_icount
)
23 uint64_t replay_get_current_icount(void)
28 void replay_bh_schedule_event(QEMUBH
*bh
)
33 void replay_bh_schedule_oneshot_event(AioContext
*ctx
,
34 QEMUBHFunc
*cb
, void *opaque
)
36 aio_bh_schedule_oneshot(ctx
, cb
, opaque
);
39 bool replay_checkpoint(ReplayCheckpoint checkpoint
)
44 void replay_mutex_lock(void)
48 void replay_mutex_unlock(void)
52 void replay_register_char_driver(struct Chardev
*chr
)
56 void replay_chr_be_write(struct Chardev
*s
, uint8_t *buf
, int len
)
61 void replay_char_write_event_save(int res
, int offset
)
66 void replay_char_write_event_load(int *res
, int *offset
)
71 int replay_char_read_all_load(uint8_t *buf
)
76 void replay_char_read_all_save_error(int res
)
81 void replay_char_read_all_save_buf(uint8_t *buf
, int offset
)