2004-02-17 01:12:40 +03:00
|
|
|
#ifndef QEMU_OSDEP_H
|
|
|
|
#define QEMU_OSDEP_H
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
2006-08-01 19:50:14 +04:00
|
|
|
#define qemu_printf printf
|
2004-02-17 01:12:40 +03:00
|
|
|
|
|
|
|
void *qemu_malloc(size_t size);
|
2004-03-15 00:48:47 +03:00
|
|
|
void *qemu_mallocz(size_t size);
|
2004-02-17 01:12:40 +03:00
|
|
|
void qemu_free(void *ptr);
|
2004-07-14 21:21:57 +04:00
|
|
|
char *qemu_strdup(const char *str);
|
2005-02-11 00:59:25 +03:00
|
|
|
|
|
|
|
void *qemu_vmalloc(size_t size);
|
|
|
|
void qemu_vfree(void *ptr);
|
2004-02-17 01:12:40 +03:00
|
|
|
|
|
|
|
void *get_mmap_addr(unsigned long size);
|
|
|
|
|
|
|
|
#endif
|