mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-06 08:40:28 +01:00
kernel: reduce log spam
This commit is contained in:
parent
d54fc9764f
commit
b2e180e533
|
|
@ -617,7 +617,7 @@ orbis::SysResult orbis::sys_osem_trywait(Thread *thread, sint id, sint need) {
|
|||
return {};
|
||||
}
|
||||
orbis::SysResult orbis::sys_osem_post(Thread *thread, sint id, sint count) {
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, thread, id, count);
|
||||
ORBIS_LOG_TRACE(__FUNCTION__, thread, id, count);
|
||||
Ref<Semaphore> sem = thread->tproc->semMap.get(id);
|
||||
if (count < 1 || count > sem->maxValue - sem->value)
|
||||
return ErrorCode::INVAL;
|
||||
|
|
|
|||
|
|
@ -348,10 +348,8 @@ orbis::ErrorCode orbis::umtx_cv_wait(Thread *thread, ptr<ucond> cv,
|
|||
auto start = std::chrono::steady_clock::now();
|
||||
std::uint64_t udiff = 0;
|
||||
while (true) {
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, ut - udiff);
|
||||
result = ErrorCode{node->second.cv.wait(chain.mtx, ut - udiff)};
|
||||
if (node->second.thr != thread) {
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, "wakeup");
|
||||
break;
|
||||
}
|
||||
udiff = std::chrono::duration_cast<std::chrono::microseconds>(
|
||||
|
|
@ -359,7 +357,6 @@ orbis::ErrorCode orbis::umtx_cv_wait(Thread *thread, ptr<ucond> cv,
|
|||
.count();
|
||||
if (udiff >= ut) {
|
||||
result = ErrorCode::TIMEDOUT;
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, "timeout");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,10 +51,6 @@ static orbis::ErrorCode console_write(orbis::File *file, orbis::Uio *uio,
|
|||
|
||||
for (auto vec : std::span(uio->iov, uio->iovcnt)) {
|
||||
uio->offset += vec.len;
|
||||
if (std::string_view((char *)vec.base, vec.len).contains("begin_setControllerFocus")) {
|
||||
ORBIS_LOG_ERROR(__FUNCTION__, thread->tid);
|
||||
thread->where();
|
||||
}
|
||||
|
||||
::write(dev->outputFd, vec.base, vec.len);
|
||||
::write(2, vec.base, vec.len);
|
||||
|
|
|
|||
Loading…
Reference in a new issue