mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-09 11:51:58 -04:00
kern SvcGetDebugThreadContext, SvcSetDebugThreadContext
This commit is contained in:
parent
3afd723b92
commit
5c4fbf5c67
10 changed files with 363 additions and 4 deletions
|
@ -274,6 +274,11 @@ namespace ams::kern {
|
|||
return this->GetStackParameters().is_calling_svc;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE u8 GetSvcId() const {
|
||||
MESOSPHERE_ASSERT_THIS();
|
||||
return this->GetStackParameters().current_svc_id;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void RegisterDpc(DpcFlag flag) {
|
||||
this->GetStackParameters().dpc_flags |= flag;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue