aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps.bunnei2021-05-051-25/+25
|
* hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei2021-05-051-0/+7
|
* hle: kernel: Use unique_ptr for suspend and dummy threads.bunnei2021-05-051-8/+8
|
* hle: kernel: Migrate KSharedMemory to KAutoObject.bunnei2021-05-051-20/+25
|
* hle: kernel: Migrate KProcess to KAutoObject.bunnei2021-05-051-4/+4
|
* hle: kernel: Migrate more of KThread to KAutoObject.bunnei2021-05-051-24/+48
|
* hle: kernel: Refactor out various KThread std::shared_ptr usage.bunnei2021-05-051-2/+2
|
* k_resource_limit: Minor cleanup of member variables/headersameerj2021-04-141-3/+4
|
* kernel/process: Replace process resource limit instance with the kernel's ↵ameerj2021-04-121-16/+25
| | | | | | 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.
* Merge pull request #6099 from bunnei/derive-membunnei2021-04-101-26/+296
|\ | | | | Kernel Rework: Derive memory regions from board layout.
| * hle: kernel: Breakup InitializeMemoryLayout.bunnei2021-03-231-3/+7
| |
| * common: common_sizes: Move sizes to the Common namespace.bunnei2021-03-231-7/+7
| |
| * hle: kernel: Remove unused variable.bunnei2021-03-211-1/+0
| |
| * hle: kernel: k_memory_layout: Derive memory regions based on board layout.bunnei2021-03-211-26/+293
| |
| * hle: kernel: Move KMemoryRegion to its own module and update.bunnei2021-03-211-10/+10
| |
* | kernel: Increase event and session countsameerj2021-04-071-2/+2
| | | | | | | | 12.x increased the number of available sessions and event resource counts
* | hle: kernel: Initialize preemption task after schedulers.bunnei2021-03-271-1/+1
|/ | | | - Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
* hle: kernel: KThread: Rework dummy threads & fix memory leak.bunnei2021-03-051-6/+5
| | | | | - 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.
* Merge pull request #5953 from bunnei/memory-refactor-1bunnei2021-02-271-44/+44
|\ | | | | Kernel Rework: Memory updates and refactoring (Part 1)
| * hle: kernel: Migrate MemoryManager to KMemoryManager.bunnei2021-02-181-8/+8
| |
| * hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.bunnei2021-02-181-16/+16
| |
| * hle: kernel: Migrate SlabHeap to KSlabHeap.bunnei2021-02-181-5/+5
| |
| * hle: kernel: Migrate MemoryLayout to KMemoryLayout.bunnei2021-02-181-2/+2
| |
| * hle: kernel: Rename SharedMemory to KSharedMemory.bunnei2021-02-181-17/+17
| |
* | kernel: Fix resource release exception on exitameerj2021-02-201-2/+7
|/ | | | | After rewriting the resource limit, objects releasing reserved resources require a live kernel instance. This commit fixes exceptions that occur due to the kernel being destroyed before some objects released their resources, allowing for a graceful exit.
* kernel: More accurately reserve and release resourcesameerj2021-02-121-3/+12
|
* kernel: Unify result codes (#5890)Chloe2021-02-121-1/+1
| | | | | | | | | * 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
* Simplify limitableresource namesChloe Marcec2021-02-031-10/+6
|
* kernel: Rewrite resource limit to be more accurateChloe Marcec2021-01-301-13/+17
| | | | Matches closer to hardware
* hle: kernel: threading: Fix bug with host thread naming.bunnei2021-01-281-3/+2
|
* hle: kernel: Allocate a dummy KThread for each host thread, and use it for ↵bunnei2021-01-281-7/+20
| | | | scheduling.
* kernel: Fix build errors.bunnei2021-01-281-2/+2
|
* hle: kernel: Recode implementation of KThread to be more accurate.bunnei2021-01-281-5/+5
|
* kernel: k_light_lock: Simplify EmuThreadHandle implementation.bunnei2021-01-281-14/+7
|
* hle: kernel: KThread: Fix ThreadType definition.bunnei2021-01-281-1/+1
|
* hle: kernel: Move single core "phantom mode" out of KThread.bunnei2021-01-281-1/+20
| | | | - This is a workaround that does not belong in a kernel primitive.
* hle: kernel: KThread: Remove thread types that do not exist.bunnei2021-01-281-5/+3
|
* core: hle: kernel: Rename Thread to KThread.bunnei2021-01-281-7/+7
|
* hle: kernel: thread: Preserve thread wait reason for debugging only.bunnei2021-01-111-0/+2
| | | | - This is decoupled from core functionality and used for debugging only.
* hle: kernel: Rename thread "status" to "state".bunnei2021-01-111-2/+2
|
* hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ↵bunnei2021-01-111-1/+1
| | | | | | ThreadState. - This is how the real kernel works, and is more accurate and simpler.
* core: hle: kernel: Update KSynchronizationObject.bunnei2021-01-111-13/+2
|
* hle: kernel: Manage service threads on another thread.bunnei2020-12-291-9/+20
| | | | - This is to allow service threads to defer destruction of themselves.
* hle: kernel: Manage host thread IDs using TLS.bunnei2020-12-291-46/+31
| | | | - Avoids the need to have a large map of host to guest thread IDs.
* hle: kernel: Move ServiceThread ownership to KernelCore.bunnei2020-12-291-1/+20
| | | | - Fixes a circular dependency which prevented threads from being released on shutdown.
* core: hle: kernel: Clear process list on boot.bunnei2020-12-281-2/+2
|
* core: kernel: Clear process list earlier.bunnei2020-12-281-2/+2
|
* core: hle: server_session: Use separate threads for each service connection.bunnei2020-12-281-1/+1
|
* hle: kernel: Migrate to KScopedSchedulerLock.bunnei2020-12-061-2/+2
|
* hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei2020-12-061-35/+24
|