summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process_capability.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Replace all instances of ResultCode with Resultgerman772022-06-271-22/+21
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* general: Replace RESULT_SUCCESS with ResultSuccessMorph2021-06-021-12/+12
| | | | Transition to PascalCase for result names.
* kernel: process_capability: Add MapRegion capabilityMorph2021-05-251-0/+9
| | | | - Used by nx-hbloader
* hle: kernel: Migrate to KHandleTable.bunnei2021-05-061-2/+2
|
* hle: kernel: svc_results: Update naming..bunnei2021-05-061-7/+7
|
* process_capability: Handle extended SVC rangeLioncash2021-04-071-5/+0
| | | | | | | | 12.x extended the range of SVC IDs, so we need to expand the range of bits that need to be tested. The upside of this is that we can eliminate a range check, given the whole range is used.
* hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei2021-02-191-7/+7
|
* kernel: Unify result codes (#5890)Chloe2021-02-131-17/+17
| | | | | | | | | * kernel: Unify result codes Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways. * oops * rename errors to svc_results
* common/bit_util: Replace CLZ/CTZ operations with standardized onesLioncash2021-01-151-1/+3
| | | | Makes for less code that we need to maintain.
* core: Remove unnecessary enum casts in log callsLioncash2020-12-081-1/+1
| | | | | Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
* kernel: Don't fail silentlyDavid Marcec2020-04-291-0/+30
|
* kernel: process_capability: Update to use Memory::PageTable.bunnei2020-04-171-12/+12
|
* kernel/handle_table: Allow process capabilities to limit the handle table sizeLioncash2019-02-251-2/+2
| | | | | | | | | | The kernel allows restricting the total size of the handle table through the process capability descriptors. Until now, this functionality wasn't hooked up. With this, the process handle tables become properly restricted. In the case of metadata-less executables, the handle table will assume the maximum size is requested, preserving the behavior that existed before these changes.
* kernel/process_capability: Handle debug capability flagsLioncash2018-12-211-1/+7
|
* kernel/process_capability: Handle handle table capability flagsLioncash2018-12-211-1/+6
| | | | | This just specifies the handle table size. There's also a section of reserved bits that are checked against.
* kernel/process_capability: Handle kernel version capability flagsLioncash2018-12-211-1/+13
|
* kernel/process_capability: Handle program capability flagsLioncash2018-12-211-1/+8
|
* kernel/process_capability: Handle interrupt capability flagsLioncash2018-12-211-1/+21
| | | | | | Similar to the service capability flags, however, we currently don't emulate the GIC, so this currently handles all interrupts as being valid for the time being.
* kernel/process_capability: Handle syscall capability flagsLioncash2018-12-211-1/+24
|
* kernel/process_capability: Handle the priority mask and core mask flagsLioncash2018-12-211-1/+30
| | | | | | Handles the priority mask and core mask flags to allow building up the masks to determine the usable thread priorities and cores for a kernel process instance.
* kernel/process: Introduce process capability parsing skeletonLioncash2018-12-211-0/+253
We've had the old kernel capability parser from Citra, however, this is unused code and doesn't actually map to how the kernel on the Switch does it. This introduces the basic functional skeleton for parsing process capabilities.