htclow: add Channel wrapper class

This commit is contained in:
Michael Scire 2021-02-10 22:52:12 -08:00 committed by SciresM
parent dec06ff649
commit 9fbbb9fadb
13 changed files with 388 additions and 4 deletions

View file

@ -173,8 +173,16 @@ namespace ams::htclow {
return m_mux.SendEnd(task_id);
}
Result HtclowManagerImpl::WaitReceiveBegin(u32 *out_task_id, impl::ChannelInternalType channel, size_t size) {
return m_mux.WaitReceiveBegin(out_task_id, channel, size);
}
Result HtclowManagerImpl::WaitReceiveEnd(u32 task_id) {
return m_mux.WaitReceiveEnd(task_id);
}
void HtclowManagerImpl::SetConfig(impl::ChannelInternalType channel, const ChannelConfig &config) {
AMS_ABORT("HtclowManagerImpl::SetConfig");
return m_mux.SetConfig(channel, config);
}
void HtclowManagerImpl::SetDebugDriver(driver::IDriver *driver) {