- added ThreadContext struct
- cleaned up CreateThread svc
This commit is contained in:
parent
cf2eb8e3d3
commit
367d63691f
2 changed files with 26 additions and 8 deletions
|
@ -6,6 +6,20 @@
|
|||
|
||||
#include "common/common_types.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// SVC structures
|
||||
|
||||
struct ThreadContext {
|
||||
u32 cpu_registers[13];
|
||||
u32 sp;
|
||||
u32 lr;
|
||||
u32 pc;
|
||||
u32 cpsr;
|
||||
u32 fpu_registers[32];
|
||||
u32 fpscr;
|
||||
u32 fpexc;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Namespace Syscall
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue