Commit Graph

88 Commits

Author SHA1 Message Date
Unknown W. Brackets
a947c95829 Clean up sceKernelReferFplStatus(). 2013-08-25 16:38:47 -07:00
Unknown W. Brackets
fb95f07c5d Implement cancel and delete for fpls. 2013-08-25 16:38:47 -07:00
Unknown W. Brackets
a2471b810c Implement basic fpl waiting. 2013-08-25 16:38:46 -07:00
Unknown W. Brackets
107b464ace Handle the fpl alignment option as well. 2013-08-25 16:38:46 -07:00
Unknown W. Brackets
0969261e3e Fix error handling in sceKernelCreateFpl(). 2013-08-25 15:14:21 -07:00
Unknown W. Brackets
f48b730828 Wrap sceKernelCreateFpl and fix refer status.
Just initial changes to make it test properly.
2013-08-25 15:14:20 -07:00
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Unknown W. Brackets
72ce41f41c Report a couple unhandled blocks. 2013-08-21 01:20:06 -07:00
Henrik Rydgard
25ab9edd8a Revert "Revert "Stop lying about free memory in HLE.""
This reverts commit f13d6e4109.
2013-08-20 01:17:52 +02:00
Henrik Rydgard
f13d6e4109 Revert "Stop lying about free memory in HLE."
This reverts commit 8191ea4d76.
2013-08-20 00:58:02 +02:00
Unknown W. Brackets
4be06d2432 Wrap the msgpipe send functions. 2013-08-18 18:38:10 -07:00
Unknown W. Brackets
b9a71640eb Implement basic timeouts for msg pipes. 2013-08-18 18:38:08 -07:00
Unknown W. Brackets
8191ea4d76 Stop lying about free memory in HLE. 2013-08-17 09:28:44 -07:00
Unknown W. Brackets
008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00
Unknown W. Brackets
fff0af844b Fix bounds check in sceKernelPrintf().
Wasn't allowing a string ending in %08x.
2013-08-06 23:52:38 -07:00
Unknown W. Brackets
c2c9179406 Fix TLS allocation (been there a while...)
This worked for the most common case, but was a typo.
2013-07-31 08:15:07 -07:00
Unknown W. Brackets
4a4f07df8e Add waiting/resuming to TLS funcs.
Nice and simple, no callbacks or timeouts.
2013-07-31 00:22:36 -07:00
Unknown W. Brackets
ddc2c15ce8 Remove some unsigned < 0 comparisons. 2013-07-26 22:12:12 -07:00
Unknown W. Brackets
81f7103e0b Use *_le for the sceKernel* funcs. 2013-07-25 08:04:34 -07:00
Unknown W. Brackets
d8eede0b9a Add some unknown syscalls from reporting.
These are being linked in by games, so defining them will log them when
they are hit.
2013-06-30 12:05:14 -07:00
Unknown W. Brackets
933c8abb55 Check kernel object types when looking up ids.
Some games misuse it, need to return an error.
2013-06-18 23:54:29 -07:00
Henrik Rydgård
0abf322c1d Merge pull request #1961 from unknownbrackets/savestates
Fix some missing things from save states
2013-05-28 00:41:01 -07:00
Unknown W. Brackets
7cffcd2773 Correct TLS object save stating. 2013-05-27 23:48:31 -07:00
Unknown W. Brackets
77b0688d92 Recalculate numWaitThreads all the time.
Before, it could go negative by having a thread woken a second time
(e.g. because of a delete) before it actually scheduled and woke up.
2013-05-27 22:44:10 -07:00
Unknown W. Brackets
ac7bfcb6ef Report unfinished code in sceKernelAllocateTls(). 2013-05-25 20:43:47 -07:00
Unknown W. Brackets
85ca135667 Partially implement sceKernelPrintf().
For the common cases.
2013-05-19 17:32:17 -07:00
nachume
dd2fbd3401 typo SysMemUserForUser_FE707FDF. 2013-05-04 20:46:41 +09:00
nachume
2181b76c42 ISO that replaced EBOOT.BIN is playable.
implement LoadExecForUer_362A956B() and sceKernelRegisterExitCallback.
Add some ERROR define on kernel.h. I was referring to the jpcsp.
2013-05-04 20:34:33 +09:00
kurdtkobain
ff283b69b0 Changed to ERROR_LOG 2013-04-27 20:22:40 -03:00
kurdtkobain
f5b6470718 Added SysMemUserForUser_D8DE5C1E
according to jpcsp always returns 0.
Evangelion Jo goes in-game.
2013-04-27 19:52:58 -03:00
Unknown W. Brackets
7a7e5ccb0b Fix some x64 type conversion warnings. 2013-04-19 08:41:31 -07:00
Unknown W. Brackets
e77647a394 Basically working implementation of TLS funcs.
But doesn't wait at all, which it should.
2013-04-14 16:36:02 -07:00
Unknown W. Brackets
b2faa57b5b Savestate the sdkver and compiler version.
Oops, should've caught this before.
2013-04-14 14:43:27 -07:00
Unknown W. Brackets
a68798225a Give ThreadManForUser_8DAFF657 and friends a name.
Calling allocate on the same thread gives the same ptr, but on a different
one it waits or returns a new ptr.

Let's call it thread local storage for now.
2013-04-14 13:02:01 -07:00
Unknown W. Brackets
42b925a440 Initial stab at implementing some new memory funcs.
Borrowed from JPCSP, kept simple.  Need to do tests.
2013-04-07 20:57:53 -07:00
Unknown W. Brackets
0918ec8598 Return negative for UnscheduleEvent().
It usually won't be, but it could be negative.

Also some other minor warnings.
2013-04-05 20:44:17 -07:00
Unknown W. Brackets
e4223dbcb0 Simplify adding report messages, add a bunch more. 2013-03-26 00:54:00 -07:00
Unknown W. Brackets
e133d33167 Don't re-wake a thread already woken by delete.
Arg, I thought I'd changed this already.
2013-03-24 22:54:09 -07:00
Henrik Rydgard
de469e77a4 Fix silly typo breaking alpha test in many cases. Make some log VERBOSE. 2013-03-11 19:40:47 +01:00
Unknown W. Brackets
f2bdea74be Don't align size to grain for PMB. 2013-03-03 20:26:57 -08:00
Unknown W. Brackets
62ab4b7f51 More signed compare warnings. 2013-03-02 15:34:16 -08:00
Unknown W. Brackets
2104ebeaae Fix typo in sceKernelAllocPartitionMemory().
It sets it in the consturctor and terminates it properly there.
2013-02-28 02:14:06 -08:00
Unknown W. Brackets
1e3f5477c3 Don't leak block on allocation failure. 2013-02-28 00:19:48 -08:00
Unknown W. Brackets
eab7777ec3 Clean up some magic numbers, oops. 2013-02-27 23:01:44 -08:00
Unknown W. Brackets
4631fd7c6f Keep track of the PMB name like other objects. 2013-02-27 22:35:53 -08:00
Unknown W. Brackets
d02879dbaf Fix PMB alignment and cleanup free/get. 2013-02-27 22:35:08 -08:00
Unknown W. Brackets
9eeb3d6ffd Support the other allocation types. 2013-02-27 22:32:29 -08:00
Unknown W. Brackets
b4891fb7a7 Error checking in sceKernelAllocPartitionMemory().
Before, it was still returning a uid on fail, oops.
2013-02-27 22:32:29 -08:00
Unknown W. Brackets
82a8450758 Fix some more non-pod structs in savestates. 2013-02-04 08:27:02 -08:00
Florent Castelli
0d54048efd setCompiledSdkVersion accepts any version as in the CFW version 2013-02-04 00:27:29 +01:00