aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/mmap-alloc.h
blob: 56388e689bb3b1e876f1c0a30cc98e92cda68f89 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef QEMU_MMAP_ALLOC
#define QEMU_MMAP_ALLOC

#include "qemu-common.h"

void *qemu_ram_mmap(int fd, size_t size, size_t align, bool shared);

void qemu_ram_munmap(void *ptr, size_t size);

#endif