mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 23:45:12 +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
|
|
@ -9,6 +9,24 @@ struct GbaseFile : orbis::File {};
|
|||
static orbis::ErrorCode gbase_ioctl(orbis::File *file, std::uint64_t request,
|
||||
void *argp, orbis::Thread *thread) {
|
||||
|
||||
if (request == 0xc0304510) {
|
||||
ORBIS_LOG_WARNING("gbase ioctl", request);
|
||||
struct Args {
|
||||
std::uint64_t unk0;
|
||||
std::uint64_t unk1;
|
||||
std::uint32_t currentClock;
|
||||
std::uint32_t unk2;
|
||||
std::uint64_t unk3;
|
||||
std::uint64_t unk4;
|
||||
std::uint64_t unk5;
|
||||
};
|
||||
|
||||
static_assert(sizeof(Args) == 48);
|
||||
*reinterpret_cast<Args *>(argp) = {
|
||||
.currentClock = 1,
|
||||
};
|
||||
return{};
|
||||
}
|
||||
ORBIS_LOG_FATAL("Unhandled gbase ioctl", request);
|
||||
thread->where();
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue