| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-01-22 | core: hle: kernel: Refactor Un/MapPhysicalMemory to remove unnecessary methods. | bunnei | |
| 2022-01-22 | core: hle: kernel: Rename Un/Map to Un/MapMeory. | bunnei | |
| 2022-01-21 | Merge pull request #7737 from bunnei/fix-dummy-thread-leak | bunnei | |
| Various fixes to HLE service thread management | |||
| 2022-01-21 | Merge pull request #7752 from Morph1984/SetCpuOverclockEnabled | bunnei | |
| service: apm: Stub ISession SetCpuOverclockEnabled | |||
| 2022-01-21 | hle: kernel: KThread: Ensure host (dummy) threads block on locking. | bunnei | |
| - But do not enter the priority queue, as otherwise they will be scheduled. - Allows dummy threads to use guest synchronization primitives. | |||
| 2022-01-21 | service/wlan: Update function tables | Lioncash | |
| 2022-01-21 | service/usb: Update function tables | Lioncash | |
| 2022-01-21 | service/set: Update function tables | Lioncash | |
| 2022-01-21 | service/ns: Update function tables | Lioncash | |
| 2022-01-21 | service/nim: Update unknown function table entries | Lioncash | |
| 2022-01-21 | service/friend: Update unknown function table entries | Lioncash | |
| 2022-01-21 | service/filsystem: Update fsp-srv function table | Lioncash | |
| 2022-01-21 | service/btm: Update function tables | Lioncash | |
| 2022-01-21 | service/audio: Update audctl unknown function names | Lioncash | |
| 2022-01-21 | service/am: Update omm function tables | Lioncash | |
| 2022-01-21 | service/acc: Update unknown function names | Lioncash | |
| Switchbrew has the function names now. | |||
| 2022-01-20 | service: apm: Stub ISession SetCpuOverclockEnabled | Morph | |
| Since we don't currently support CPU overclocking within the emulated system, this can be stubbed for now, like APM IsCpuOverclockEnabled. - Used by Gravity Rider Zero | |||
| 2022-01-20 | hle: kernel: Remove redundant tracking of dummy threads. | bunnei | |
| - These are already tracked by kernel's registered_objects member. | |||
| 2022-01-20 | hle: kernel: KThread: DummyThread can be waited, ensure wait_queue is not ↵ | bunnei | |
| nullptr. | |||
| 2022-01-20 | hle: kernel: KThread: Decrease DummyThread priority to ensure it is never ↵ | bunnei | |
| scheduled. | |||
| 2022-01-20 | hle: kernel: service_thread: Ensure dummy thread is closed & destroyed on ↵ | bunnei | |
| thread exit. | |||
| 2022-01-20 | hle: kernel: KServerSession: Remove hack for CompleteSyncRequest. | bunnei | |
| - This does not appear to be necessary anymore. | |||
| 2022-01-20 | hle: kernel: KServerSession: Simplify CompleteSyncRequest EndWait. | bunnei | |
| - Considering is_thread_waiting is never set, so we can remove IsThreadWaiting. - KThread::EndWait will take the scheduler lock, so we can remove the redundant lock. | |||
| 2022-01-20 | hle: kernel: KThread: Ensure dummy threads never call EndWait. | bunnei | |
| - These are only used by host threads for locking and will never have a wait_queue. | |||
| 2022-01-20 | hle: kernel: KScheduler: Ensure dummy threads are never scheduled. | bunnei | |
| - These are only used by host threads for locking. | |||
| 2022-01-20 | hle: kernel: KThread: Rename thread_type_for_debugging -> thread_type. | bunnei | |
| - This will be used to ensure that we do not schedule dummy threads. | |||
| 2022-01-19 | Merge pull request #7726 from german77/clamp | Morph | |
| service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClamp | |||
| 2022-01-19 | service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClamp | german77 | |
| 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-17 | hle: remove no-op code | Valeri | |
| Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there. | |||
| 2022-01-14 | Merge pull request #7711 from bunnei/fix-service-thread-race-v2 | bunnei | |
| hle: kernel: Fix service_threads access to be thread safe V2. | |||
| 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 | Merge pull request #7707 from german77/slow-update | bunnei | |
| service/hid: Decrease motion update rate | |||
| 2022-01-14 | core: hle: kernel: KThread: Integrate with KWorkerTask and implement ↵ | bunnei | |
| DoWorkerTaskImpl. - This is used to terminate a thread asynchronously after it has been exited. - This fixes a crash that can occur in Pokemon Sword/Shield because a thread is incorrectly closed on svcExitThread, then, the thread is destroyed on svcCloseHandle while it is still scheduled. - Instead, we now wait for the thread to no longer be scheduled on all cores before destroying it from KWorkerTaskManager, which is accurate to HOS behavior. | |||
| 2022-01-14 | core: hle: kernel: KProcess: Integrate with KWorkerTask and add ↵ | bunnei | |
| unimplemented DoWorkerTaskImpl. | |||
| 2022-01-14 | core: hle: kernel: KThread: Replace Suspend with UpdateState & various updates. | bunnei | |
| - This makes our implementations of these more closely match HOS. | |||
| 2022-01-14 | core: hle: kernel: Instantiate a kernel instance of KWorkerTaskManager. | bunnei | |
| 2022-01-14 | core: hle: kernel: Add KWorkerTask and KWorkerTaskManager. | bunnei | |
| - These primitives are used to dispatch asynchronous kernel tasks from KThread and KProcess. | |||
| 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-14 | Merge pull request #7699 from bunnei/fix-service-thread-race | Mai M | |
| hle: kernel: Fix service_threads access to be thread safe. | |||
| 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. | |||
| 2022-01-12 | service/hid: Decrease motion update rate | Narr the Reg | |
| Motion stops working in Mario Tennis in swing mode if the update rate is too fast even when HW it updates at the same speed. 10ms it's the minimum period that the game needs to start working again. | |||
| 2022-01-11 | hle: kernel: k_page_table: Update SetProcessMemoryPermission. | bunnei | |
| 2022-01-11 | hle: service: ldr: UnmapCodeMemory BSS only when set. | bunnei | |
| 2022-01-11 | hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite. | bunnei | |
| 2022-01-11 | hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory. | bunnei | |
| 2022-01-08 | core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission. | bunnei | |
| 2022-01-08 | core: hle: kernel: k_page_table: Update CheckMemoryState. | bunnei | |
| 2022-01-04 | Merge pull request #7636 from vonchenplus/buffer_queue_query | bunnei | |
| core:hle:service:nvflinger Implement few type in bufferqueue query method | |||
