mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 01:44:53 +00:00
Refactoring PhysicalMemory
This commit is contained in:
parent
7bc4fda33e
commit
a6e1cf43d7
6 changed files with 47 additions and 57 deletions
|
@ -4,15 +4,15 @@
|
|||
#include "../../../Debug.h"
|
||||
#include "../../../Util/Log.h"
|
||||
#include "Kernel/MemoryManagement.h"
|
||||
#include "Kernel/PhysicalMemory.h"
|
||||
#include "../../../Util/Singleton.h"
|
||||
#include "Kernel/Objects/PhysicalMemory.h"
|
||||
|
||||
namespace HLE::Libs::LibKernel {
|
||||
|
||||
static u64 g_stack_chk_guard = 0xDEADBEEF54321ABC; //dummy return
|
||||
|
||||
int32_t PS4_SYSV_ABI sceKernelMapDirectMemory(void** addr, size_t len, int prot, int flags, off_t directMemoryStart, size_t alignment) {
|
||||
auto* physical_memory = Singleton<HLE::Libs::LibKernel::MemoryManagement::PhysicalMemory>::Instance();
|
||||
auto* physical_memory = Singleton<HLE::Kernel::Objects::PhysicalMemory>::Instance();
|
||||
BREAKPOINT();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue