aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.cpp
AgeCommit message (Collapse)Author
2017-05-09Kernel: Map special regions according to ExHeaderYuri Kunde Schlesner
This replaces the hardcoded VRAM/DSP mappings with ones made based on the ExHeader ARM11 Kernel caps list. While this has no visible effect for most applications (since they use a standard set of mappings) it does improve support for system modules and n3DS exclusives.
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-05-12Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.Subv
R0 is used as the last parameter instead of R4.
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage
2016-03-05Memory: Do correct Phys->Virt address translation for non-APP linheapYuri Kunde Schlesner
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage
2015-11-30Kernel: Implement svcGetSystemInfoYuri Kunde Schlesner
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work with Citra.
2015-08-27Kernel: Fix wrong linear heap base on titles using newer kernelsYuri Kunde Schlesner
Typo which sneaked in through review on #1025
2015-08-26Kernel: Fix assertion failure when ControlMemory is called with size=0Yuri Kunde Schlesner
2015-08-16Kernel: Implement svcGetProcessInfo in a basic wayYuri Kunde Schlesner
This also adds some basic memory usage accounting. These two types are used by Super Smash Bros. during startup.
2015-08-16Kernel: Add more infrastructure to support different memory layoutsYuri Kunde Schlesner
This adds some structures necessary to support multiple memory regions in the future. It also adds support for different system memory types and the new linear heap mapping at 0x30000000.
2015-08-16Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}Yuri Kunde Schlesner
2015-08-16Process: Store kernel compatibility version during loadingYuri Kunde Schlesner
2015-08-16Kernel: Properly implement ControlMemory FREE and COMMITYuri Kunde Schlesner
2015-08-16VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner
2015-07-11Core: Properly configure address space when loading a binaryYuri Kunde Schlesner
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.
2015-05-18Merge pull request #772 from lioncash/warnbunnei
core/video_core: Fix a few warnings when compiling on MSVC.
2015-05-14Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Subv
Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues. Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create.
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
2015-05-14process: Get rid of warningsLioncash
Sign mismatches and "forcing value to bool" warnings.
2015-05-11Merge pull request #750 from Subv/process_svcYuri Kunde Schlesner
Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
2015-05-11Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadSubv
2015-05-11Thread: Correctly set main thread initial stack positionYuri Kunde Schlesner
2015-05-09Common: Remove the BIT macroYuri Kunde Schlesner
When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro.
2015-05-08Kernel: Remove unused g_main_thread variableYuri Kunde Schlesner
2015-05-08Process: Rename StaticAddressMapping => AddressMappingYuri Kunde Schlesner
2015-05-08Process: Use BitField to store process flagsYuri Kunde Schlesner
2015-05-08Process: Support parsing of exheader kernel capsYuri Kunde Schlesner
2015-05-08Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner