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