/gem5/ext/libelf/ |
H A D | elf_phnum.c | 37 int ec; local 40 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
|
H A D | elf_shnum.c | 37 int ec; local 40 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
|
H A D | gelf_checksum.c | 47 int ec; local 49 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 53 return (_libelf_checksum(e, ec));
|
H A D | libelf_shdr.c | 32 _libelf_getshdr(Elf_Scn *s, int ec) argument 42 if (ec == ELFCLASSNONE) 43 ec = e->e_class; 45 if (ec != e->e_class) {
|
H A D | elf_shstrndx.c | 37 int ec; local 40 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL) 57 int ec; local 60 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64) || 61 ((eh = _libelf_ehdr(e, ec, 0)) == NULL)) { 66 return (_libelf_setshstrndx(e, eh, ec, strndx));
|
H A D | gelf_dyn.c | 36 int ec; local 51 ec = e->e_class; 52 assert(ec == ELFCLASS32 || ec == ELFCLASS64); 54 if (ec == ELFCLASS32) 64 msz = _libelf_msize(ELF_T_DYN, ec, e->e_version); 73 if (ec == ELFCLASS32) { 92 int ec; local 107 ec = e->e_class; 108 assert(ec [all...] |
H A D | gelf_rel.c | 37 int ec; local 52 ec = e->e_class; 53 assert(ec == ELFCLASS32 || ec == ELFCLASS64); 55 if (ec == ELFCLASS32) 65 msz = _libelf_msize(ELF_T_REL, ec, e->e_version); 74 if (ec == ELFCLASS32) { 93 int ec; local 108 ec = e->e_class; 109 assert(ec [all...] |
H A D | gelf_rela.c | 37 int ec; local 52 ec = e->e_class; 53 assert(ec == ELFCLASS32 || ec == ELFCLASS64); 55 if (ec == ELFCLASS32) 65 msz = _libelf_msize(ELF_T_RELA, ec, e->e_version); 74 if (ec == ELFCLASS32) { 94 int ec; local 109 ec = e->e_class; 110 assert(ec [all...] |
H A D | libelf_extended.c | 47 _libelf_setshnum(Elf *e, void *eh, int ec, size_t shnum) argument 57 if (ec == ELFCLASS32) 67 if (ec == ELFCLASS32) 77 _libelf_setshstrndx(Elf *e, void *eh, int ec, size_t shstrndx) argument 87 if (ec == ELFCLASS32) 97 if (ec == ELFCLASS32) 106 _libelf_setphnum(Elf *e, void *eh, int ec, size_t phnum) argument 116 if (ec == ELFCLASS32) 126 if (ec == ELFCLASS32)
|
H A D | gelf_symshndx.c | 38 int ec; local 54 ec = e->e_class; 55 assert(ec == ELFCLASS32 || ec == ELFCLASS64); 57 if (ec == ELFCLASS32) 68 msz = _libelf_msize(ELF_T_WORD, ec, e->e_version); 86 int ec; local 101 ec = e->e_class; 102 assert(ec == ELFCLASS32 || ec [all...] |
H A D | libelf_phdr.c | 37 _libelf_getphdr(Elf *e, int ec) argument 47 assert(ec == ELFCLASS32 || ec == ELFCLASS64); 54 if ((phdr = (ec == ELFCLASS32 ? 63 if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL) 68 if (ec == ELFCLASS32) { 87 msz = _libelf_msize(ELF_T_PHDR, ec, EV_CURRENT); 96 if (ec == ELFCLASS32) 102 xlator = _libelf_get_translator(ELF_T_PHDR, ELF_TOMEMORY, ec); 110 _libelf_newphdr(Elf *e, int ec, size_ argument [all...] |
H A D | gelf_ehdr.c | 51 int ec; local 56 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 61 if (ec == ELFCLASS32) { 83 assert(ec == ELFCLASS64); 105 gelf_newehdr(Elf *e, int ec) argument 108 (ec == ELFCLASS32 || ec == ELFCLASS64)) 109 return (_libelf_ehdr(e, ec, 1)); 118 int ec; local [all...] |
H A D | gelf_sym.c | 37 int ec; local 52 ec = e->e_class; 53 assert(ec == ELFCLASS32 || ec == ELFCLASS64); 55 if (ec == ELFCLASS32) 65 msz = _libelf_msize(ELF_T_SYM, ec, e->e_version); 74 if (ec == ELFCLASS32) { 98 int ec; local 113 ec = e->e_class; 114 assert(ec [all...] |
H A D | gelf_shdr.c | 50 int ec; local 63 ec = s->s_elf->e_class; 64 assert(ec == ELFCLASS32 || ec == ELFCLASS64); 66 if (ec == ELFCLASS32) { 90 int ec; local 97 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 107 if (ec == ELFCLASS64) {
|
H A D | elf_flag.c | 60 int ec; local 68 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 73 if (ec == ELFCLASS32) 111 int ec; local 119 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 124 if (ec == ELFCLASS32)
|
H A D | libelf_ehdr.c | 41 _libelf_load_extended(Elf *e, int ec, uint64_t shoff, uint16_t phnum, argument 51 fsz = _libelf_fsize(ELF_T_SHDR, ec, e->e_version, 1); 62 xlator = _libelf_get_translator(ELF_T_SHDR, ELF_TOMEMORY, ec); 66 #define GET_SHDR_MEMBER(M) ((ec == ELFCLASS32) ? scn->s_shdr.s_shdr32.M : \ 99 _libelf_ehdr(Elf *e, int ec, int allocate) argument 107 assert(ec == ELFCLASS32 || ec == ELFCLASS64); 114 if (e->e_class != ELFCLASSNONE && e->e_class != ec) { 125 e->e_class = ec; 127 if (ec [all...] |
H A D | gelf_phdr.c | 49 int ec; local 56 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64) || 62 if (ec == ELFCLASS32) { 126 int ec, phnum; local 132 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 142 if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL) 145 if (ec == ELFCLASS32) 155 if (ec [all...] |
H A D | elf_scn.c | 43 int ec, swapbytes; local 64 ec = e->e_class; 65 fsz = _libelf_fsize(ELF_T_SHDR, ec, e->e_version, (size_t) 1); 70 if (ec == ELFCLASS32) { 80 xlator = _libelf_get_translator(ELF_T_SHDR, ELF_TOMEMORY, ec); 105 if (ec == ELFCLASS32) { 125 int ec; local 130 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) { 135 if ((ehdr = _libelf_ehdr(e, ec, 164 int ec; local [all...] |
H A D | elf_update.c | 77 int ec; local 101 ec = e->e_class; 103 if (ec == ELFCLASS32) { 138 sh_align = _libelf_falign(elftype, ec); 200 (sh_entsize = _libelf_fsize(elftype, ec, e->e_version, 207 if (ec == ELFCLASS32) { 269 int ec; local 274 ec = e->e_class; 287 if (ec == ELFCLASS32) 323 int ec, eh_clas local 504 int ec; local 622 int ec; local 837 int ec; local [all...] |
/gem5/util/batch/ |
H A D | batch.py | 142 ec = oar.wait() 144 if ec != 0 and self.oarhost: 239 ec = pbs.wait() 241 if ec != 0 and self.pbshost: 247 ec = ssh.wait() 249 return ec
|
H A D | job.py | 232 thepid,ec = os.waitpid(childpid, 0) 233 if ec: 234 print 'Exit code ', ec
|
/gem5/src/arch/arm/ |
H A D | faults.hh | 180 const ExceptionClass ec; member in struct:ArmISA::ArmFault::FaultVals 198 fiqDisable(fiqDisable_), ec(ec_) {} 233 virtual ExceptionClass ec(ThreadContext *tc) const = 0; 273 ExceptionClass ec(ThreadContext *tc) const override { return vals.ec; } 314 ExceptionClass ec(ThreadContext *tc) const override; 332 ExceptionClass ec(ThreadContext *tc) const override; 345 ExceptionClass ec(ThreadContext *tc) const override; 364 ExceptionClass ec(ThreadContext *tc) const override; 380 ExceptionClass ec(ThreadContex [all...] |
H A D | faults.cc | 386 uint32_t exc_class = (uint32_t) ec(tc); 590 if (ec(tc) != EC_UNKNOWN) 882 SupervisorCall::ec(ThreadContext *tc) const function in class:ArmISA::SupervisorCall 885 (from64 ? EC_SVC_64 : vals.ec); 905 UndefinedInstruction::ec(ThreadContext *tc) const function in class:ArmISA::UndefinedInstruction 912 return (overrideEc != EC_INVALID) ? overrideEc : vals.ec; 921 HypervisorCall::ec(ThreadContext *tc) const function in class:ArmISA::HypervisorCall 923 return from64 ? EC_HVC_64 : vals.ec; 927 HypervisorTrap::ec(ThreadContext *tc) const function in class:ArmISA::HypervisorTrap 929 return (overrideEc != EC_INVALID) ? overrideEc : vals.ec; 1002 SecureMonitorCall::ec(ThreadContext *tc) const function in class:ArmISA::SecureMonitorCall 1032 SupervisorTrap::ec(ThreadContext *tc) const function in class:ArmISA::SupervisorTrap 1041 SecureMonitorTrap::ec(ThreadContext *tc) const function in class:ArmISA::SecureMonitorTrap 1243 PrefetchAbort::ec(ThreadContext *tc) const function in class:ArmISA::PrefetchAbort 1257 ExceptionClass ec = ArmFaultVals<PrefetchAbort>::vals.ec; local 1300 DataAbort::ec(ThreadContext *tc) const function in class:ArmISA::DataAbort 1318 ExceptionClass ec = ArmFaultVals<DataAbort>::vals.ec; local 1597 SoftwareBreakpoint::ec(ThreadContext *tc) const function in class:ArmISA::SoftwareBreakpoint [all...] |
/gem5/util/pbs/ |
H A D | pbs.py | 172 ec = pbs.wait() 174 if ec != 0 and self.pbshost: 180 ec = ssh.wait() 182 return ec
|
H A D | job.py | 227 thepid,ec = os.waitpid(childpid, 0) 228 if ec: 229 print 'Exit code ', ec
|