mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
* feat(libkernel): implement sceKernelReleaseFlexibleMemory Unmaps the range through sceKernelMunmap, which returns its pages to the flexible memory budget, as fpPS4 and prosper do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(libkernel): keep the flexible memory release check apart from the batch map checks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
667 B
C++
26 lines
667 B
C++
#include <cstdint>
|
|
#include <cstddef>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI sceCoredumpWriteUserData() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI __tls_get_addr_nid_postfix(void) {
|
|
NotImplemented_nid_no_patch("vNe1w4diLCs");
|
|
return 0;
|
|
}
|
|
|
|
// Canonical lib is libScePosix (dead import of Cyberpunk 2077): 35 of its
|
|
// 36 sibling imports resolve to libkernel, and libScePosix is not in the
|
|
// game's NEEDED list so only a NEEDED module can satisfy the loader here.
|
|
int APS5_VABI pthread_cancel_nid_postfix(void) {
|
|
NotImplemented_nid_no_patch("0D4-FVvEikw");
|
|
return 0;
|
|
}
|
|
}
|