1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
5 bool replay_events_enabled(void)
10 int64_t replay_save_clock(unsigned int kind
, int64_t clock
, int64_t raw_icount
)
16 int64_t replay_read_clock(unsigned int kind
, int64_t raw_icount
)
22 uint64_t replay_get_current_icount(void)
27 void replay_bh_schedule_event(QEMUBH
*bh
)
32 void replay_bh_schedule_oneshot_event(AioContext
*ctx
,
33 QEMUBHFunc
*cb
, void *opaque
)
35 aio_bh_schedule_oneshot(ctx
, cb
, opaque
);
38 bool replay_checkpoint(ReplayCheckpoint checkpoint
)
43 void replay_mutex_lock(void)
47 void replay_mutex_unlock(void)
51 void replay_register_char_driver(Chardev
*chr
)
55 void replay_chr_be_write(Chardev
*s
, uint8_t *buf
, int len
)
60 void replay_char_write_event_save(int res
, int offset
)
65 void replay_char_write_event_load(int *res
, int *offset
)
70 int replay_char_read_all_load(uint8_t *buf
)
75 void replay_char_read_all_save_error(int res
)
80 void replay_char_read_all_save_buf(uint8_t *buf
, int offset
)