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 |
|
Morph
|
6bc7f27655
|
kernel: hle_ipc: Foward declare KAutoObject
|
2021-10-07 13:32:36 -04:00 |
|
bunnei
|
7d40321e67
|
Merge pull request #7115 from ameerj/log-compile
common/logging: Reduce dependent header include overhead
|
2021-10-05 10:05:46 -07:00 |
|
Ameer J
|
170284cf1c
|
Merge pull request #7091 from vonchenplus/fix_memroy_leak
core: Fix memory leak
|
2021-10-04 00:09:08 -04:00 |
|
ameerj
|
f222d1e4ce
|
common/logging: Move Log::Entry declaration to a separate header
This reduces the load of requiring to include std::chrono in all files which include log.h
|
2021-10-01 20:48:49 -04:00 |
|
Morph
|
203d8f7f60
|
style: Remove extra space preceding the :: operator
|
2021-09-29 01:26:01 -04:00 |
|
Feng Chen
|
38fc397b0f
|
Fix KShareMemory object leak
|
2021-09-29 09:51:20 +08:00 |
|
Feng Chen
|
974547f98f
|
Fix KScopedAutoObject object leak when SendSyncRequest
|
2021-09-25 22:16:21 +08:00 |
|
ameerj
|
d7977be416
|
general: Update style to clang-format-12
|
2021-09-24 15:52:05 -04:00 |
|
Morph
|
3e49eac2de
|
kernel: Add missing <functional> include
|
2021-09-11 17:19:15 -04:00 |
|
bunnei
|
5e600cba3a
|
Revert "kernel: Various improvements to scheduler"
|
2021-08-25 20:59:28 -07:00 |
|
Ameer J
|
b53a87b6b4
|
Merge pull request #6878 from BreadFish64/optimize-GetHostThreadID
kernel: Optimize GetHostThreadID
|
2021-08-24 00:01:13 -04:00 |
|
Valeri
|
190e12a072
|
Fix check is thread current in GetThreadContext
Misplaced break made it only check for the first core.
|
2021-08-19 16:46:30 +03:00 |
|
BreadFish64
|
8c4f818e77
|
kernel: Optimize GetHostThreadID
|
2021-08-16 07:30:23 -05:00 |
|
bunnei
|
b2f859f47c
|
core: hle: kernel: Disable dispatch count tracking on single core.
- This would have limited value, and would be a mess to handle properly.
|
2021-08-14 02:14:19 -07:00 |
|
bunnei
|
8d8a230257
|
core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.
|
2021-08-07 12:33:31 -07:00 |
|
bunnei
|
1458629fc8
|
core: hle: kernel: k_auto_object: Add GetName method.
- Useful purely for debugging.
|
2021-08-07 12:18:48 -07:00 |
|
bunnei
|
0cd7bf70a3
|
core: hle: kernel: DisableDispatch on suspend threads.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
19457823ea
|
core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
347e4d6ab8
|
core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
aedc599224
|
core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
edba87b96d
|
core: hle: kernel: k_scheduler: Improve ScheduleImpl.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
0d22a55e01
|
core: hle: kernel: k_scheduler: Improve Unload.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
cba49de65b
|
core: hle: kernel: k_process: DisableDispatch on main thread.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
92ef6e44ee
|
core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
9951f24bad
|
core: hle: kernel: k_thread: Add KScopedDisableDispatch.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
43fcb97ef3
|
core: hle: kernel: Ensure idle threads are closed before destroying scheduler.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
951143ba57
|
core: hle: kernel: Reflect non-emulated threads as core 3.
|
2021-08-07 12:18:47 -07:00 |
|
bunnei
|
b9bb5338c0
|
hle: kernel: svc: Remove part of ExitProcess.
- ExitProcess is not actually implemented either way, and this needs more work before we implement.
|
2021-07-20 18:54:56 -07:00 |
|
bunnei
|
beeed68944
|
hle: kernel: Track and release server sessions, and protect methods with locks.
|
2021-07-20 18:54:56 -07:00 |
|