mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 14:35:17 -04:00
kern: implement SvcGetThreadContext3
This commit is contained in:
parent
f70ee67753
commit
4bb9ef061a
7 changed files with 139 additions and 3 deletions
|
@ -22,7 +22,8 @@ namespace ams::kern::arch::arm64 {
|
|||
u64 x[(30 - 0) + 1];
|
||||
u64 sp;
|
||||
u64 pc;
|
||||
u64 psr;
|
||||
u32 psr;
|
||||
u32 write;
|
||||
u64 tpidr;
|
||||
u64 reserved;
|
||||
};
|
||||
|
|
|
@ -74,7 +74,11 @@ namespace ams::kern::arch::arm64 {
|
|||
|
||||
void CloneFpuStatus();
|
||||
|
||||
const u128 *GetFpuRegisters() const { return this->fpu_registers; }
|
||||
|
||||
/* TODO: More methods (especially FPU management) */
|
||||
};
|
||||
|
||||
void GetUserContext(ams::svc::ThreadContext *out, const KThread *thread);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue