Blame view

osdep.h 332 Bytes
1
2
3
4
5
#ifndef QEMU_OSDEP_H
#define QEMU_OSDEP_H

#include <stdarg.h>
bellard authored
6
#define qemu_printf printf
7
8

void *qemu_malloc(size_t size);
bellard authored
9
void *qemu_mallocz(size_t size);
10
void qemu_free(void *ptr);
bellard authored
11
char *qemu_strdup(const char *str);
12
13
14

void *qemu_vmalloc(size_t size);
void qemu_vfree(void *ptr);
15
16
17
18

void *get_mmap_addr(unsigned long size);

#endif