- added SVC stubs for QueryMemory and GetThreadId

- added SVC structs MemoryInfo and PageInfo
This commit is contained in:
bunnei 2014-05-15 20:17:30 -04:00
parent 4910b6f336
commit 4fba4f36bf
3 changed files with 30 additions and 2 deletions

View file

@ -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;