debuggers.hg

view tools/ioemu/osdep.h @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 #ifndef QEMU_OSDEP_H
2 #define QEMU_OSDEP_H
4 #include <stdarg.h>
5 #ifdef __OpenBSD__
6 #include <sys/types.h>
7 #include <sys/signal.h>
8 #endif
10 #define qemu_printf printf
12 void *qemu_malloc(size_t size);
13 void *qemu_mallocz(size_t size);
14 void qemu_free(void *ptr);
15 char *qemu_strdup(const char *str);
17 void *qemu_memalign(size_t alignment, size_t size);
18 void *qemu_vmalloc(size_t size);
19 void qemu_vfree(void *ptr);
21 void *get_mmap_addr(unsigned long size);
23 #endif