mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 21:55:46 +00:00
nvhost_ctrl: Stub out IocCtrlEventRegister.
This commit is contained in:
parent
fb8aa21fa5
commit
16a06abf97
2 changed files with 10 additions and 0 deletions
|
@ -19,6 +19,8 @@ u32 nvhost_ctrl::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<
|
||||||
return IocCtrlEventWait(input, output, false);
|
return IocCtrlEventWait(input, output, false);
|
||||||
case IoctlCommand::IocCtrlEventWaitAsyncCommand:
|
case IoctlCommand::IocCtrlEventWaitAsyncCommand:
|
||||||
return IocCtrlEventWait(input, output, true);
|
return IocCtrlEventWait(input, output, true);
|
||||||
|
case IoctlCommand::IocCtrlEventRegisterCommand:
|
||||||
|
return IocCtrlEventRegister(input, output);
|
||||||
}
|
}
|
||||||
UNIMPLEMENTED_MSG("Unimplemented ioctl");
|
UNIMPLEMENTED_MSG("Unimplemented ioctl");
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -61,4 +63,10 @@ u32 nvhost_ctrl::IocCtrlEventWait(const std::vector<u8>& input, std::vector<u8>&
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u32 nvhost_ctrl::IocCtrlEventRegister(const std::vector<u8>& input, std::vector<u8>& output) {
|
||||||
|
NGLOG_WARNING(Service_NVDRV, "(STUBBED) called");
|
||||||
|
// TODO(bunnei): Implement this.
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace Service::Nvidia::Devices
|
} // namespace Service::Nvidia::Devices
|
||||||
|
|
|
@ -135,6 +135,8 @@ private:
|
||||||
u32 NvOsGetConfigU32(const std::vector<u8>& input, std::vector<u8>& output);
|
u32 NvOsGetConfigU32(const std::vector<u8>& input, std::vector<u8>& output);
|
||||||
|
|
||||||
u32 IocCtrlEventWait(const std::vector<u8>& input, std::vector<u8>& output, bool is_async);
|
u32 IocCtrlEventWait(const std::vector<u8>& input, std::vector<u8>& output, bool is_async);
|
||||||
|
|
||||||
|
u32 IocCtrlEventRegister(const std::vector<u8>& input, std::vector<u8>& output);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Service::Nvidia::Devices
|
} // namespace Service::Nvidia::Devices
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue