root / osdep.h @ 42fc925e
History | View | Annotate | Download (332 Bytes)
1 | ea88812f | bellard | #ifndef QEMU_OSDEP_H
|
---|---|---|---|
2 | ea88812f | bellard | #define QEMU_OSDEP_H
|
3 | ea88812f | bellard | |
4 | ea88812f | bellard | #include <stdarg.h> |
5 | ea88812f | bellard | |
6 | d62ca2bb | bellard | #define qemu_printf printf
|
7 | ea88812f | bellard | |
8 | ea88812f | bellard | void *qemu_malloc(size_t size);
|
9 | 0fb48229 | bellard | void *qemu_mallocz(size_t size);
|
10 | ea88812f | bellard | void qemu_free(void *ptr); |
11 | 2571929a | bellard | char *qemu_strdup(const char *str); |
12 | 49b470eb | bellard | |
13 | 49b470eb | bellard | void *qemu_vmalloc(size_t size);
|
14 | 49b470eb | bellard | void qemu_vfree(void *ptr); |
15 | ea88812f | bellard | |
16 | ea88812f | bellard | void *get_mmap_addr(unsigned long size); |
17 | ea88812f | bellard | |
18 | ea88812f | bellard | #endif |