diff options
| author | 2014-05-15 20:17:30 -0400 | |
|---|---|---|
| committer | 2014-05-15 20:17:30 -0400 | |
| commit | 4fba4f36bf20c2721e2602c450eafcc1117ac643 (patch) | |
| tree | ed44db9fd187dde4d1b3648ce87dace024b86a0e /src/core/hle/syscall.h | |
| parent | added memory mapped region for system mem - sdk demos load a segment here on ... (diff) | |
| download | yuzu-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.h | 11 |
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 | ||
| 12 | struct MemoryInfo { | ||
| 13 | u32 base_address; | ||
| 14 | u32 size; | ||
| 15 | u32 permission; | ||
| 16 | u32 state; | ||
| 17 | }; | ||
| 18 | |||
| 19 | struct PageInfo { | ||
| 20 | u32 flags; | ||
| 21 | }; | ||
| 22 | |||
| 12 | struct ThreadContext { | 23 | struct ThreadContext { |
| 13 | u32 cpu_registers[13]; | 24 | u32 cpu_registers[13]; |
| 14 | u32 sp; | 25 | u32 sp; |