mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 22:15:17 -04:00
kern: SvcGetDebugThreadParam
This commit is contained in:
parent
e1f3bb10a5
commit
3afd723b92
6 changed files with 140 additions and 3 deletions
|
@ -23,7 +23,7 @@ namespace ams::kern {
|
|||
class KAutoObjectWithListContainer {
|
||||
NON_COPYABLE(KAutoObjectWithListContainer);
|
||||
NON_MOVEABLE(KAutoObjectWithListContainer);
|
||||
private:
|
||||
public:
|
||||
using ListType = util::IntrusiveRedBlackTreeMemberTraits<&KAutoObjectWithList::list_node>::TreeType<KAutoObjectWithList>;
|
||||
public:
|
||||
class ListAccessor : public KScopedLightLock {
|
||||
|
|
|
@ -522,6 +522,7 @@ namespace ams::kern {
|
|||
return ConditionVariableThreadTreeTraits::IsValid();
|
||||
}
|
||||
|
||||
static KThread *GetThreadFromId(u64 thread_id);
|
||||
static Result GetThreadList(s32 *out_num_threads, ams::kern::svc::KUserPointer<u64 *> out_thread_ids, s32 max_out_count);
|
||||
|
||||
using ConditionVariableThreadTreeType = ConditionVariableThreadTree;
|
||||
|
|
|
@ -71,6 +71,7 @@ namespace ams::kern::svc {
|
|||
/* 260 */ using ::ams::svc::ResultMessageTooLarge;
|
||||
|
||||
/* 517 */ using ::ams::svc::ResultInvalidProcessId;
|
||||
/* 518 */ using ::ams::svc::ResultInvalidThreadId;
|
||||
/* 520 */ using ::ams::svc::ResultProcessTerminated;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue