aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2021-04-15hle_ipc: Add helper functions to get copy/move handlesMorph
2021-04-14Merge pull request #6196 from bunnei/asserts-settingbunnei
core: settings: Add setting for debug assertions and disable by default.
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-04-14k_resource_limit: Minor cleanup of member variables/headersameerj
2021-04-13Merge pull request #6185 from ameerj/process-reslimitbunnei
kernel/process: Replace process resource limit instance with the kernel's resource limit
2021-04-12kernel/process: Replace process resource limit instance with the kernel's ↵ameerj
resource limit This commit addresses the inaccurate behavior of kernel processes creating their own resource limit, rather than utilizing the kernel's system-wide resource limit instance.
2021-04-12k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()Lioncash
This function has a void return value, so this attribute doesn't apply to it.
2021-04-10Merge pull request #6099 from bunnei/derive-membunnei
Kernel Rework: Derive memory regions from board layout.
2021-04-09Merge pull request #6156 from lioncash/lock-discardbunnei
kernel: Mark lock helper classes as [[nodiscard]]
2021-04-08Merge pull request #6155 from ameerj/kernel-12-rescntbunnei
kernel: Increase event and session counts
2021-04-08Merge pull request #6154 from lioncash/svcrange2bunnei
svc: Expand SVC tables
2021-04-07Amend bizarre clang-format suggestionsLioncash
2021-04-07k_scoped_scheduler_lock_and_sleep: Mark class as [[nodiscard]]Lioncash
Prevents logic bugs from slipping through.
2021-04-07k_scoped_lock: delete copy and move assignment operatorsLioncash
If we delete the copy and move constructor, we should also be deleting the copy and move assignment operators (and even if this were intended, it would be pretty odd to not document why it's done this way).
2021-04-07k_scoped_lock: Mark class as [[nodiscard]]Lioncash
Prevents logic bugs of the kind described in the previous commit from slipping through.
2021-04-07k_scheduler: Mark KScopedSchedulerLock as [[nodiscard]]Lioncash
Prevents logic bugs like: KScopedSchedulerLock{kernel}; instead of: KScopedSchedulerLock lk{kernel}; from slipping through.
2021-04-07kernel: Increase event and session countsameerj
12.x increased the number of available sessions and event resource counts
2021-04-07svc: Expand SVC tablesLioncash
12.x expanded the range of SVC entries from 0x7F to 0xBF (with all new entries being unused), so we can expand it to also match.
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-03-27hle: kernel: Initialize preemption task after schedulers.bunnei
- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
2021-03-23hle: kernel: Breakup InitializeMemoryLayout.bunnei
2021-03-23hle: kernel: k_memory_region_type: Minor code cleanup.bunnei
2021-03-23hle: kernel: k_memory_region: Minor code cleanup.bunnei
2021-03-23hle: kernel: k_memory_layout: Use pair instead of tuple.bunnei
2021-03-23hle: kernel: k_system_control: Remove unnecessary inline.bunnei
2021-03-23common: common_sizes: Move sizes to the Common namespace.bunnei
2021-03-21hle: kernel: Merge KMemoryRegionAttr and KMemoryRegionType.bunnei
- Fixes clang errors with mixed enum arithmetic.
2021-03-21hle: kernel: Remove unused variable.bunnei
2021-03-21hle: kernel: k_memory_region_type: Remove extra ".bunnei
2021-03-21hle: kernel: k_memory_layout: Move KMemoryRegionAllocator out of global.bunnei
2021-03-21hle: kernel: k_memory_layout: Derive memory regions based on board layout.bunnei
2021-03-21common: common_sizes: Move Invalid to Size_* prefix and add missing values.bunnei
2021-03-21hle: kernel: k_memory_region: Refactor to simplify code.bunnei
2021-03-21hle: kernel: board: k_system_control: Extend to include memory region sizes.bunnei
2021-03-21hle: kernel: board: Add secure_monitor module.bunnei
2021-03-21common: Move common sizes to their own header for code reuse.bunnei
2021-03-21hle: kernel: k_address_space_info: Cleanup.bunnei
2021-03-21hle: kernel: Add k_trace module.bunnei
2021-03-21hle: kernel: KSystemControl: Update to reflect board-specific behavior.bunnei
2021-03-21hle: kernel: KMemoryManager: Add CalculateManagementOverheadSize.bunnei
2021-03-21hle: kernel: KMemoryManager: Add aliases.bunnei
2021-03-21hle: kernel: Add architecture and board specific memory regions.bunnei
2021-03-21hle: kernel: KMemoryRegion: Derive region values.bunnei
2021-03-21hle: kernel: Migrate some code from Common::SpinLock to KSpinLock.bunnei
2021-03-21hle: kernel: Add initial KMemoryRegionType module.bunnei
2021-03-21hle: kernel: Move KMemoryRegion to its own module and update.bunnei
2021-03-07common: Fiber: use a reference for YieldTo.bunnei
- Fixes another small leak.
2021-03-05hle: kernel: KThread: Rework dummy threads & fix memory leak.bunnei
- Dummy threads are created on thread local storage for all host threads. - Fixes a leak by removing creation of fibers, which are not applicable here.
2021-03-05Revert "core: Switch to unique_ptr for usage of Common::Fiber."bunnei
2021-02-27core: Switch to unique_ptr for usage of Common::Fiber.bunnei
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context. - Fixes a memory leak due to circular reference of the shared pointer.