summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner2017-05-251-0/+1
|
* Kernel: Map special regions according to ExHeaderYuri Kunde Schlesner2017-05-101-4/+19
| | | | | | | 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.
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-211-1/+1
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-3/+1
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-191-8/+4
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-25/+40
|
* Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.Subv2016-05-131-1/+1
| | | | R0 is used as the last parameter instead of R4.
* Common: Remove Common::make_unique, use std::make_uniqueMerryMage2016-04-051-1/+2
|
* Memory: Do correct Phys->Virt address translation for non-APP linheapYuri Kunde Schlesner2016-03-061-2/+4
|
* BitField: Make trivially copyable and remove assignment operatorMerryMage2016-02-121-1/+1
|
* Kernel: Implement svcGetSystemInfoYuri Kunde Schlesner2015-12-011-0/+6
| | | | | This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work with Citra.
* Kernel: Fix wrong linear heap base on titles using newer kernelsYuri Kunde Schlesner2015-08-281-1/+1
| | | | Typo which sneaked in through review on #1025
* Kernel: Fix assertion failure when ControlMemory is called with size=0Yuri Kunde Schlesner2015-08-271-0/+8
|
* Kernel: Implement svcGetProcessInfo in a basic wayYuri Kunde Schlesner2015-08-161-0/+10
| | | | | This also adds some basic memory usage accounting. These two types are used by Super Smash Bros. during startup.
* Kernel: Add more infrastructure to support different memory layoutsYuri Kunde Schlesner2015-08-161-16/+28
| | | | | | 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.
* Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}Yuri Kunde Schlesner2015-08-161-1/+1
|
* Process: Store kernel compatibility version during loadingYuri Kunde Schlesner2015-08-161-3/+5
|
* Kernel: Properly implement ControlMemory FREE and COMMITYuri Kunde Schlesner2015-08-161-5/+115
|
* VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner2015-08-161-1/+1
|
* Core: Properly configure address space when loading a binaryYuri Kunde Schlesner2015-07-121-6/+32
| | | | | | 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.
* Merge pull request #772 from lioncash/warnbunnei2015-05-181-3/+3
|\ | | | | core/video_core: Fix a few warnings when compiling on MSVC.
| * process: Get rid of warningsLioncash2015-05-141-3/+3
| | | | | | | | Sign mismatches and "forcing value to bool" warnings.
* | Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Subv2015-05-151-0/+1
| | | | | | | | | | | | 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.
* | Memmap: Re-organize memory function in two filesYuri Kunde Schlesner2015-05-151-1/+1
|/ | | | | | | 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.
* Merge pull request #750 from Subv/process_svcYuri Kunde Schlesner2015-05-121-0/+2
|\ | | | | Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
| * Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadSubv2015-05-111-0/+2
| |
* | Thread: Correctly set main thread initial stack positionYuri Kunde Schlesner2015-05-111-1/+1
|/
* Common: Remove the BIT macroYuri Kunde Schlesner2015-05-091-2/+2
| | | | | | | 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.
* Kernel: Remove unused g_main_thread variableYuri Kunde Schlesner2015-05-091-1/+1
|
* Process: Rename StaticAddressMapping => AddressMappingYuri Kunde Schlesner2015-05-091-3/+3
|
* Process: Use BitField to store process flagsYuri Kunde Schlesner2015-05-091-10/+4
|
* Process: Support parsing of exheader kernel capsYuri Kunde Schlesner2015-05-091-3/+70
|
* Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner2015-05-091-0/+35