Fixed threads/k0 test, updated pspautotests

This commit is contained in:
Arthur Blot 2013-01-04 17:06:36 +01:00
parent 10ec424787
commit b12bc54dda
3 changed files with 10 additions and 1 deletions

View File

@ -371,6 +371,14 @@ public:
// What's this 512?
context.r[MIPS_REG_K0] = context.r[MIPS_REG_SP] - 256;
context.r[MIPS_REG_SP] -= 512;
u32 k0 = context.r[MIPS_REG_K0];
Memory::Memset(k0, 0, 0x100);
Memory::Write_U32(nt.initialStack, k0 + 0xc0);
Memory::Write_U32(GetUID(), k0 + 0xca);
Memory::Write_U32(0xffffffff, k0 + 0xf8);
Memory::Write_U32(0xffffffff, k0 + 0xfc);
Memory::Write_U32(GetUID(), nt.initialStack);
return true;
}

@ -1 +1 @@
Subproject commit 3f1dc654e66c37098169881e7d6437db3157dff8
Subproject commit a35333fa37a6439ef6623fad7b66f19115ccf724

View File

@ -74,6 +74,7 @@ tests_good = [
"threads/events/refer/refer",
"threads/events/set/set",
"threads/events/wait/wait",
"threads/k0/k0",
"threads/lwmutex/create/create",
"threads/lwmutex/delete/delete",
"threads/lwmutex/lock/lock",