There was an error fetching the commit references. Please try again later.
core/memory: Migrate over address checking functions to the new Memory class
A fairly straightforward migration. These member functions can just be mostly moved verbatim with minor changes. We already have the necessary plumbing in places that they're used. IsKernelVirtualAddress() can remain a non-member function, since it doesn't rely on class state in any form.
Showing
- src/core/gdbstub/gdbstub.cpp 10 additions, 8 deletionssrc/core/gdbstub/gdbstub.cpp
- src/core/hle/kernel/address_arbiter.cpp 4 additions, 4 deletionssrc/core/hle/kernel/address_arbiter.cpp
- src/core/hle/kernel/svc.cpp 2 additions, 2 deletionssrc/core/hle/kernel/svc.cpp
- src/core/hle/kernel/thread.cpp 2 additions, 2 deletionssrc/core/hle/kernel/thread.cpp
- src/core/memory.cpp 31 additions, 20 deletionssrc/core/memory.cpp
- src/core/memory.h 21 additions, 3 deletionssrc/core/memory.h
Loading
Please register or sign in to comment