Lines Matching refs:tc

156 ArmSemihosting::call64(ThreadContext *tc, uint32_t op, uint64_t param)
173 PortProxy &proxy = physProxy(tc);
174 ByteOrder endian = ArmISA::byteOrder(tc);
183 auto ret_errno = (this->*call->call)(tc, true, argv);
191 ArmSemihosting::call32(ThreadContext *tc, uint32_t op, uint32_t param)
208 PortProxy &proxy = physProxy(tc);
209 ByteOrder endian = ArmISA::byteOrder(tc);
218 auto ret_errno = (this->*call->call)(tc, false, argv);
253 ArmSemihosting::physProxy(ThreadContext *tc)
255 if (ArmISA::inSecureState(tc)) {
257 System *sys = tc->getSystemPtr();
264 return tc->getPhysProxy();
270 ArmSemihosting::readString(ThreadContext *tc, Addr ptr, size_t len)
275 physProxy(tc).readBlob(ptr, buf.data(), len);
281 ArmSemihosting::callOpen(ThreadContext *tc, bool aarch64,
293 std::string fname = readString(tc, name_base, name_size);
309 ArmSemihosting::callClose(ThreadContext *tc, bool aarch64,
332 ArmSemihosting::callWriteC(ThreadContext *tc, bool aarch64,
335 const char c = physProxy(tc).read<char>(argv[0]);
344 ArmSemihosting::callWrite0(ThreadContext *tc, bool aarch64,
348 PortProxy &proxy = physProxy(tc);
361 ArmSemihosting::callWrite(ThreadContext *tc, bool aarch64,
368 physProxy(tc).readBlob(argv[2], buffer.data(), buffer.size());
382 ArmSemihosting::callRead(ThreadContext *tc, bool aarch64,
395 physProxy(tc).writeBlob(argv[2], buffer.data(), ret);
403 ArmSemihosting::callReadC(ThreadContext *tc, bool aarch64,
410 ArmSemihosting::callIsError(ThreadContext *tc, bool aarch64,
421 ArmSemihosting::callIsTTY(ThreadContext *tc, bool aarch64,
436 ArmSemihosting::callSeek(ThreadContext *tc, bool aarch64,
451 ArmSemihosting::callFLen(ThreadContext *tc, bool aarch64,
466 ArmSemihosting::callTmpNam(ThreadContext *tc, bool aarch64,
482 physProxy(tc).writeBlob(guest_buf, path, path_len + 1);
487 ArmSemihosting::callRemove(ThreadContext *tc, bool aarch64,
490 std::string fname = readString(tc, argv[1], argv[2]);
500 ArmSemihosting::callRename(ThreadContext *tc, bool aarch64,
503 std::string from = readString(tc, argv[1], argv[2]);
504 std::string to = readString(tc, argv[3], argv[4]);
514 ArmSemihosting::callClock(ThreadContext *tc, bool aarch64,
521 ArmSemihosting::callTime(ThreadContext *tc, bool aarch64,
528 ArmSemihosting::callSystem(ThreadContext *tc, bool aarch64,
531 const std::string cmd = readString(tc, argv[1], argv[2]);
539 ArmSemihosting::callErrno(ThreadContext *tc, bool aarch64,
547 ArmSemihosting::callGetCmdLine(ThreadContext *tc, bool aarch64,
551 PortProxy &proxy = physProxy(tc);
552 ByteOrder endian = ArmISA::byteOrder(tc);
566 ArmSemihosting::callHeapInfo(ThreadContext *tc, bool aarch64,
569 const PhysicalMemory &phys = tc->getSystemPtr()->getPhysMem();
606 PortProxy &proxy = physProxy(tc);
607 ByteOrder endian = ArmISA::byteOrder(tc);
624 ArmSemihosting::callExit(ThreadContext *tc, bool aarch64,
637 ArmSemihosting::callExitExtended(ThreadContext *tc, bool aarch64,
658 ArmSemihosting::callElapsed(ThreadContext *tc, bool aarch64,
661 PortProxy &proxy = physProxy(tc);
662 ByteOrder endian = ArmISA::byteOrder(tc);
677 ArmSemihosting::callTickFreq(ThreadContext *tc, bool aarch64,