| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-01-20 | hle: kernel: Remove redundant tracking of dummy threads. | bunnei | |
| - These are already tracked by kernel's registered_objects member. | |||
| 2022-01-18 | Merge pull request #7701 from bunnei/clear-mem-pages | bunnei | |
| Kernel Memory Updates (Part 3): Clear KMemoryManager pages & other fixes | |||
| 2022-01-17 | Merge pull request #7712 from bunnei/fix-thread-exit | bunnei | |
| Accurately implement thread exit | |||
| 2022-01-14 | hle: kernel: k_memory_manager: Clear pages on allocation & free. | bunnei | |
| - Heap pages should be zero'd. - Also explicitly passed along heap allocation option. | |||
| 2022-01-14 | core: hle: kernel: Instantiate a kernel instance of KWorkerTaskManager. | bunnei | |
| 2022-01-14 | hle: kernel: Fix service_threads access to be thread safe V2. | bunnei | |
| - PR #7699 attempted to fix CreateServiceThread and ReleaseServiceThread to be thread safe, but inadvertently introduced a possible dead-lock. - With this PR, we use a worker thread to manage the service thread list, allowing it only to be accessed by a single thread, and guaranteeing threads will not destroy themselves. - Fixes a rare crash in Pokemon Sword/Shield, I've now run this game for ~12 hours non-stop and am quite confident this is a good solution for this issue. | |||
| 2022-01-13 | hle: kernel: Fix service_threads access to be thread safe. | bunnei | |
| - CreateServiceThread and ReleaseServiceThread can be accessed by different threads, uses a lock to make this thread safe. - Fixes a rare crash in Pokemon Sword/Shield that can occur when a new service thread is being created while an old one is being destroyed. | |||
| 2021-12-19 | kernel: Manually destroy the current process during shut down | ameerj | |
| Avoids a memory leak. | |||
| 2021-12-06 | hle: kernel: fix timing on thread preemption | FernandoS27 | |
| 2021-12-06 | hle: kernel: Add a flag for indicating that the kernel is currently shutting ↵ | bunnei | |
| down. | |||
| 2021-12-06 | core: hle: kernel: DisableDispatch on suspend threads. | bunnei | |
| 2021-12-06 | core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate. | bunnei | |
| 2021-12-06 | core: hle: kernel: Ensure idle threads are closed before destroying scheduler. | bunnei | |
| 2021-12-06 | core: hle: kernel: Reflect non-emulated threads as core 3. | bunnei | |
| 2021-11-17 | Fix crash on exit due to static scoped dummy threads | Adam Heinermann | |
| 2021-11-03 | core: Remove unused includes | ameerj | |
| 2021-10-27 | Fix dangling kernel objects when exiting | Feng Chen | |
| 2021-10-27 | Revert PR7009 | Feng Chen | |
| 2021-10-27 | Fix memory leak | Feng Chen | |
| 2021-08-25 | Revert "kernel: Various improvements to scheduler" | bunnei | |
| 2021-08-24 | Merge pull request #6878 from BreadFish64/optimize-GetHostThreadID | Ameer J | |
| kernel: Optimize GetHostThreadID | |||
| 2021-08-16 | kernel: Optimize GetHostThreadID | BreadFish64 | |
| 2021-08-07 | core: hle: kernel: DisableDispatch on suspend threads. | bunnei | |
| 2021-08-07 | core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate. | bunnei | |
| 2021-08-07 | core: hle: kernel: Ensure idle threads are closed before destroying scheduler. | bunnei | |
| 2021-08-07 | core: hle: kernel: Reflect non-emulated threads as core 3. | bunnei | |
| 2021-07-20 | hle: kernel: Track and release server sessions, and protect methods with locks. | bunnei | |
| 2021-07-20 | hle: kernel: Ensure current running process is closed. | bunnei | |
| 2021-07-20 | hle: kernel: Ensure global handle table is finalized before closing. | bunnei | |
| 2021-07-20 | hle: kernel: Ensure global handle table is initialized. | bunnei | |
| 2021-07-20 | hle: kernel: Provide methods for tracking dangling kernel objects. | bunnei | |
| 2021-06-24 | common: Replace common_sizes into user-literals | Wunkolo | |
| Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc user-literals within literals.h. To keep the global namespace clean, users will have to use: ``` using namespace Common::Literals; ``` to access these literals. | |||
| 2021-06-07 | hle: kernel: Remove service thread manager and use weak_ptr. | bunnei | |
| - We no longer need to queue up service threads to be destroyed. - Fixes a race condition where a thread could be destroyed too early, which caused a crash in Pokemon Sword/Shield. | |||
| 2021-05-29 | Merge pull request #6373 from bunnei/use-slabheap-tls | bunnei | |
| hle: kernel: KSlabHeap: Allow host or guest allocations. | |||
| 2021-05-29 | Fix two GCC 11 warnings: Unneeded copies. | Markus Wick | |
| std::move created an unneeded copy. iterating without reference also created copies. | |||
| 2021-05-28 | hle: kernel: KSlabHeap: Allow host or guest allocations. | bunnei | |
| - Use host allocations for kernel memory, as this is not properly emulated yet. - Use guest allocations for TLS, as this needs to be backed by DeviceMemory. | |||
| 2021-05-10 | hle: kernel: Implement named service ports using service interface factory. | bunnei | |
| - This allows us to create a new interface each time ConnectToNamedPort is called, removing the assumption that these are static. | |||
| 2021-05-08 | kernel: Eliminate variable shadowing | Lioncash | |
| Now that the large kernel refactor is merged, we can eliminate the remaining variable shadowing cases. | |||
| 2021-05-05 | hle: kernel: Move slab resource counts to Kernel. | bunnei | |
| 2021-05-05 | hle: kernel: Fix un/sign mismatch errors with NUM_CPU_CORES. | bunnei | |
| 2021-05-05 | hle: kernel: Migrate to KHandleTable. | bunnei | |
| 2021-05-05 | hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory. | bunnei | |
| 2021-05-05 | hle: kernel: Rename Process to KProcess. | bunnei | |
| 2021-05-05 | hle: kernel: Do not shutdown twice on emulator close. | bunnei | |
| 2021-05-05 | hle: kernel: Cleanup shutdown of persistent kernel objects. | bunnei | |
| 2021-05-05 | hle: kernel: Migrate KClientPort to KAutoObject. | bunnei | |
| 2021-05-05 | hle: kernel: Migrate KResourceLimit to KAutoObject. | bunnei | |
| 2021-05-05 | hle: kernel: Move slab heaps to their own container. | bunnei | |
| 2021-05-05 | hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps. | bunnei | |
| 2021-05-05 | hle: kernel: Ensure all kernel objects with KAutoObject are properly created. | bunnei | |
