2016-01-30 01:49:52 +08:00
|
|
|
#include "qemu/osdep.h"
|
2015-09-18 00:23:37 +08:00
|
|
|
#include "sysemu/replay.h"
|
|
|
|
|
|
|
|
ReplayMode replay_mode;
|
2015-09-18 00:24:28 +08:00
|
|
|
|
2018-10-08 19:24:14 +08:00
|
|
|
int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount)
|
2015-09-18 00:24:28 +08:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int64_t replay_read_clock(unsigned int kind)
|
|
|
|
{
|
|
|
|
abort();
|
|
|
|
return 0;
|
|
|
|
}
|
2015-09-18 00:24:44 +08:00
|
|
|
|
|
|
|
bool replay_checkpoint(ReplayCheckpoint checkpoint)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
2015-09-18 00:25:07 +08:00
|
|
|
|
|
|
|
bool replay_events_enabled(void)
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void replay_finish(void)
|
|
|
|
{
|
|
|
|
}
|
2016-03-14 15:44:36 +08:00
|
|
|
|
2016-12-07 21:20:22 +08:00
|
|
|
void replay_register_char_driver(Chardev *chr)
|
2016-03-14 15:44:36 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-12-07 21:20:22 +08:00
|
|
|
void replay_chr_be_write(Chardev *s, uint8_t *buf, int len)
|
2016-03-14 15:44:36 +08:00
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
|
|
|
|
|
|
|
void replay_char_write_event_save(int res, int offset)
|
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
|
|
|
|
|
|
|
void replay_char_write_event_load(int *res, int *offset)
|
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
|
|
|
|
|
|
|
int replay_char_read_all_load(uint8_t *buf)
|
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
|
|
|
|
|
|
|
void replay_char_read_all_save_error(int res)
|
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
|
|
|
|
|
|
|
void replay_char_read_all_save_buf(uint8_t *buf, int offset)
|
|
|
|
{
|
|
|
|
abort();
|
|
|
|
}
|
2016-03-14 15:45:10 +08:00
|
|
|
|
|
|
|
void replay_block_event(QEMUBH *bh, uint64_t id)
|
|
|
|
{
|
|
|
|
}
|
2016-09-26 16:08:16 +08:00
|
|
|
|
|
|
|
uint64_t blkreplay_next_id(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2018-02-27 17:52:42 +08:00
|
|
|
|
|
|
|
void replay_mutex_lock(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void replay_mutex_unlock(void)
|
|
|
|
{
|
|
|
|
}
|
2019-12-19 20:50:48 +08:00
|
|
|
|
|
|
|
void replay_save_random(int ret, void *buf, size_t len)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
int replay_read_random(void *buf, size_t len)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|