Searched refs:mmap (Results 1 - 14 of 14) sorted by relevance
/gem5/util/m5/ |
H A D | m5_mmap.c | 66 m5_mem = mmap(NULL, 0x10000, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 69 perror("Can't mmap /dev/mem");
|
/gem5/src/sim/ |
H A D | emul_driver.hh | 49 * Currently only open(), ioctl(), and mmap() calls are supported, but other 89 * Virtual method, invoked when the user program calls mmap() on 92 * @return The return ptr for the mmap, or the negation of the errno 95 virtual Addr mmap(ThreadContext *tc, Addr start, uint64_t length, function in class:EmulatedDriver
|
H A D | syscall_emul.hh | 836 * descriptor for subsequent ioctl or mmap calls. 1222 warn("mmap region limit exceeded with MREMAP_FIXED\n"); 1735 /// Real mmap handler. 1783 warn("mmap: writing to shared mmap region is currently " 1798 return emul_driver->mmap(tc, start, length, prot, tgt_flags, 1807 pmap = (decltype(pmap))mmap(nullptr, length, PROT_READ, MAP_PRIVATE, 1811 warn("mmap: failed to map file into host address space"); 1816 // Extend global mmap region if necessary. Note that we ignore the 1828 DPRINTF_SYSCALL(Verbose, " mmap rang [all...] |
/gem5/ext/libelf/ |
H A D | elf_begin.c | 58 if ((m = mmap(NULL, (size_t) sb.st_size, PROT_READ, MAP_PRIVATE, fd,
|
H A D | elf_update.c | 791 if ((e->e_rawfile = mmap(NULL, (size_t) newsize, PROT_READ,
|
/gem5/src/gpu-compute/ |
H A D | shader.hh | 195 Addr mmap(int length);
|
H A D | shader.cc | 76 Shader::mmap(int length) function in class:Shader 101 DPRINTF(HSAIL,"Shader::mmap start= %#x, %#x\n", start, length);
|
/gem5/src/base/ |
H A D | fiber.cc | 94 guardPage = mmap(nullptr, guardPageSize + stack_size, 98 perror("mmap"); 99 fatal("Could not mmap %d byte fiber stack.\n", stack_size);
|
/gem5/src/cpu/kvm/ |
H A D | perfevent.cc | 208 ringBuffer = (struct perf_event_mmap_page *)mmap(
|
H A D | base.cc | 145 _kvmRun = (struct kvm_run *)mmap(0, vcpuMMapSize,
|
/gem5/src/base/loader/ |
H A D | object_file.cc | 186 return fd; // return fd to decompressed temporary file for mmap()'ing 212 // mmap the whole shebang 213 uint8_t *file_data = (uint8_t *)mmap(NULL, len, PROT_READ, MAP_SHARED,
|
H A D | elf_object.cc | 253 void *mm = mmap(nullptr, sb.st_size, PROT_READ,
|
/gem5/src/mem/ |
H A D | physical.cc | 194 // perform the actual mmap 200 // pass noreserve to mmap 205 uint8_t* pmem = (uint8_t*) mmap(NULL, range.size(), 210 perror("mmap"); 211 fatal("Could not mmap %d bytes for range %s!\n", range.size(), 408 // mmap memoryfile
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 1075 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
|
Completed in 22 milliseconds