feat(libkernel_sys): implement sceKernelEnableDmemAliasing2 #11212
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11212"
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 26JATIN on 2026-10-25T21:54:55Z.
What
sceKernelEnableDmemAliasing2threwNotImplemented_nid_no_patch, so a title that called it aborted. It now returns 0 like libkernel'ssceKernelEnableDmemAliasing: direct memory can always be mapped more than once here, becauseDoMapDirectonly checks that the physical pages are allocated, so there is no aliasing to enable.The assumption that the
2variant answers the same question as the plain call is recorded indocs/dev/debt/libkernel_sys.md.Tested
Linux (Ubuntu, GCC 15.2.0, x86-64). The changed translation unit compiles with the project's flags (
tools/check_compile.py --base origin/main) andlibkernel_syslinks. The same change was part of a full build with-DBUILD_TESTING=ONandctest: 2271 of 2274 tests passed, the three failures environmental (pr_overlap_encodingneeds the build directory inside a git checkout,unwrap_selfneedsos.chown,agc_driver_multisample_retirementruns on llvmpipe with 1x1 sample location grids).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)