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