size_t readfile(const char *path, void *buffer, size_t count, size_t offset)
Wrapper for reading a file directly using a path.
void * mmap(fd_t fd, void *address, size_t length, prot_t prot)
System call to map memory from a file.
static void init_generic()
static uint64_t munmap_generic(void *addr, size_t length)
static void benchmark_mmap(uint64_t pages)
static void * mmap_generic(size_t length)