suyu/src
Michael Scire 13a8fde3ad Implement MapPhysicalMemory/UnmapPhysicalMemory
This implements svcMapPhysicalMemory/svcUnmapPhysicalMemory for Yuzu,
which can be used to map memory at a desired address by games since
3.0.0.

It also properly parses SystemResourceSize from NPDM, and makes
information available via svcGetInfo.

This is needed for games like Super Smash Bros. and Diablo 3 -- this
PR's implementation does not run into the "ASCII reads" issue mentioned
in the comments of #2626, which was caused by the following bugs in
Yuzu's memory management that this PR also addresses:
* Yuzu's memory coalescing does not properly merge blocks. This results
  in a polluted address space/svcQueryMemory results that would be
  impossible to replicate on hardware, which can lead to game code making
  the wrong assumptions about memory layout.
  * This implements better merging for AllocatedMemoryBlocks.
* Yuzu's implementation of svcMirrorMemory unprotected the entire
  virtual memory range containing the range being mirrored. This could
  lead to games attempting to map data at that unprotected
  range/attempting to access that range after yuzu improperly unmapped
  it.
  * This PR fixes it by simply calling ReprotectRange instead of
    Reprotect.
2019-07-07 11:45:53 -07:00
..
audio_core Merge pull request #2583 from FernandoS27/core-timing-safe 2019-06-30 12:54:00 -04:00
common texture_cache: Address Feedback 2019-07-05 09:46:53 -04:00
core Implement MapPhysicalMemory/UnmapPhysicalMemory 2019-07-07 11:45:53 -07:00
input_common input_common/sdl/sdl_impl: Correct logging string in SDLState constructor 2019-06-03 16:56:47 -04:00
tests Merge pull request #2583 from FernandoS27/core-timing-safe 2019-06-30 12:54:00 -04:00
video_core Merge pull request #2601 from FernandoS27/texture_cache 2019-07-05 13:39:13 -04:00
web_service general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
yuzu Merge pull request #2601 from FernandoS27/texture_cache 2019-07-05 13:39:13 -04:00
yuzu_cmd Merge pull request #2601 from FernandoS27/texture_cache 2019-07-05 13:39:13 -04:00
yuzu_tester yuzu: Remove CPU Jit setting from the UI 2019-07-04 14:48:08 +02:00
.clang-format
CMakeLists.txt yuzu_tester: Add project subdirectory 2019-06-10 00:03:11 -04:00