summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/vm_manager.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* svc: Report correct memory-related values within some of the cases in svcGetInfo()Lioncash2018-09-251-9/+6
| | | | | | Previously, these were reporting hardcoded values, but given the regions can change depending on the requested address spaces, these need to report the values that the memory manager contains.
* memory: Dehardcode the use of a 36-bit address spaceLioncash2018-09-251-0/+3
| | | | | Given games can also request a 32-bit or 39-bit address space, we shouldn't be hardcoding the address space range as 36-bit.
* process/vm_manager: Amend API to allow reading parameters from NPDM metadataLioncash2018-09-241-2/+82
| | | | | | | | | Rather than hard-code the address range to be 36-bit, we can derive the parameters from supplied NPDM metadata if the supplied exectuable supports it. This is the bare minimum necessary for this to be possible. The following commits will rework the memory code further to adjust to this.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-2/+2
|
* kernel/vm_manager: Use const where applicableLioncash2018-08-021-4/+4
| | | | Makes our immutable state explicit.
* core: Replace usages of LOG_GENERIC with new fmt-capable equivalentsLioncash2018-04-271-1/+1
|
* svc: Use more correct values for GetInfo MapRegion and NewMapRegion.bunnei2018-03-161-9/+0
|
* MemoryState: Add additional memory states and improve naming.bunnei2018-03-161-10/+19
|
* memory: Replace all memory hooking with Special regionsMerryMage2018-01-271-3/+3
|
* svc: Fix svcGetInfo MapRegionBaseAddr.bunnei2018-01-191-0/+3
|
* vm_manager: Use a more reasonable MAX_ADDRESS size.bunnei2018-01-031-5/+4
|
* vm_manager: Stub out a bunch of interfaces used by svcGetInfo.bunnei2018-01-011-0/+18
|
* hle: Fix QueryMemory response for MemoryInfo.bunnei2017-10-201-11/+8
|
* Merge remote-tracking branch 'upstream/master' into nxbunnei2017-10-101-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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
| * Kernel/Memory: Give each Process its own page table.Subv2017-09-101-1/+5
| | | | | | | | The loader is in charge of setting the newly created process's page table as the main one during the loading process.
* | core: Various changes to support 64-bit addressing.bunnei2017-09-301-10/+10
|/
* Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner2017-05-251-8/+0
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-2/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-10/+11
|
* Memory: Implement MMIOMerryMage2016-01-301-1/+4
|
* Kernel: Properly implement ControlMemory FREE and COMMITYuri Kunde Schlesner2015-08-161-3/+21
|
* VMManager: Introduce names for used ResultCodesYuri Kunde Schlesner2015-08-161-0/+8
|
* VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner2015-08-161-1/+1
|
* VMManager: Change block offsets to size_tYuri Kunde Schlesner2015-08-161-2/+2
|
* Core: Properly configure address space when loading a binaryYuri Kunde Schlesner2015-07-121-1/+5
| | | | | | The code now properly configures the process image to match the loaded binary segments (code, rodata, data) instead of just blindly allocating a large chunk of dummy memory.
* Core: Cleanup core includes.Emmanuel Gil Peyrot2015-06-281-1/+0
|
* Kernel: Add VMManager to manage process address spacesYuri Kunde Schlesner2015-05-271-0/+200
This enables more dynamic management of the process address space, compared to just directly configuring the page table for major areas. This will serve as the foundation upon which the rest of the Kernel memory management functions will be built.