aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2022-06-16Implement ExitProcess svcNikita Strygin
Currently this just stops all the emulation This works under assumption that only application will try to use ExitProcess, with services not touching it If application exits - it quite makes sense to end the emulation
2022-06-16Merge pull request #8457 from liamwhite/kprocess-suspendFernando S
kernel: implement KProcess suspension
2022-06-15Merge pull request #8464 from liamwhite/break-debugMai
kernel: notify debugger on break SVC
2022-06-14kernel: notify debugger on break SVCLiam
2022-06-14core: centralize profile scope for DynarmicLiam
2022-06-14kernel: implement KProcess suspensionLiam
2022-06-13kernel: fix passthrough of local captures in lambdaLiam
2022-06-13kernel: ensure class token lambda exit is unreachableLiam
2022-06-13kernel: fix inconsistency in AutoObjectTraits macro definitionsLiam
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-06-13Merge pull request #8388 from liamwhite/simpler-pausebunnei
CpuManager: simplify pausing
2022-06-09kernel: fix KCodeMemory initializationLiam
2022-06-08CpuManager: simplify pausingLiam
2022-06-01core/debugger: Support reading guest thread namesLiam
2022-06-01core/debugger: Improved stepping mechanism and misc fixesLiam
2022-06-01core/debugger: Implement new GDB stub debuggerLiam
2022-04-24kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFFMorph
Resolves the C4146 compiler warning on MSVC.
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-04-16hidbus: Implement hidbus and ringcongerman77
2022-04-16Merge pull request #8172 from bunnei/kernel-mutexFernando S
hle: kernel: Use std::mutex instead of spin locks for most kernel locking.
2022-04-13service: jit: Implement the JIT serviceLiam
2022-04-12Merge pull request #8165 from bunnei/ensure-session-port-cleanupbunnei
Kernel: Track open references to KServerPort and KServerSession.
2022-04-12Merge pull request #8178 from tech-ticks/skyline-icache-fixbunnei
hle: kernel: Invalidate entire icache in UnmapProcessMemory and UnmapCodeMemory (fixes #8174)
2022-04-11core: hle: kernel: k_thread: Rework dummy thread waiting.bunnei
2022-04-11hle: kernel: k_spin_lock: Remove unused ThreadPause.bunnei
2022-04-11hle: kernel: Use std::mutex instead of spin locks for most kernel locking.bunnei
2022-04-11Merge pull request #8157 from lat9nq/kernel-racesbunnei
kernel: Fix some data races
2022-04-09hle: kernel: Invalidate entire icache in UnmapProcessMemory and ↵tech-ticks
UnmapCodeMemory (fixes #8174)
2022-04-08hle: kernel: Unify and integrate reference tracking for ↵bunnei
KServerPort/KServerSession. - These are not managed elsewhere, and need to be tracked and closed on emulation shutdown.
2022-04-08hle: kernel: k_server_port: Release ref-counted host emulation members on ↵bunnei
Destroy.
2022-04-08hle: kernel: k_auto_object: Move unregister with kernel to after Destroy.bunnei
- Destructor is no longer invoked, so our object counting was off.
2022-04-08hle: kernel: hle_ipc: HasSessionRequestHandler: Check if domain handler is ↵bunnei
expired rather than locking.
2022-04-07core/hle: Replace lock_guard with scoped_lockMerry
2022-04-07Merge pull request #8148 from merryhime/interruptsFernando S
dynarmic: Better interrupts
2022-04-05k_system_control: Fix data racelat9nq
`return distribution(gen)` is a data race between a read and a write in two threads, reported by TSan. Remove static random number generators so they aren't using the same generator.
2022-04-03k_auto_object: Fix data racelat9nq
Change the memory order to acqure-release when we decrement the reference count. Prevents a race with line 89 reported by TSan.
2022-04-03k_thread: Fix data racelat9nq
TSan reports a data race between writing at cpp:1162 and reading at h:262. Make the thread_state atomic to prevent this.
2022-04-03k_process: Fix data racelat9nq
TSan reported a race between thread 36 and thread 34, a read at :225 and a write at :225 respectively. Make total_proces_running_time_ticks atomic to avoid this race.
2022-04-03kernel: Fix current_process racelat9nq
TSan reported a race at :258 and :803, so make current_process an atomic pointer.
2022-04-03k_scheduler_lock: Fix data racelat9nq
TSan reports a race between the main thread and T37 during IsLockedByCurrentThread and when it's set at the end of Lock(), respectively. Set owner_thread to an atomic pointer to fix it. Co-authored-by: bunnei <bunneidev@gmail.com>
2022-04-03dynarmic: Better interruptsmerry
2022-04-02hle: service: Add option for service interfaces to create or use the default ↵bunnei
thread.
2022-04-02hle: kernel: Create a default thread for services that do not need their own ↵bunnei
host thread.
2022-03-26hle: kernel: k_page_table: Fix implementations of LockForCodeMemory & ↵bunnei
UnlockForCodeMemory.
2022-03-26hle: kernel: k_page_table: Implement LockMemoryAndOpen & UnlockMemory.bunnei
2022-03-26hle: kernel: svc: MapProcessMemory: Fix usage of KPageLinkedList to use ↵bunnei
physical address space.
2022-03-26hle: kernel: svc: CreateCodeMemory: Remove log of 'out' host pointer.bunnei
- This does not seem terribly useful and is inconsistent with other usage.
2022-03-26hle: kernel: k_code_memory: Fix usage of KPageLinkedList to use physical ↵bunnei
address space.
2022-03-26hle: kernel: k_page_table: Implement MakeAndOpenPageGroup & MakePageGroup.bunnei
2022-03-26hle: kernel: k_page_table: Add IsHeapPhysicalAddress method.bunnei