- added SVC stubs for QueryMemory and GetThreadId
- added SVC structs MemoryInfo and PageInfo
This commit is contained in:
parent
4910b6f336
commit
4fba4f36bf
3 changed files with 30 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue