Coverage Report

Created: 2018-07-03 15:31

/home/travis/build/MoarVM/MoarVM/src/platform/mmap.h
Line
Count
Source
1
42.8k
#define MVM_PAGE_READ    1
2
21.4k
#define MVM_PAGE_WRITE   2
3
21.4k
#define MVM_PAGE_EXEC    4
4
5
void *MVM_platform_alloc_pages(size_t size, int mode);
6
int MVM_platform_set_page_mode(void * block, size_t size, int mode);
7
int MVM_platform_free_pages(void *block, size_t size);
8
void *MVM_platform_map_file(int fd, void **handle, size_t size, int writable);
9
int MVM_platform_unmap_file(void *block, void *handle, size_t size);