mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-31 12:35:51 +00:00
- libc: reserve guest memory in one arena below the PS5 map limit with MEM_WRITE_WATCH (GuestArena) and a caching guest heap; the allocation registry gains a generation counter, an invalidator callback for the driver's page cache and a pin waiter for leased ranges. This replaces the fault-based GuestMemoryTracking/GuestMemoryBacking layer, whose files are removed. - libkernel: mmap/mprotect/munmap on the arena, flexible memory budget, real sceKernelVirtualQuery; POSIX pthread layer, rwlocks, timed locks, TSD, event flags; 0.5 ms scheduler tick and high-resolution sleeps; TSC/clock/time functions; file APIs return SCE errno codes; the APR file-streaming API. - libc: vectored crash reporter with backtraces for fatal exceptions, SIGABRT, UCRT invalid parameters and process exit; SSE4a EXTRQ/INSERTQ emulation for Intel hosts; %ls/%lc/%S/%C with the guest's 16-bit wchar_t; hand-written setjmp/longjmp for the guest jmp_buf; a path alias table for short save-data mount points; more string, stdio and math exports. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_0177gthrWEBBfBu5xJDXgBfo
89 lines
1.8 KiB
C++
89 lines
1.8 KiB
C++
#include <cstdint>
|
|
#include <cstddef>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI rename_nid_postfix() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceCoredumpWriteUserData() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAioPollRequest() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprGetFileSize() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprGetFileStat() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprResolveFilepathsToIdsAndFileSizesForEach() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprResolveFilepathsToIdsForEach() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprResolveFilepathsWithPrefixToIds() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprResolveFilepathsWithPrefixToIdsAndFileSizes() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprResolveFilepathsWithPrefixToIdsAndFileSizesForEach() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprResolveFilepathsWithPrefixToIdsForEach() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprSubmitCommandBufferAndGetId() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprSubmitCommandBufferAndGetResult() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelAprWaitCommandBuffer() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceKernelFtruncate() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI shutdown_nid_postfix() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
}
|