aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
AgeCommit message (Collapse)Author
2018-07-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-22Kernel/Arbiters: Fix casts, cleanup comments/magic numbersMichael Scire
2018-05-10core: Implement multicore support.bunnei
2018-05-02general: Make formatting of logged hex values more straightforwardLioncash
This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on).
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash
2018-04-25Merge pull request #387 from Subv/maxwell_2dbunnei
GPU: Partially implemented the 2D surface copy engine
2018-04-25Memory: Added a missing shortcut for Memory::CopyBlock for the current process.Subv
2018-04-25core/memory: Amend address widths in assertsLioncash
Addresses are 64-bit, these formatting specifiers are simply holdovers from citra. Adjust them to be the correct width.
2018-04-25core/memory: Move logging macros over to new fmt-capable onesLioncash
While we're at it, correct addresses to print all 64 bits where applicable, which were holdovers from citra.
2018-04-24gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.bunnei
2018-03-26memory: Fix cast for ReadBlock/WriteBlock/ZeroBlock/CopyBlock.bunnei
2018-03-26memory: Add RasterizerMarkRegionCached code and cleanup.bunnei
2018-03-23Merge pull request #265 from bunnei/tegra-progress-2bunnei
Tegra progress 2
2018-03-23memory: Fix typo in RasterizerFlushVirtualRegion.bunnei
2018-03-23memory: RasterizerFlushVirtualRegion should also check process image region.bunnei
2018-03-23rasterizer: Flush and invalidate regions should be 64-bit.bunnei
2018-03-22memory: Port RasterizerFlushVirtualRegion from Citra.bunnei
2018-03-22Remove more N3DS ReferencesN00byKing
2018-03-14core: Move process creation out of global state.bunnei
2018-02-21memory: LOG_ERROR when falling off end of page tableMerryMage
2018-02-14memory: Silence formatting sepecifier warningsLioncash
2018-01-27memory: Replace all memory hooking with Special regionsMerryMage
2018-01-20memory: Return false for large VAddr in IsValidVirtualAddressRozlette
2018-01-12Remove gpu debugger and get yuzu qt to compileJames Rowe
2018-01-08fix macos buildMerryMage
2018-01-01core/video_core: Fix a bunch of u64 -> u32 warnings.bunnei
2017-10-18memory: Print addresses as 64-bit.bunnei
2017-10-09Merge remote-tracking branch 'upstream/master' into nxbunnei
# Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
2017-10-01Memory: Make WriteBlock take a Process parameter on which to operateSubv
2017-10-01Memory: Make ReadBlock take a Process parameter on which to operateSubv
2017-09-30memory: Log with 64-bit values.bunnei
2017-09-30core: Various changes to support 64-bit addressing.bunnei
2017-09-30Fixed type conversion ambiguityHuw Pascoe
2017-09-29Merge pull request #2961 from Subv/load_titlesbunnei
Loaders: Don't automatically set the current process every time we load an application.
2017-09-26Merge pull request #2954 from Subv/cache_unmapped_memJames Rowe
Memory/RasterizerCache: Ignore unmapped memory regions when caching physical regions
2017-09-26Memory: Allow IsValidVirtualAddress to be called with a specific process ↵Subv
parameter. There is still an overload of IsValidVirtualAddress that only takes the VAddr and will default to the current process.
2017-09-25Memory/RasterizerCache: Ignore unmapped memory regions when caching physical ↵Subv
regions. Not all physical regions need to be mapped into the address space of every process, for example, system modules do not have a VRAM mapping. This fixes a crash when loading applets and system modules.
2017-09-24ARM_Interface: Implement PageTableChangedMerryMage
2017-09-24memory: Remove GetCurrentPageTablePointersMerryMage
2017-09-24memory: Add GetCurrentPageTable/SetCurrentPageTableMerryMage
Don't expose Memory::current_page_table as a global.
2017-09-15Merge pull request #2842 from Subv/switchable_page_tableB3n30
Kernel/Memory: Give each process its own page table and allow switching the current page table upon reschedule
2017-09-15Kernel/Memory: Make IsValidPhysicalAddress not go through the current ↵Subv
process' virtual memory mapping.
2017-09-15Kernel/Memory: Changed GetPhysicalPointer so that it doesn't go through the ↵Subv
current process' page table to obtain a pointer.
2017-09-10Kernel/Memory: Give each Process its own page table.Subv
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
2017-08-29Use recursive_mutex instead of mutex to fix #2902danzel
2017-08-23Merge pull request #2839 from Subv/global_kernel_lockJames Rowe
Kernel/HLE: Use a mutex to synchronize access to the HLE kernel state between the cpu thread and any other possible threads that might touch the kernel (network thread, etc).
2017-08-22Kernel/Memory: Acquire the global HLE lock when a memory read/write ↵Subv
operation falls outside of the fast path, for it might perform an MMIO operation.
2017-07-22Merge pull request #2799 from yuriks/virtual-cached-range-flushWeiyi Wang
Add address conversion functions returning optional, Add function to flush virtual region from rasterizer cache
2017-06-21Memory: Add function to flush a virtual range from the rasterizer cacheYuri Kunde Schlesner
This is slightly more ergonomic to use, correctly handles virtual regions which are disjoint in physical addressing space, and checks only regions which can be cached by the rasterizer.