ARMv7: IO funcs registered, u64/s64 stack arg support

This commit is contained in:
Nekotekina 2015-01-25 02:34:40 +03:00
parent 23923af487
commit 94b0d9dfd5
8 changed files with 579 additions and 434 deletions

View file

@ -20,11 +20,6 @@ u32 ARMv7Context::read_pc()
return thread.PC;
}
void ARMv7Context::put_stack_arg(u32 shift, u32 value)
{
vm::psv::write32(SP + shift, value);
}
u32 ARMv7Context::get_stack_arg(u32 pos)
{
return vm::psv::read32(SP + sizeof(u32) * (pos - 5));