Commit graph

192 commits

Author SHA1 Message Date
Henrik Rydgård
6cb2c0dc59 KERNELPRINTF->PRINTF, NOTICE->INFO 2023-09-08 08:40:54 +02:00
Nemoumbra
90cd9d4c68 New logging channel "KERNELPRINTF" for SceKernelPrintf 2023-09-08 00:34:26 +03:00
Unknown W. Brackets
32feb82d16 HLE: Capture better allocation names.
We know which FPL, so don't just say "FPL".
2023-09-02 22:55:45 -07:00
Nemoumbra
5bf22c15d0 sceKernelPrintf improvement, QOL adjustments 2023-04-11 15:47:50 +03:00
Unknown W. Brackets
88ba003f46 ThreadManager: Add a simple priority field.
Currently, not actually respected.
2023-02-02 17:08:24 -08:00
Unknown W. Brackets
0496ca32ff Global: Cleanup some minor includes and typos. 2022-12-27 08:33:07 -08:00
lainon
3cdf72b68b Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back' 2022-09-30 12:35:28 +03:00
Unknown W. Brackets
79c5c93d35 Kernel: Match index lookup behavior for tls.
It might be the uids it returns always follow this format.
This makes the test almost pass, outside psplink using more memory (test
should be adjusted to compensate.)
2022-09-20 19:25:32 -07:00
Unknown W. Brackets
d665b2b6ca Kernel: Disallow partitions 8/10 to match tests.
I think these might be accessible only in kernel mode.
2022-09-20 10:46:43 -07:00
Unknown W. Brackets
251cc73afd Kernel: Allow volatile for MsgPipe buffers. 2022-09-20 09:20:05 -07:00
Unknown W. Brackets
56f2d7cdac Kernel: Allow volatile for Tlspl objects. 2022-09-20 09:05:39 -07:00
Unknown W. Brackets
3c80bd94a2 Kernel: Allow kernel/volatile VPLs as well. 2022-09-20 08:57:24 -07:00
Unknown W. Brackets
fca9b77bd2 Kernel: Allow allocating FPLs in volatile memory. 2022-09-20 08:32:01 -07:00
Unknown W. Brackets
ef5eecce56 Kernel: Load volatile memblocks from save states.
Otherwise they'd reset to userMemory.
2022-09-20 00:37:21 -07:00
Unknown W. Brackets
8772c6e2f8 Kernel: Check sceKernelAllocPartitionMemory args.
This is the order you get error codes back in if there are multiple
errors.
2022-09-20 00:31:01 -07:00
Unknown W. Brackets
7580844ea5 Kernel: Fix save states for volatile memory alloc. 2022-09-20 00:07:38 -07:00
Crow-bar
789983ebad HLE: sceKernelAllocPartitionMemory volatile memory support (partition 5) 2022-09-19 15:26:45 +03: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
e6403d7157 Split GetPointer into two versions, to help with const correctness 2022-07-24 13:26:19 +02:00
Henrik Rydgård
73871b9b7e Implement new thread manager, port stuff to it. 2021-06-12 13:03:53 +02:00
Unknown W. Brackets
4f96169357 Core: Init memory on multiple threads.
Also init volatile at the same time for consistency.
2021-04-16 00:53:50 -07:00
Unknown W. Brackets
88e2b9b740 Debugger: Notate memset tags directly. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
ca2f7df94f Debugger: Track memory allocations and writes. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
ca7d127adc Debugger: Notate more cases of memory clears. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
f7740edc6d Debugger: Add more metadata for memory usage. 2021-02-15 15:01:21 -08:00
Henrik Rydgård
c1b52c398b Minor cleanups related to #13527
Doesn't fix it though. A "Resume" button will be added later to BREAK
crashes.
2020-10-14 23:45:19 +02:00
shenweip
0f45e17f09 Only clear when initializating kernelMemory and userMemory. 2020-08-29 19:51:11 +08:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård
df6d0a8ae7 PSP kernel: Improve logging when accessing bad kernel object handles. 2020-07-20 11:57:11 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
sum2012
8a905bbb9d Wrap some SysMemForKernel
Used in "Hatsune Miku Project Diva Extend" chinese patched version
Prepare real support the chinese patched game.
2020-06-07 11:16:46 +08:00
Henrik Rydgård
bf73d3d663 Address Unknown's feedback
https://github.com/hrydgard/ppsspp/pull/7965/files
2020-04-26 11:19:31 +02:00
sum2012
3604a92bee Change to info log
As this commit is work
(tested on Tales of Phantasia with Chinese patch)
2020-04-26 11:18:41 +02:00
sum2012
b12fbb9d3e Attempt to make save status 2020-04-26 11:18:41 +02:00
sum2012
e1ce6c061e Fix crash in sceKernelDeleteHeap 2020-04-26 11:18:41 +02:00
sum2012
52138f8ce8 Attempt to build fix non-windows 2020-04-26 11:18:41 +02:00
sum2012
6c4043b9de remove comment 2020-04-26 11:18:41 +02:00
sum2012
fed2b42c5f Try to Implement SysMemForKernel 2020-04-26 11:18:41 +02:00
sum2012
a8c2c02b82 Move SysMemForKernel to sceKernelMemory
As SysMemForUser in there
2020-04-26 11:18:41 +02:00
Unknown W. Brackets
916ba4edaf Vpl: Correct allocation order when splitting block.
More fuzz testing produced cases that were still off.  This is simpler.
2020-03-16 21:17:23 -07:00
Henrik Rydgård
ff3d799871 Remove snprintf compatibility hacks for MSVC versions before 2015 2017-08-31 16:46:54 +02:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Unknown W. Brackets
0b43e28595 Move SysMemForKernel to sceKernelMemory. 2016-08-04 09:46:27 -07:00
Unknown W. Brackets
2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Unknown W. Brackets
fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
Unknown W. Brackets
8a0f854dc6 Fix an iterator corruption on tls thread autofree. 2015-02-21 15:50:20 -08:00
Unknown W. Brackets
8d15cb953a sceKernelGetTlsAddr() should only return a ptr.
So, that means no error codes - only null.
2015-02-21 15:50:19 -08:00
Unknown W. Brackets
1c0d880bc3 Support the alignment option in tlspl objects. 2015-02-21 15:50:19 -08:00