bunnei
|
43d706c7d2
|
hle: kernel: svc: Fix deadlock that can occur with single core.
|
2021-12-06 16:39:18 -08:00 |
|
bunnei
|
826b07162a
|
hle: kernel: k_thread: Treat dummy threads as a special type.
|
2021-12-06 16:39:18 -08:00 |
|
FernandoS27
|
8a38790bd3
|
hle: kernel: fix timing on thread preemption
|
2021-12-06 16:39:18 -08:00 |
|
FernandoS27
|
2a7b4489a0
|
hle: kernel: fix scheduling ops from HLE host thread.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
58da4d5a6e
|
hle: kernel: Add a flag for indicating that the kernel is currently shutting down.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
975a4f786b
|
hle: kernel: KSynchronizationObject: Fix variable shadowing.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
eb34276885
|
hle: kernel: Cleanup to match coding style.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
8fc7d6e631
|
hle: kernel: KProcess: Improvements for thread pinning.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
e9231a0b8c
|
hle: kernel: KThreadQueue: Remove deprecated code.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
ecd17bbbe4
|
hle: kernel: KConditionVariable: Various updates & simplifications.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
050a4270d6
|
hle: kernel: KThread: Migrate to updated KThreadQueue (part 2).
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
778f03c57a
|
hle: kernel: KThread: Migrate to updated KThreadQueue (part 1).
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
756fdcbdb1
|
hle: kernel: KConditionVariable: Migrate to updated KThreadQueue.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
f81a6a07c0
|
hle: kernel: KServerSession: Migrate to updated KThreadQueue.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
346f6e54b5
|
hle: kernel: KLightConditionVariable: Migrate to updated KThreadQueue.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
5ff19c33fc
|
hle: kernel: KLightLock: Migrate to updated KThreadQueue.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
2ff578f0ee
|
hle: kernel: KAddressArbiter: Migrate to updated KThreadQueue.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
0ad0543cde
|
hle: kernel: KThread: Remove tracking of sync object from threads.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
e9cdb3cccb
|
hle: kernel: Update KThreadQueue and migrate KSynchronizationObject.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
01b0e5b168
|
core: hle: kernel: Disable dispatch count tracking on single core.
- This would have limited value, and would be a mess to handle properly.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
a3dd417cbf
|
core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.
|
2021-12-06 16:39:17 -08:00 |
|
bunnei
|
5892c23e30
|
core: hle: kernel: k_auto_object: Add GetName method.
- Useful purely for debugging.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
51a7f04b81
|
core: hle: kernel: DisableDispatch on suspend threads.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
d31fc39e05
|
core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
3a83c9c027
|
core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
1e03387d98
|
core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
454970983d
|
core: hle: kernel: k_scheduler: Improve ScheduleImpl.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
90310b9c03
|
core: hle: kernel: k_scheduler: Improve Unload.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
3ca8aca719
|
core: hle: kernel: k_process: DisableDispatch on main thread.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
67e8861da4
|
core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
4bd80abd17
|
core: hle: kernel: k_thread: Add KScopedDisableDispatch.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
fa26f905c8
|
core: hle: kernel: Ensure idle threads are closed before destroying scheduler.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
cae0bef7ec
|
core: hle: kernel: Reflect non-emulated threads as core 3.
|
2021-12-06 16:39:16 -08:00 |
|
bunnei
|
1d8b5271b4
|
Merge pull request #7394 from Morph1984/svc-SetMemoryPermission
kernel: svc: Implement SetProcessMemoryPermission
|
2021-11-22 14:06:09 -08:00 |
|
Morph
|
463793ccb5
|
kernel: svc: Move all IsValid functions to an anonymous namespace
|
2021-11-20 22:49:13 -05:00 |
|
Morph
|
64079bc2f2
|
kernel: svc: Implement SetProcessMemoryPermission
- Used by Skyline modding framework
|
2021-11-20 22:18:56 -05:00 |
|
Morph
|
d9bfc2d546
|
kernel: KPageTable: Rename SetCodeMemoryPermission to SetProcessMemoryPermission
|
2021-11-20 22:18:56 -05:00 |
|
Adam Heinermann
|
fc017ead67
|
Fix crash on exit due to static scoped dummy threads
|
2021-11-17 15:29:25 -08:00 |
|
Morph
|
10508e7af2
|
general: Rename GetTitleID to GetProgramID
|
2021-11-04 16:57:16 -04:00 |
|
ameerj
|
a3d1429aa5
|
core: Fix transitive include build errors
|
2021-11-03 21:42:58 -04:00 |
|
ameerj
|
d27abf5546
|
core: Remove unused includes
|
2021-11-03 21:42:57 -04:00 |
|
Morph
|
c3c09ca222
|
svc: Correct WaitSynchronization num_handles param type
num_handles is a s32
|
2021-11-02 22:31:04 -04:00 |
|
Morph
|
fddd57db61
|
general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
|
2021-11-02 17:23:19 -04:00 |
|
bunnei
|
58377818a1
|
Merge pull request #7227 from vonchenplus/fix_memory_leak_v2
Fix memory leak v2
|
2021-11-01 20:11:30 -07:00 |
|
Feng Chen
|
60df1f9030
|
Fix dangling kernel objects when exiting
|
2021-10-27 09:06:30 +08:00 |
|
Feng Chen
|
301d0ac5e0
|
Revert PR7009
|
2021-10-27 09:06:30 +08:00 |
|
Feng Chen
|
c13d1e0b0f
|
Fix memory leak
|
2021-10-27 09:06:22 +08:00 |
|
Morph
|
875a6f4432
|
Merge pull request #7193 from FernandoS27/idle
SVC: Implement svcInfo:IdleTickCount
|
2021-10-25 09:17:49 -04:00 |
|
Fernando Sahmkow
|
69b1cad803
|
SVC: Implement svcInfo:IdleTickCount
Used by the Witcher 3
|
2021-10-16 20:33:44 +02:00 |
|
Morph
|
c7f9f19c64
|
KPageTable: Perform ranged invalidation when unmapping code memory
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
|
2021-10-13 14:27:11 -04:00 |
|