mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
7f1a8398ab
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2080 c046a42c-6fe2-441c-8c8c-71466251a162
19 lines
332 B
C
19 lines
332 B
C
#ifndef QEMU_OSDEP_H
|
|
#define QEMU_OSDEP_H
|
|
|
|
#include <stdarg.h>
|
|
|
|
#define qemu_printf printf
|
|
|
|
void *qemu_malloc(size_t size);
|
|
void *qemu_mallocz(size_t size);
|
|
void qemu_free(void *ptr);
|
|
char *qemu_strdup(const char *str);
|
|
|
|
void *qemu_vmalloc(size_t size);
|
|
void qemu_vfree(void *ptr);
|
|
|
|
void *get_mmap_addr(unsigned long size);
|
|
|
|
#endif
|