summaryrefslogtreecommitdiff
path: root/src/core/hle/syscall.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-15 20:17:30 -0400
committerGravatar bunnei2014-05-15 20:17:30 -0400
commit4fba4f36bf20c2721e2602c450eafcc1117ac643 (patch)
treeed44db9fd187dde4d1b3648ce87dace024b86a0e /src/core/hle/syscall.h
parentadded memory mapped region for system mem - sdk demos load a segment here on ... (diff)
downloadyuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.gz
yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.xz
yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.zip
- 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 @@
9//////////////////////////////////////////////////////////////////////////////////////////////////// 9////////////////////////////////////////////////////////////////////////////////////////////////////
10// SVC structures 10// SVC structures
11 11
12struct MemoryInfo {
13 u32 base_address;
14 u32 size;
15 u32 permission;
16 u32 state;
17};
18
19struct PageInfo {
20 u32 flags;
21};
22
12struct ThreadContext { 23struct ThreadContext {
13 u32 cpu_registers[13]; 24 u32 cpu_registers[13];
14 u32 sp; 25 u32 sp;