diff options
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index 746dcc5d63..a246144672 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -86,6 +86,14 @@ int strstart(const char *str, const char *val, const char **ptr); int stristart(const char *str, const char *val, const char **ptr); time_t mktimegm(struct tm *tm); +void *qemu_malloc(size_t size); +void *qemu_mallocz(size_t size); +void qemu_free(void *ptr); +char *qemu_strdup(const char *str); + +void *get_mmap_addr(unsigned long size); + + /* Error handling. */ void hw_error(const char *fmt, ...) |