blob: 933c024ac5a5494852795a2f277680f6ea9365a2 [file] [log] [blame] [edit]
#ifndef QEMU_MMAP_ALLOC_H
#define QEMU_MMAP_ALLOC_H
#include "qemu-common.h"
size_t qemu_fd_getpagesize(int fd);
void *qemu_ram_mmap(int fd, size_t size, size_t align, bool shared);
void qemu_ram_munmap(void *ptr, size_t size);
#endif