]> git.proxmox.com Git - qemu.git/blame - osdep.h
better PCNET endianness support
[qemu.git] / osdep.h
CommitLineData
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
8void *qemu_malloc(size_t size);
0fb48229 9void *qemu_mallocz(size_t size);
ea88812f 10void qemu_free(void *ptr);
2571929a 11char *qemu_strdup(const char *str);
49b470eb
FB
12
13void *qemu_vmalloc(size_t size);
14void qemu_vfree(void *ptr);
ea88812f
FB
15
16void *get_mmap_addr(unsigned long size);
17
ea88812f 18#endif