feat(libkernel): accept the audio coprocessor memory protection bits #900
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/900"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by alfalfa-star on 2026-10-06T14:20:34Z.
What
Accept memory protection bits 0x100 and 0x200 when mapping direct memory.
PPSA14632 (LEGO Horizon Adventures, Unreal Engine) maps direct memory with protection 0x3f2: the CPU, GPU and AMPR bits plus 0x100 and 0x200. On
mainthe mapping throwsUnsupported memory protection bits: 1010. The KytyPS5 and etaHEN headers name these bits audio coprocessor (ACP) read and write. That work runs on the host CPU, so they map to host read and read/write access, like the GPU bits. The assumption is recorded in TechnicalDebt.Tested
guest_memorycaseCheckAudioCoprocessorProtection: mappings with the ACP bits get the expected host access, and bits outside 0x3f7 still throw. Full ctest: 359/359.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T22:02:50Z.
Thanks, this looks right: the ACP bits are sourced from KytyPS5 and etaHEN, the assumption is in TechnicalDebt, and bits outside 0x3f7 still throw.
After the last batch it conflicts with main in
docs/dev/TechnicalDebt.md. Could you rebase onto main?Imported from boykopovar/AnyPS5. Originally posted by alfalfa-star on 2026-10-07T05:14:20Z.
Rebased onto main (
9ab937b2). The only conflict was indocs/dev/TechnicalDebt.md; I kept main'ssceKernelReleaseFlexibleMemoryline and added the ACP line after it. Local build and full ctest: 383/383.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T16:26:03Z.
Checked the ACP bits against KytyPS5 (
libAmpr.cpp) and etaHEN (global.h:ACP_READ 0x100,ACP_WRITE 0x200); build + full ctest green on Linux merged onto main, andguest_memoryfails without the change. Merging.