OHCI USB PXA support (Andrzej Zaborowski).
[qemu/mini2440.git] / osdep.h
blob325baf14eb47ca46ad50cd3d1df11dfb3afefe15
1 #ifndef QEMU_OSDEP_H
2 #define QEMU_OSDEP_H
4 #include <stdarg.h>
6 #define qemu_printf printf
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);
13 void *qemu_vmalloc(size_t size);
14 void qemu_vfree(void *ptr);
16 void *get_mmap_addr(unsigned long size);
18 #endif