mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
[rpcsx-os/orbis-kernel] random bugfixes
ipmi: fixed respond sync, get message, try get message, try send message event: detach event emitter from file signals: basic implementation linker: fixed zero symbol relocation, fixed exec relocation shared_cv/mutex: implement eintr response support shared_cv: fixed possible loop instead of wait ipmi: implement invoke async, respond async, get result, get client app id, client get name rpcsx-os: add safemode flag
This commit is contained in:
parent
8791312d4f
commit
65e653f5ef
81 changed files with 2586 additions and 761 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include "orbis/KernelAllocator.hpp"
|
||||
#include "orbis/error/ErrorCode.hpp"
|
||||
#include "orbis/file.hpp"
|
||||
#include "orbis/thread/Thread.hpp"
|
||||
#include "orbis/uio.hpp"
|
||||
#include "orbis/utils/Logs.hpp"
|
||||
#include <span>
|
||||
|
|
@ -50,6 +51,11 @@ 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…
Add table
Add a link
Reference in a new issue