root / osdep.h @ beb811bd
History | View | Annotate | Download (380 Bytes)
1 |
#ifndef QEMU_OSDEP_H
|
---|---|
2 |
#define QEMU_OSDEP_H
|
3 |
|
4 |
#include <stdarg.h> |
5 |
|
6 |
#define qemu_printf printf
|
7 |
|
8 |
void *qemu_malloc(size_t size);
|
9 |
void *qemu_mallocz(size_t size);
|
10 |
void qemu_free(void *ptr); |
11 |
char *qemu_strdup(const char *str); |
12 |
|
13 |
void *qemu_vmalloc(size_t size);
|
14 |
void qemu_vfree(void *ptr); |
15 |
|
16 |
void *get_mmap_addr(unsigned long size); |
17 |
|
18 |
int qemu_create_pidfile(const char *filename); |
19 |
|
20 |
#endif
|