diff options
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/vm_manager.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h index 5b27548aa..0aecb7499 100644 --- a/src/core/hle/kernel/vm_manager.h +++ b/src/core/hle/kernel/vm_manager.h | |||
| @@ -303,15 +303,6 @@ struct VirtualMemoryArea { | |||
| 303 | PAddr paddr = 0; | 303 | PAddr paddr = 0; |
| 304 | Common::MemoryHookPointer mmio_handler = nullptr; | 304 | Common::MemoryHookPointer mmio_handler = nullptr; |
| 305 | 305 | ||
| 306 | /// If the address lies within this VMA, returns the size left before the | ||
| 307 | /// end of this VMA. If the given address doesn't lie within the VMA, then | ||
| 308 | /// an empty optional value is returned. | ||
| 309 | /// | ||
| 310 | /// For example, given a VMA 100 bytes long. If '10' was given as the | ||
| 311 | /// start address, then this would return 90. | ||
| 312 | /// | ||
| 313 | std::optional<u64> SizeRemainingFromAddress(VAddr address) const; | ||
| 314 | |||
| 315 | /// Tests if this area can be merged to the right with `next`. | 306 | /// Tests if this area can be merged to the right with `next`. |
| 316 | bool CanBeMergedWith(const VirtualMemoryArea& next) const; | 307 | bool CanBeMergedWith(const VirtualMemoryArea& next) const; |
| 317 | }; | 308 | }; |