mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
hle: kernel: k_memory_layout: Add GetPhysicalLinearRegion.
This commit is contained in:
parent
06a21ac229
commit
18e77a54c3
1 changed files with 4 additions and 0 deletions
|
@ -173,6 +173,10 @@ public:
|
||||||
return Dereference(FindVirtualLinear(address));
|
return Dereference(FindVirtualLinear(address));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const KMemoryRegion& GetPhysicalLinearRegion(PAddr address) const {
|
||||||
|
return Dereference(FindPhysicalLinear(address));
|
||||||
|
}
|
||||||
|
|
||||||
const KMemoryRegion* GetPhysicalKernelTraceBufferRegion() const {
|
const KMemoryRegion* GetPhysicalKernelTraceBufferRegion() const {
|
||||||
return GetPhysicalMemoryRegionTree().FindFirstDerived(KMemoryRegionType_KernelTraceBuffer);
|
return GetPhysicalMemoryRegionTree().FindFirstDerived(KMemoryRegionType_KernelTraceBuffer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue