bunnei
2125abf6d9
hle: kernel: Migrate KThread to KAutoObject.
5 years ago
bunnei
d602286355
hle: kernel: Add initial impl. of slab setup.
5 years ago
bunnei
07939c59a6
hle: kernel: Refactor out various KThread std::shared_ptr usage.
5 years ago
bunnei
d2817d3d9b
hle: kernel: Add initial impl. of KLinkedList.
5 years ago
bunnei
db53115ed2
hle: kernel: Add initial impl. of KSlabAllocated.
5 years ago
bunnei
a7271e7c71
hle: kernel: Add initial impl. of KAutoObjectWithListContainer.
5 years ago
bunnei
7b7a948b80
hle: kernel: Add initial impl. of KAutoObject.
5 years ago
german77
c8845b4fdf
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
5 years ago
Morph
e1702e2844
hle_ipc: Add helper functions to get copy/move handles
5 years ago
bunnei
7a76bc30fa
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
ameerj
931ef0f8a3
k_resource_limit: Minor cleanup of member variables/headers
5 years ago
ameerj
575eb4f156
kernel/process: Replace process resource limit instance with the kernel's 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.
5 years ago
Lioncash
a49970f85a
k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()
This function has a void return value, so this attribute doesn't apply
to it.
5 years ago
Lioncash
a875393fdb
Amend bizarre clang-format suggestions
5 years ago
Lioncash
1af23a44b4
k_scoped_scheduler_lock_and_sleep: Mark class as [[nodiscard]]
Prevents logic bugs from slipping through.
5 years ago
Lioncash
e295cb0474
k_scoped_lock: delete copy and move assignment operators
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).
5 years ago
Lioncash
923efb53d7
k_scoped_lock: Mark class as [[nodiscard]]
Prevents logic bugs of the kind described in the previous commit from
slipping through.
5 years ago
Lioncash
cd6ea98890
k_scheduler: Mark KScopedSchedulerLock as [[nodiscard]]
Prevents logic bugs like:
KScopedSchedulerLock{kernel};
instead of:
KScopedSchedulerLock lk{kernel};
from slipping through.
5 years ago
ameerj
c7a0ebbba7
kernel: Increase event and session counts
12.x increased the number of available sessions and event resource counts
5 years ago
Lioncash
840fadc3e4
svc: Expand SVC tables
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.
5 years ago
Lioncash
7737db89aa
process_capability: Handle extended SVC range
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.
5 years ago
bunnei
e8dd3eca47
hle: kernel: Initialize preemption task after schedulers.
- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
5 years ago
bunnei
50cdb650af
hle: kernel: Breakup InitializeMemoryLayout.
5 years ago
bunnei
abec6f016a
hle: kernel: k_memory_region_type: Minor code cleanup.
5 years ago
bunnei
f5173e80c5
hle: kernel: k_memory_region: Minor code cleanup.
5 years ago
bunnei
9d36ad5242
hle: kernel: k_memory_layout: Use pair instead of tuple.
5 years ago
bunnei
14f631b8c3
hle: kernel: k_system_control: Remove unnecessary inline.
5 years ago
bunnei
9fe89ad30d
common: common_sizes: Move sizes to the Common namespace.
5 years ago
bunnei
9bfc12af71
hle: kernel: Merge KMemoryRegionAttr and KMemoryRegionType.
- Fixes clang errors with mixed enum arithmetic.
5 years ago
bunnei
dc2507fce2
hle: kernel: Remove unused variable.
5 years ago
bunnei
8517b156ae
hle: kernel: k_memory_region_type: Remove extra ".
5 years ago
bunnei
18c6e7e8df
hle: kernel: k_memory_layout: Move KMemoryRegionAllocator out of global.
5 years ago
bunnei
79ca47ab3a
hle: kernel: k_memory_layout: Derive memory regions based on board layout.
5 years ago
bunnei
643bc5bbc4
common: common_sizes: Move Invalid to Size_* prefix and add missing values.
5 years ago
bunnei
4387edcaa3
hle: kernel: k_memory_region: Refactor to simplify code.
5 years ago
bunnei
c59d82d4cf
hle: kernel: board: k_system_control: Extend to include memory region sizes.
5 years ago
bunnei
3eabb45a13
hle: kernel: board: Add secure_monitor module.
5 years ago
bunnei
60e9e9beb4
common: Move common sizes to their own header for code reuse.
5 years ago
bunnei
6775f9d758
hle: kernel: k_address_space_info: Cleanup.
5 years ago
bunnei
cd09055341
hle: kernel: Add k_trace module.
5 years ago
bunnei
0e413fe782
hle: kernel: KSystemControl: Update to reflect board-specific behavior.
6 years ago
bunnei
74f0ee726c
hle: kernel: KMemoryManager: Add CalculateManagementOverheadSize.
6 years ago
bunnei
693f08cd8b
hle: kernel: KMemoryManager: Add aliases.
6 years ago
bunnei
d25a181956
hle: kernel: Add architecture and board specific memory regions.
6 years ago
bunnei
0f5efc8f29
hle: kernel: KMemoryRegion: Derive region values.
6 years ago
bunnei
0aac780e5d
hle: kernel: Migrate some code from Common::SpinLock to KSpinLock.
6 years ago
bunnei
bbc5e3a0aa
hle: kernel: Add initial KMemoryRegionType module.
6 years ago
bunnei
3000ebbf08
hle: kernel: Move KMemoryRegion to its own module and update.
6 years ago
bunnei
e4b692bd16
common: Fiber: use a reference for YieldTo.
- Fixes another small leak.
5 years ago
bunnei
75519d107f
hle: kernel: KThread: Rework dummy threads & fix memory leak.
- 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.
6 years ago