htcs: add hipc server/service object skeletons

This commit is contained in:
Michael Scire
2021-02-10 19:36:35 -08:00
committed by SciresM
parent 10255f7f51
commit b898241112
9 changed files with 464 additions and 3 deletions

View File

@@ -214,7 +214,7 @@ namespace ams::htc {
}
void HtcsIpcThreadFunction(void *arg) {
//htcs::server::LoopHipcServer();
htcs::server::LoopHipcServer();
}
}
@@ -263,8 +263,8 @@ int main(int argc, char **argv)
os::SetThreadNamePointer(std::addressof(htcfs_ipc_thread), AMS_GET_SYSTEM_THREAD_NAME(htc, HtcfsIpc));
/* Initialize the htcs server. */
//htcs::server::Initialize();
//htcs::server::RegisterHipcServer();
htcs::server::Initialize();
htcs::server::RegisterHipcServer();
/* Create the htcs ipc threads. */
os::ThreadType htcs_ipc_threads[htc::NumHtcsIpcThreads];