mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-25 20:42:40 +02:00
htc: skeleton main file/sysmodule dir
This commit is contained in:
parent
e1cc9f25a9
commit
1a5134d2d2
@ -123,6 +123,27 @@ namespace ams::impl {
|
|||||||
AMS_DEFINE_SYSTEM_THREAD(21, pgl, Main);
|
AMS_DEFINE_SYSTEM_THREAD(21, pgl, Main);
|
||||||
AMS_DEFINE_SYSTEM_THREAD(21, pgl, ProcessControlTask);
|
AMS_DEFINE_SYSTEM_THREAD(21, pgl, ProcessControlTask);
|
||||||
|
|
||||||
|
/* htc. */
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, Main);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtcIpc);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtcsIpc);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtcsMonitor);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtcfsIpc);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtcfsMonitor);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtclowDiscovery);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtclowTcpServer);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtclowUsbIndication);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtclowListen);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtclowObserver);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtclowSend);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtclowReceive);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, Htcmisc);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtcmiscReceive);
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, htc, HtcmiscSend);
|
||||||
|
|
||||||
|
AMS_DEFINE_SYSTEM_THREAD(10, tma, BridgePcieDriver);
|
||||||
|
|
||||||
|
|
||||||
#undef AMS_DEFINE_SYSTEM_THREAD
|
#undef AMS_DEFINE_SYSTEM_THREAD
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -98,6 +98,9 @@ namespace ams::ncm {
|
|||||||
static const SystemProgramId Pgl;
|
static const SystemProgramId Pgl;
|
||||||
|
|
||||||
static const SystemProgramId End;
|
static const SystemProgramId End;
|
||||||
|
|
||||||
|
static const SystemProgramId Manu;
|
||||||
|
static const SystemProgramId Htc;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct AtmosphereProgramId {
|
struct AtmosphereProgramId {
|
||||||
@ -197,6 +200,9 @@ namespace ams::ncm {
|
|||||||
|
|
||||||
inline constexpr const SystemProgramId SystemProgramId::End = { 0x01000000000007FFul };
|
inline constexpr const SystemProgramId SystemProgramId::End = { 0x01000000000007FFul };
|
||||||
|
|
||||||
|
inline constexpr const SystemProgramId SystemProgramId::Manu = { 0x010000000000B14Aul };
|
||||||
|
inline constexpr const SystemProgramId SystemProgramId::Htc = { 0x010000000000B240ul };
|
||||||
|
|
||||||
inline constexpr bool IsSystemProgramId(const ProgramId &program_id) {
|
inline constexpr bool IsSystemProgramId(const ProgramId &program_id) {
|
||||||
return (SystemProgramId::Start <= program_id && program_id <= SystemProgramId::End) || IsAtmosphereProgramId(program_id);
|
return (SystemProgramId::Start <= program_id && program_id <= SystemProgramId::End) || IsAtmosphereProgramId(program_id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user