diff options
| author | 2017-07-21 22:22:59 -0500 | |
|---|---|---|
| committer | 2017-09-15 14:26:13 -0500 | |
| commit | 214150f00c77474927cbdfb1598dbdb2cb4fcf32 (patch) | |
| tree | 4e86b987f4503953ab3b6389e176bd63f7cdd672 /src/core/memory.h | |
| parent | Kernel/Memory: Switch the current page table when a new process is scheduled. (diff) | |
| download | yuzu-214150f00c77474927cbdfb1598dbdb2cb4fcf32.tar.gz yuzu-214150f00c77474927cbdfb1598dbdb2cb4fcf32.tar.xz yuzu-214150f00c77474927cbdfb1598dbdb2cb4fcf32.zip | |
Kernel/Memory: Changed GetPhysicalPointer so that it doesn't go through the current process' page table to obtain a pointer.
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 859a14202..b228a48c2 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -227,8 +227,6 @@ boost::optional<VAddr> PhysicalToVirtualAddress(PAddr addr); | |||
| 227 | 227 | ||
| 228 | /** | 228 | /** |
| 229 | * Gets a pointer to the memory region beginning at the specified physical address. | 229 | * Gets a pointer to the memory region beginning at the specified physical address. |
| 230 | * | ||
| 231 | * @note This is currently implemented using PhysicalToVirtualAddress(). | ||
| 232 | */ | 230 | */ |
| 233 | u8* GetPhysicalPointer(PAddr address); | 231 | u8* GetPhysicalPointer(PAddr address); |
| 234 | 232 | ||