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