aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process_capability.h
AgeCommit message (Collapse)Author
2023-11-10kernel: add KPageTableBaseLiam
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
2022-06-26core: Replace all instances of ResultCode with Resultgerman77
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-05-25kernel: process_capability: Add MapRegion capabilityMorph
- Used by nx-hbloader
2021-04-07process_capability: Handle extended SVC rangeLioncash
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.
2021-02-18hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei
2020-04-17kernel: process_capability: Update to use Memory::PageTable.bunnei
2019-02-25kernel/handle_table: Allow process capabilities to limit the handle table sizeLioncash
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.
2018-12-21kernel/process_capability: Handle debug capability flagsLioncash
2018-12-21kernel/process_capability: Handle handle table capability flagsLioncash
This just specifies the handle table size. There's also a section of reserved bits that are checked against.
2018-12-21kernel/process_capability: Handle kernel version capability flagsLioncash
2018-12-21kernel/process_capability: Handle program capability flagsLioncash
2018-12-21kernel/process_capability: Handle syscall capability flagsLioncash
2018-12-21kernel/process_capability: Handle the priority mask and core mask flagsLioncash
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.
2018-12-21kernel/process: Introduce process capability parsing skeletonLioncash
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.