From 367d63691fe810c83979fee04b181338f96cfb50 Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 15 May 2014 18:25:56 -0400 Subject: - added ThreadContext struct - cleaned up CreateThread svc --- src/core/hle/syscall.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/core/hle/syscall.h') diff --git a/src/core/hle/syscall.h b/src/core/hle/syscall.h index 7a94e0136..15af5e138 100644 --- a/src/core/hle/syscall.h +++ b/src/core/hle/syscall.h @@ -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 -- cgit v1.2.3