mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-03 09:45:25 +02:00
threads/tls/kernel/partition now records the sweep from a kernel module, which settles the range question the user-mode recording couldn't: privilege changes the permission check, not the range. Partitions 1, 3 and 4 are ILLEGAL_PERM from user mode and fine from kernel mode, while 7 and up are ILLEGAL_ARGUMENT either way. So the check goes back to a plain 1-6 for both, and the kernel-mode carve-out from the last commit - which would have let 8 and 9 through - is gone. The hardware doc gains a section on kernel-mode tests: what COMMON_KERNEL does, why the stock crt0 makes a kernel PRX unloadable, which libraries can't be imported, and how much room there actually is in the kernel partition.