Searched refs:fileData (Results 1 - 9 of 9) sorted by relevance

/gem5/src/base/loader/
H A Ddtb_object.cc60 text.fileImage = fileData;
77 if (fileData && !fileDataMmapped) {
78 delete [] fileData;
79 fileData = NULL;
80 } else if (fileData) {
81 munmap(fileData, len);
82 fileData = NULL;
98 int ret = fdt_open_into((void*)fileData, (void*)fdt_buf_w_space, (newLen));
147 munmap(fileData, this->len);
148 fileData
[all...]
H A Decoff_object.cc70 execHdr = (ecoff_exechdr *)fileData;
78 text.fileImage = fileData + ECOFF_TXTOFF(execHdr);
82 data.fileImage = fileData + ECOFF_DATOFF(execHdr);
114 ecoff_symhdr *syms = (ecoff_symhdr *)(fileData + fileHdr->f_symptr);
120 ecoff_extsym *ext_syms = (ecoff_extsym *)(fileData + syms->cbExtOffset);
122 char *ext_strings = (char *)(fileData + syms->cbSsExtOffset);
144 ecoff_symhdr *syms = (ecoff_symhdr *)(fileData + fileHdr->f_symptr);
150 ecoff_sym *local_syms = (ecoff_sym *)(fileData + syms->cbSymOffset);
151 char *local_strings = (char *)(fileData + syms->cbSsOffset);
152 ecoff_fdr *fdesc = (ecoff_fdr *)(fileData
[all...]
H A Daout_object.cc61 execHdr = (aout_exechdr *)fileData;
67 text.fileImage = fileData + N_TXTOFF(*execHdr);
71 data.fileImage = fileData + N_DATOFF(*execHdr);
H A Dobject_file.cc59 : filename(_filename), fileData(_data), len(_len),
68 if (fileData) {
69 ::munmap((char*)fileData, len);
70 fileData = NULL;
H A Draw_object.cc50 text.fileImage = fileData;
H A Delf_object.cc285 Elf *elf = elf_memory((char*)fileData,len);
370 text.fileImage = fileData + phdr.p_offset;
375 data.fileImage = fileData + phdr.p_offset;
382 extra.fileImage = fileData + phdr.p_offset;
414 Elf *elf = elf_memory((char*)fileData,len);
529 Elf *elf = elf_memory((char*)fileData,len);
H A Dobject_file.hh77 uint8_t *fileData; member in class:ObjectFile
/gem5/src/gpu-compute/
H A Dbrig_object.hh80 uint8_t *fileData);
93 BrigObject(const std::string &fname, int len, uint8_t *fileData);
H A Dbrig_object.cc405 BrigObject::tryFile(const std::string &fname, int len, uint8_t *fileData) argument
409 if (memcmp(brig_ident, fileData, MODULE_IDENTIFICATION_LENGTH))
412 return new BrigObject(fname, len, fileData);
415 BrigObject::BrigObject(const std::string &fname, int len, uint8_t *fileData) argument
419 BrigModuleHeader *mod_hdr = (BrigModuleHeader*)fileData;
439 uint64_t *sec_idx_table = (uint64_t*)(fileData + mod_hdr->sectionIndex);
441 uint8_t *sec_hdr_byte_ptr = fileData + sec_idx_table[sec_idx];
466 delete[] fileData;

Completed in 13 milliseconds