Commit Graph

141 Commits

Author SHA1 Message Date
Katharine Chui
b570cacd90 add Memory::IsValidNullTerminatedString 2024-05-01 22:58:01 +08:00
Katharine Chui
49cd9c76d9 sysclib_sprintf psp memory bound checking instead of length limits 2024-05-01 20:23:47 +08:00
Katharine Chui
fa0eaebfb5 cleanup 2024-05-01 17:32:13 +08:00
Katharine Chui
7ff48f97c3 implement sysclib_sprintf 2024-05-01 01:43:24 +08:00
Unknown W. Brackets
810d8c0890 Debugger: Use dedicated func to notify mem copy. 2023-09-24 19:07:36 -07:00
Henrik Rydgård
dc74778dea Do the last ones too 2023-02-09 10:27:29 +01:00
Henrik Rydgård
c52db636ce Optimize tag formatting 2023-02-09 10:22:46 +01:00
Henrik Rydgård
027edd6f59 Cleanup and warning fix in the new sysclib functions 2023-01-13 10:45:30 +01:00
Henrik Rydgård
97bef89486 Some cleanup when fixing a warning 2023-01-13 10:42:03 +01:00
Henrik Rydgård
d71c6a0e95 Add some quick memory safety to the functions from #16095 2023-01-12 11:21:38 +01:00
Henrik Rydgård
8a66498359 Merge pull request #16095 from sum2012/sysclib_minor
Add some Sysclib 's nids
2023-01-12 11:14:53 +01:00
Henrik Rydgård
edaa5246d1 Merge pull request #16771 from hrydgard/more-getpointer-cleanup
Core: A bit more GetPointer cleanup.
2023-01-10 14:36:08 +01:00
Henrik Rydgård
e1a48d74c4 A bit more GetPointer cleanup.
Probably not worth it for performance reasons, but some semantic cleanup
is good, especially the accidental GetPointer -> writable casts without
using GetPointerWrite.

Using Unchecked on already checked pointers, or when we'd crash anyway
if it returned nullptr, is good for clarity.
2023-01-10 12:13:47 +01:00
sum2012
eacdfe5246 Fix 2022-11-02 15:57:26 +08:00
sum2012
63606634bb Add InterruptManagerForKernel
Find in #16297
2022-10-31 20:17:12 +08:00
Unknown W. Brackets
c4bf2cb5c0 jit: Ignore zero byte icache invalidates.
These were getting marked pending and were clearing all cache, causing
performance concerns in for example LittleBigPlanet.
2022-10-15 18:27:52 -07:00
sum2012
497bad3312 oop 2022-09-25 12:04:33 +08:00
sum2012
5c7485b815 Change int to size_t 2022-09-25 10:18:16 +08:00
sum2012
d084b5cf96 strtol and toupper use native
and buildfix for ubuntu
Thanks unknownbrackets
2022-09-25 08:31:46 +08:00
sum2012
d17c87dc78 oop 2022-09-24 22:49:11 +08:00
sum2012
e42a970ee3 Add some sysclib's nids
Find in prxshot.prx
2022-09-24 22:40:19 +08:00
Unknown W. Brackets
ccd4e92184 Kernel: Use PSPPointer for status objects.
Code makes more sense when reading ->size rather than offset 0.
2022-09-03 10:44:12 -07:00
Henrik Rydgård
ecb84987ef Remove allocation from the heaviest MemBlockInfo path (BlockTransfer). Required some refactoring. 2022-09-01 11:59:35 +02:00
Henrik Rydgård
e6403d7157 Split GetPointer into two versions, to help with const correctness 2022-07-24 13:26:19 +02:00
Unknown W. Brackets
80e054b797 Debugger: Avoid write tag lookup on small alloc. 2022-02-06 09:28:48 -08:00