mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 17:55:46 +00:00
hle: kernel: k_memory_layout: Add GetPhysicalLinearRegion.
This commit is contained in:
parent
a48d756692
commit
f562f3780e
1 changed files with 4 additions and 0 deletions
|
@ -173,6 +173,10 @@ public:
|
|||
return Dereference(FindVirtualLinear(address));
|
||||
}
|
||||
|
||||
const KMemoryRegion& GetPhysicalLinearRegion(PAddr address) const {
|
||||
return Dereference(FindPhysicalLinear(address));
|
||||
}
|
||||
|
||||
const KMemoryRegion* GetPhysicalKernelTraceBufferRegion() const {
|
||||
return GetPhysicalMemoryRegionTree().FindFirstDerived(KMemoryRegionType_KernelTraceBuffer);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue