Lioncash
9fb1a47658
k_priority_queue: Unfold several declval usages
...
Given these are only used as function existence checks, we can simplify
some usages of declval, given they aren't particularly useful here.
Reduces a few template instantiations, which at most reduces compile
times a tiny bit.
2021-02-04 15:18:58 -05:00
Lioncash
8170435ec5
k_priority_queue: Simplify affinity mask type alias
...
We can make use of the _t variants of the templates to cut down on a
little bit of verbosity.
2021-02-04 14:57:41 -05:00
Lioncash
4431b499d0
k_priority_queue: Resolved reserved identifier
...
An identifier containing a starting underscore followed by a capital
letter is reserved by the standard. It's trivial to avoid this by moving
the underscore to the end of the identifier.
While the likelihood of clashing here being minimal, we can turn a
"should not break" scenario into a definitive "will not break" one, so
why not?.
2021-02-04 14:55:08 -05:00
bunnei
297e909002
Merge pull request #5848 from ogniK5377/k-resourcelimit
...
kernel: Rewrite resource limit to be more accurate
2021-02-03 14:53:25 -08:00
Chloe Marcec
6ff08eb44f
Simplify limitableresource names
2021-02-03 12:55:16 +11:00
bunnei
6f37a78056
Merge pull request #5842 from german77/userfix
...
acc: Fix error when second user is selected
2021-02-02 15:43:51 -08:00
bunnei
57d0ac56cc
Merge pull request #5861 from german77/HandheldFix
...
hid: Only update motion for npad and prevent over scheduling events
2021-02-01 18:46:26 -08:00
Chloe Marcec
1c1940200a
Compile error
2021-02-02 13:23:34 +11:00
Chloe Marcec
4d7f0c4c07
Address issues
2021-02-02 13:23:00 +11:00
bunnei
eee513213d
Merge pull request #5859 from Morph1984/nifm
...
nifm: Stub GetCurrentNetworkProfile and GetCurrentIpConfigInfo
2021-01-31 21:31:14 -08:00
Ameer J
a57a3172ce
Merge pull request #5856 from Morph1984/nifm-fix-getappletinfo-stub
...
nifm: Fix GetAppletInfo stub
2021-01-31 23:33:11 -05:00
bunnei
179fb1e2f0
Merge pull request #5858 from Morph1984/IsGamePlayRecordingSupported-stub
...
am/IApplicationFunctions: Stub IsGamePlayRecordingSupported
2021-01-31 18:04:04 -08:00
german
963ce4f5ab
Only update motion for npad and prevent over scheduling events
2021-01-31 18:52:38 -06:00
Morph
200c8bce5a
nifm: Stub GetCurrentIpConfigInfo
...
- Used by Lets Sing 12
2021-01-31 07:36:37 -05:00
Morph
af32dc3653
prepo: Stub GetTransmissionStatus
2021-01-31 07:07:11 -05:00
Morph
343ee0fc1f
prepo: Stub RequestImmediateTransmission
...
- Used by Animal Crossing: New Horizons
2021-01-31 07:04:35 -05:00
Morph
130ca0ca61
nifm: Stub GetCurrentNetworkProfile
...
- Used by Minecraft Bedrock Edition
- Used by Bloons TD 5
2021-01-31 06:56:29 -05:00
Morph
9b855feeec
nifm: Add several structs
2021-01-31 06:56:29 -05:00
Morph
5bf0587bee
am/IApplicationFunctions: Stub IsGamePlayRecordingSupported
...
Used by RetroArch
2021-01-31 03:11:03 -05:00
Morph
18c2915be2
bsd: Fix EventFd stub
2021-01-31 02:57:56 -05:00
bunnei
bd51df8969
Merge pull request #5855 from Morph1984/bsd-fix-getsockopt-stub
...
bsd: Fix GetSockOpt stub
2021-01-30 23:21:21 -08:00
Morph
3bd2f586a1
nifm: Fix GetAppletInfo stub
2021-01-31 02:19:36 -05:00
Morph
e2b1734183
Merge pull request #5851 from ameerj/pop-inv-stub
...
am: Stub TryPopFromFriendInvitationStorageChannel
2021-01-31 14:18:40 +08:00
Morph
e1ad1c2552
bsd: Fix GetSockOpt stub
2021-01-31 01:08:56 -05:00
ameerj
6b81524050
bsd: Stub EventFd
...
Used by Family Feud
2021-01-30 21:47:32 -05:00
ameerj
86e8b00299
am: Stub TryPopFromFriendInvitationStorageChannel
...
Used by Family Feud
2021-01-30 21:43:55 -05:00
Chloe Marcec
7a8501243d
fix compile error
2021-01-30 21:51:22 +11:00
Chloe Marcec
dea89a59c9
cleanup commenting
2021-01-30 21:20:35 +11:00
Chloe Marcec
3edb06af11
Drop m_ from lock
2021-01-30 21:19:49 +11:00
Chloe Marcec
a69befa745
Move to GetGlobalTimeNs, fix GetTotalPhysicalMemoryAvailable
2021-01-30 21:03:10 +11:00
Chloe Marcec
68a52e9050
kernel: Rewrite resource limit to be more accurate
...
Matches closer to hardware
2021-01-30 20:40:49 +11:00
bunnei
aba77ea06a
Merge pull request #5779 from bunnei/kthread-rewrite
...
Rewrite KThread to be more accurate
2021-01-29 23:06:40 -08:00
Morph
4128ce3e12
Merge pull request #5838 from german77/prepostub
...
prepo: Stub GetSystemSessionId
2021-01-30 14:19:59 +08:00
german
11815a3499
Stub GetSystemSessionId
2021-01-29 18:41:28 -06:00
bunnei
46f2ca41a4
Merge pull request #5809 from ogniK5377/FlushAudioOutBuffers
...
audout: FlushAudioOutBuffers
2021-01-28 21:54:46 -08:00
bunnei
189340d654
hle: kernel: KLightLock: Fix several bugs.
2021-01-28 21:53:21 -08:00
bunnei
d09ade6cab
hle: kernel: KThread: Release thread resource on thread exit.
2021-01-28 21:49:47 -08:00
bunnei
a96667d30c
yuzu: debugger: Ignore HLE threads.
2021-01-28 21:42:27 -08:00
bunnei
38ae7c53c0
hle: kernel: process: Add state lock.
2021-01-28 21:42:26 -08:00
bunnei
1a1bef5154
hle: kernel: threading: Fix bug with host thread naming.
2021-01-28 21:42:26 -08:00
bunnei
bb41b9d462
hle: kernel: k_scheduler_lock: Cleanup.
2021-01-28 21:42:26 -08:00
bunnei
cf3a05cf8c
hle: kernel: Allocate a dummy KThread for each host thread, and use it for scheduling.
2021-01-28 21:42:26 -08:00
bunnei
0b307a12f3
hle: kernel: k_scheduler: Use atomics for current_thread, etc.
2021-01-28 21:42:26 -08:00
bunnei
9b0a981710
hle: kernel: k_scheduler: Fix for single core mode.
2021-01-28 21:42:26 -08:00
bunnei
67d28075dd
kernel: Fix build errors.
2021-01-28 21:42:26 -08:00
bunnei
177b4da4e7
hle: kernel: KScheduler: Introduce thread context_guard.
2021-01-28 21:42:26 -08:00
bunnei
f34dd04d09
hle: kernel: Recode implementation of KThread to be more accurate.
2021-01-28 21:42:26 -08:00
bunnei
25cece3cea
kernel: svc_types: Add ThreadActivity.
2021-01-28 21:42:26 -08:00
bunnei
589ecb9a75
kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.
2021-01-28 21:42:26 -08:00
bunnei
4440a59cb6
kernel: k_light_lock: Simplify EmuThreadHandle implementation.
2021-01-28 21:42:26 -08:00