summaryrefslogtreecommitdiffstats
path: root/stubs/physmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/physmem.c')
-rw-r--r--stubs/physmem.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/stubs/physmem.c b/stubs/physmem.c
new file mode 100644
index 0000000000..1fc5f2df29
--- /dev/null
+++ b/stubs/physmem.c
@@ -0,0 +1,13 @@
+#include "qemu/osdep.h"
+#include "exec/cpu-common.h"
+
+RAMBlock *qemu_ram_block_from_host(void *ptr, bool round_offset,
+ ram_addr_t *offset)
+{
+ return NULL;
+}
+
+int qemu_ram_get_fd(RAMBlock *rb)
+{
+ return -1;
+}