/gem5/src/sim/ |
H A D | init_signals.cc | 90 struct sigaction sa; local 92 memset(&sa, 0, sizeof(sa)); 93 sigemptyset(&sa.sa_mask); 94 sa.sa_handler = handler; 95 sa.sa_flags = flags; 97 if (sigaction(signal, &sa, NULL) == -1)
|
H A D | syscall_emul.cc | 1420 struct sockaddr sa, *sap = NULL; local 1424 memcpy(&sa, (struct sockaddr *)addrBuf.bufferPtr(), 1426 sap = &sa; 1442 memcpy(addrBuf.bufferPtr(), sap, sizeof(sa)); 1477 struct sockaddr sa, *sap = nullptr; local 1478 memset(&sa, 0, sizeof(sockaddr)); 1482 memcpy(&sa, (sockaddr*)addrBuf.bufferPtr(), addrLen); 1483 sap = &sa; 1769 struct sockaddr sa; local 1770 int status = getsockname(sim_fd, &sa, [all...] |
H A D | syscall_emul.hh | 2753 struct sockaddr sa; local 2793 memcpy(&sa, (struct sockaddr *)addrBufPtr->bufferPtr(), 2797 host_fd = accept(sim_fd, &sa, &addrLen); 2803 memcpy(addrBufPtr->bufferPtr(), &sa, sizeof(sa));
|
/gem5/ext/dnet/ |
H A D | addr.h | 57 int addr_ntos(const struct addr *a, struct sockaddr *sa); 58 int addr_ston(const struct sockaddr *sa, struct addr *a); 60 int addr_btos(uint16_t bits, struct sockaddr *sa); 61 int addr_stob(const struct sockaddr *sa, uint16_t *bits);
|
/gem5/src/arch/mips/ |
H A D | dsp.cc | 278 MipsISA::dspShll(int32_t a, uint32_t sa, int32_t fmt, int32_t saturate, argument 286 sa = bits(sa, SIMD_LOG2N[fmt] - 1, 0); 292 a_values[i] = dspSaturate(a_values[i] << sa, fmt, sign, &ouflag); 294 a_values[i] = checkOverflow(a_values[i] << sa, fmt, sign, &ouflag); 307 MipsISA::dspShrl(int32_t a, uint32_t sa, int32_t fmt, int32_t sign) argument 313 sa = bits(sa, SIMD_LOG2N[fmt] - 1, 0); 318 a_values[i] = a_values[i] >> sa; 326 MipsISA::dspShra(int32_t a, uint32_t sa, int32_ argument 354 int sa = SIMD_NBITS[fmt]; local 876 int sa = 0; local 969 dspPrecrSra(int32_t a, int32_t b, int32_t sa, int32_t fmt, int32_t round) argument 1041 dspExtr(int64_t dspac, int32_t fmt, int32_t sa, int32_t round, int32_t saturate, uint32_t *dspctl) argument [all...] |
H A D | dsp.hh | 149 int32_t dspShll(int32_t a, uint32_t sa, int32_t fmt, int32_t saturate, 151 int32_t dspShrl(int32_t a, uint32_t sa, int32_t fmt, int32_t sign); 152 int32_t dspShra(int32_t a, uint32_t sa, int32_t fmt, int32_t round, 184 int32_t dspPrecrSra(int32_t a, int32_t b, int32_t sa, int32_t fmt, 188 int32_t dspExtr(int64_t dspac, int32_t fmt, int32_t sa, int32_t round,
|
H A D | pra_constants.hh | 258 Bitfield<3, 0> sa; member in namespace:MipsISA
|
H A D | isa.cc | 237 cfg2.sa = cp.CP0_Config2_SA;
|
/gem5/src/cpu/kvm/ |
H A D | base.cc | 1232 struct sigaction sa; local 1234 memset(&sa, 0, sizeof(sa)); 1235 sa.sa_sigaction = onKickSignal; 1236 sa.sa_flags = SA_SIGINFO | SA_RESTART; 1237 if (sigaction(KVM_KICK_SIGNAL, &sa, NULL) == -1)
|
/gem5/src/arch/arm/ |
H A D | utility.cc | 823 return ((SCTLR) tc->readMiscReg(MISCREG_SCTLR_EL3)).sa; 825 return ((SCTLR) tc->readMiscReg(MISCREG_SCTLR_EL2)).sa; 827 return ((SCTLR) tc->readMiscReg(MISCREG_SCTLR_EL1)).sa;
|
H A D | miscregs_types.hh | 365 Bitfield<3> sa; // Stack Alignment Check Enable (AArch64 only) member in namespace:ArmISA
|
/gem5/src/arch/riscv/ |
H A D | pra_constants.hh | 258 Bitfield<3, 0> sa; member in namespace:RiscvISA
|