summaryrefslogtreecommitdiff
path: root/src/core/hle/syscall.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-15 20:17:30 -0400
committerbunnei <ericbunnie@gmail.com>2014-05-15 20:17:30 -0400
commit4fba4f36bf20c2721e2602c450eafcc1117ac643 (patch)
treeed44db9fd187dde4d1b3648ce87dace024b86a0e /src/core/hle/syscall.h
parent4910b6f3369f33a2dc6728e4156a62368c2c9cb1 (diff)
- added SVC stubs for QueryMemory and GetThreadId
- added SVC structs MemoryInfo and PageInfo
Diffstat (limited to 'src/core/hle/syscall.h')
-rw-r--r--src/core/hle/syscall.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/syscall.h b/src/core/hle/syscall.h
index 15af5e138..17f190266 100644
--- a/src/core/hle/syscall.h
+++ b/src/core/hle/syscall.h
@@ -9,6 +9,17 @@
////////////////////////////////////////////////////////////////////////////////////////////////////
// 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;