Commit Graph

250 Commits

Author SHA1 Message Date
Michael Scire
b56c5aaaeb htc: implement htcfs protocol bringup 2021-04-11 03:58:46 -07:00
Michael Scire
1261e3447b htc: fix event wait loops for rpc clients 2021-04-11 03:58:46 -07:00
Michael Scire
6737e4220e htc: fixes, can now enter ReadyState with wip starlink code 2021-04-11 03:58:45 -07:00
Michael Scire
116e4e88b3 htc: fix htcfs sf definition 2021-04-11 03:58:45 -07:00
Michael Scire
cf07075828 htc: finish last code for Main() 2021-04-11 03:58:45 -07:00
Michael Scire
1af137ab1b htc: add htcfs server/service object skeletons 2021-04-11 03:58:44 -07:00
Michael Scire
435211a044 htclow: add Channel wrapper class 2021-04-11 03:58:44 -07:00
Michael Scire
5199b3edaa htcs: add hipc server/service object skeletons 2021-04-11 03:58:43 -07:00
Michael Scire
93966fd4b1 htc: skeleton HtcsManagerImpl, implement HtcsMonitor 2021-04-11 03:58:43 -07:00
Michael Scire
ddadc3e579 htc: ObserverThread (mostly), system now boots + works with htc in bg 2021-04-11 03:58:42 -07:00
Michael Scire
46653ac05a htc: implement psc/pm loop 2021-04-11 03:58:42 -07:00
Michael Scire
d2a70847d4 htc: implement HtcmiscImpl::ServerThread/HtcmiscRpcServer::ReceiveThread 2021-04-11 03:58:41 -07:00
Michael Scire
bd05b91eb0 htc: Implement RpcClient::ReceiveThread + SendThread 2021-04-11 03:58:41 -07:00
Michael Scire
21b2112bcc htc: Implement HtcmiscImpl::ClientThread 2021-04-11 03:58:40 -07:00
Michael Scire
8d3f11796a htc: add RpcTaskQueue/RpcTaskIdFreeList 2021-04-11 03:58:40 -07:00
Michael Scire
f2b51e2130 htc: nullptr != false 2021-04-11 03:58:39 -07:00
Michael Scire
0286aacf33 htc: add RpcTaskTable 2021-04-11 03:58:39 -07:00
Michael Scire
3d4fa15b09 htc: implement htcmisc rpc tasks 2021-04-11 03:58:39 -07:00
Michael Scire
8d6c9bb9ee htc: skeleton constructors for htcmisc 2021-04-11 03:58:38 -07:00
Michael Scire
a1e57a7413 htc: implement remainder of Mux/Tasks 2021-04-11 03:58:38 -07:00
Michael Scire
6a99b7fcd5 htc: implement mux side of connecting (and more) 2021-04-11 03:58:38 -07:00
Michael Scire
67c293faba htc: fix driver manager c/p error 2021-04-11 03:58:37 -07:00
Michael Scire
8bfa4d662e htc: implement remaining htclow::HtclowManagerImpl funcs (mux impls pending) 2021-04-11 03:58:37 -07:00
Michael Scire
fda4ddca62 htc: declare and begin impl of HtclowManagerImpl interface 2021-04-11 03:58:37 -07:00
Michael Scire
996e21863a htc: optimize Mux::QuerySendPacket 2021-04-11 03:58:36 -07:00
Michael Scire
33100d9fbb mux: optimize many accesses to O(log(n)) vs Nintendo's O(log(n)^2) 2021-04-11 03:58:36 -07:00
Michael Scire
042de46692 htc: implement HtclowDriver 2021-04-11 03:58:35 -07:00
Michael Scire
b6d73580ed htc: begin skeletoning types for HtcmiscImpl 2021-04-11 03:58:35 -07:00
Michael Scire
53b04c5225 htc: hook up creation of the htc manager service object 2021-04-11 03:58:35 -07:00
Michael Scire
276c3f8434 htc: module id names, skeleton rest of main 2021-04-11 03:58:34 -07:00
Michael Scire
e1b47dab0e htc: implement remaining worker thread send logic (for channel mux) 2021-04-11 03:58:34 -07:00
Michael Scire
aceea1eaa7 htc: send logic for HtcctrlService, bugfixes (thanks @misson20000) 2021-04-11 03:58:33 -07:00
Michael Scire
e5c573e354 rapidjson: add customization point for allocation/asserts 2021-04-11 03:58:33 -07:00
Michael Scire
cb8ed30517 htc: add remaining worker receive thread logic 2021-04-11 03:58:32 -07:00
Michael Scire
c44177cbcc htc: implement service channel parsing (ReceiveReadyPacket) 2021-04-11 03:58:32 -07:00
Michael Scire
c19e50bff1 htc: implement much of worker receive logic 2021-04-11 03:58:31 -07:00
Michael Scire
f8389f9460 htc: fix copy/paste error in usb driver 2021-04-11 03:58:31 -07:00
Michael Scire
6a4247a6ed htc: free ourselves from the tyranny of numerical enums 2021-04-11 03:58:30 -07:00
Michael Scire
9fd6ed27af htc: implement htclow listener thread 2021-04-11 03:58:30 -07:00
Michael Scire
5586a4fb2e htc: actually use the usb driver 2021-04-11 03:58:29 -07:00
Michael Scire
a56a4aed77 htc: implement complete usb driver 2021-04-11 03:58:29 -07:00
Michael Scire
7f16e202eb htc: implement (fixing linker errors) through HtclowManagerImpl::OpenDriver 2021-04-11 03:58:29 -07:00
Michael Scire
d664c8ed8a htclow: fix copyright headers, skeleton more manager types 2021-04-11 03:58:28 -07:00
Michael Scire
3d535e6103 htc: skeleton much of the type hierarchy for htclow manager 2021-04-11 03:58:28 -07:00
Michael Scire
d2102cb585 htc: skeleton some more of main 2021-04-11 03:58:28 -07:00
Michael Scire
2f17a76901 psc: fix pm module init 2021-02-15 19:51:58 -08:00
Michael Scire
89b7a83d3b usb: fix wrong command id for AppendConfigurationData 2021-02-15 19:51:58 -08:00
Michael Scire
570e5ceccb usb: add ds client api 2021-02-15 19:51:58 -08:00
Michael Scire
17960517ba hid: fix sm usage 2021-02-02 18:32:59 -08:00
Michael Scire
834549081a ncm: fix ContentStorageImplBase constructor 2021-02-02 18:32:59 -08:00