Implement sceKernelIsStack (#2917)

This commit is contained in:
Marcin Mikołajczyk 2025-05-13 22:54:22 +02:00 committed by GitHub
parent 484fbcc320
commit 1832ec2ac2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 40 additions and 0 deletions

View file

@ -223,6 +223,8 @@ public:
void InvalidateMemory(VAddr addr, u64 size) const;
int IsStack(VAddr addr, void** start, void** end);
private:
VMAHandle FindVMA(VAddr target) {
return std::prev(vma_map.upper_bound(target));