SD card emulation (initial implementation by Andrzei Zaborowski).
[qemu/mini2440.git] / osdep.h
blob68d29d74e35d94b282ceec3f76f96e8fe4c6bc3c
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 int qemu_create_pidfile(const char *filename);
20 #endif