]>
Commit | Line | Data |
---|---|---|
ea88812f FB |
1 | #ifndef QEMU_OSDEP_H |
2 | #define QEMU_OSDEP_H | |
3 | ||
4 | #include <stdarg.h> | |
5 | ||
d62ca2bb | 6 | #define qemu_printf printf |
ea88812f FB |
7 | |
8 | void *qemu_malloc(size_t size); | |
0fb48229 | 9 | void *qemu_mallocz(size_t size); |
ea88812f | 10 | void qemu_free(void *ptr); |
2571929a | 11 | char *qemu_strdup(const char *str); |
49b470eb FB |
12 | |
13 | void *qemu_vmalloc(size_t size); | |
14 | void qemu_vfree(void *ptr); | |
ea88812f FB |
15 | |
16 | void *get_mmap_addr(unsigned long size); | |
17 | ||
ea88812f | 18 | #endif |