mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 07:18:22 -04:00
tio: add stub sysmodule to host target io server
This commit is contained in:
parent
a739e3fb20
commit
cee1ecd06f
5 changed files with 316 additions and 0 deletions
|
@ -144,6 +144,11 @@ namespace ams::impl {
|
|||
|
||||
AMS_DEFINE_SYSTEM_THREAD(10, tma, BridgePcieDriver);
|
||||
|
||||
/* DevServer/TioServer. */
|
||||
AMS_DEFINE_SYSTEM_THREAD(21, TioServer, Main);
|
||||
AMS_DEFINE_SYSTEM_THREAD(21, TioServer, FileServerHtcsServer);
|
||||
AMS_DEFINE_SYSTEM_THREAD(21, TioServer, SdCardObserver);
|
||||
|
||||
|
||||
#undef AMS_DEFINE_SYSTEM_THREAD
|
||||
|
||||
|
|
|
@ -101,6 +101,7 @@ namespace ams::ncm {
|
|||
|
||||
static const SystemProgramId Manu;
|
||||
static const SystemProgramId Htc;
|
||||
static const SystemProgramId DevServer;
|
||||
};
|
||||
|
||||
struct AtmosphereProgramId {
|
||||
|
@ -202,6 +203,7 @@ namespace ams::ncm {
|
|||
|
||||
inline constexpr const SystemProgramId SystemProgramId::Manu = { 0x010000000000B14Aul };
|
||||
inline constexpr const SystemProgramId SystemProgramId::Htc = { 0x010000000000B240ul };
|
||||
inline constexpr const SystemProgramId SystemProgramId::DevServer = { 0x010000000000D623ul };
|
||||
|
||||
inline constexpr bool IsSystemProgramId(const ProgramId &program_id) {
|
||||
return (SystemProgramId::Start <= program_id && program_id <= SystemProgramId::End) || IsAtmosphereProgramId(program_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue