mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
kernel: Implement sceKernelSetVirtualRangeName (#338)
* Fix in searchFree should fix #337 * clang format fix * sceKernelSetVirtualRangeName implementation * improved vaddr conversion * updated VirtualQuery to include name too * unmap also removed name thanks @red_prig * fixed copy...
This commit is contained in:
@@ -177,6 +177,8 @@ public:
|
||||
int GetDirectMemoryType(PAddr addr, int* directMemoryTypeOut, void** directMemoryStartOut,
|
||||
void** directMemoryEndOut);
|
||||
|
||||
void NameVirtualRange(VAddr virtual_addr, size_t size, std::string_view name);
|
||||
|
||||
private:
|
||||
VMAHandle FindVMA(VAddr target) {
|
||||
return std::prev(vma_map.upper_bound(target));
|
||||
|
||||
Reference in New Issue
Block a user