summaryrefslogtreecommitdiffstats
path: root/src/core/hle/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/syscall.h')
-rw-r--r--src/core/hle/syscall.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/core/hle/syscall.h b/src/core/hle/syscall.h
index 7a94e0136..17f190266 100644
--- a/src/core/hle/syscall.h
+++ b/src/core/hle/syscall.h
@@ -7,6 +7,31 @@
#include "common/common_types.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
+// SVC structures
+
+struct MemoryInfo {
+ u32 base_address;
+ u32 size;
+ u32 permission;
+ u32 state;
+};
+
+struct PageInfo {
+ u32 flags;
+};
+
+struct ThreadContext {
+ u32 cpu_registers[13];
+ u32 sp;
+ u32 lr;
+ u32 pc;
+ u32 cpsr;
+ u32 fpu_registers[32];
+ u32 fpscr;
+ u32 fpexc;
+};
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
// Namespace Syscall
namespace Syscall {