wheremyfoodat
0f80d0af7a
Rename Handle to HorizonHandle, add metal-cpp submodule, format
2024-07-23 15:22:15 +03:00
wheremyfoodat
8ff2d7f9b2
Update comment
2024-01-27 15:44:01 +02:00
wheremyfoodat
491b415759
Remove thread sleepTick/waitingNs
2024-01-27 15:38:27 +02:00
wheremyfoodat
99a1a0133d
Initial idle skip implementation
2024-01-27 01:58:21 +02:00
wheremyfoodat
1430f1c4c2
Implement SVC 0x3B (GetThreadContext)
2024-01-02 17:18:47 +02:00
offtkp
13f2ddc77e
Fix ambiguity between enum and type
2023-10-21 02:32:24 +03:00
wheremyfoodat
1d601e41ba
Merge branch 'master' into timerz
2023-08-21 18:57:18 +03:00
wheremyfoodat
d4f074b231
Merge pull request #217 from wheremyfoodat/services
...
Add the GetThreadIdealProcessor SVC and fix UB
2023-08-20 03:58:07 +03:00
wheremyfoodat
434827e11e
Add svcGetThreadIdealProcessor
2023-08-20 03:43:26 +03:00
wheremyfoodat
574fe95bca
Add missing log
2023-08-20 02:21:05 +03:00
wheremyfoodat
8a435cc36b
Add note about default processor ID
2023-08-20 01:55:41 +03:00
wheremyfoodat
5b8bb12860
Make svcCreateThread panic with invalid IDs
2023-08-20 01:52:23 +03:00
wheremyfoodat
6895a1d9d6
Implement svcGetCurrentProcessorNumber
2023-08-20 01:51:24 +03:00
wheremyfoodat
1354b0f7fa
Moar timer
2023-08-14 15:13:37 +03:00
wheremyfoodat
fa58c7a7d6
OS Timers part 2
2023-08-13 23:32:07 +03:00
wheremyfoodat
01a7985324
[Kernel] ExitThread should release held mutexes
2023-08-10 15:11:54 +03:00
wheremyfoodat
8f8f442f0f
Comments
2023-08-02 19:47:13 +03:00
wheremyfoodat
60de6a65f5
Kernel: Don't idle on svcSleepThread(0)
2023-08-02 18:52:52 +03:00
wheremyfoodat
65de2637ae
More threading fixes
2023-08-01 23:45:43 +03:00
wheremyfoodat
7047bf6ec8
[Mutex[ Request reschedule when acquiring mutex
2023-07-29 15:37:34 +03:00
wheremyfoodat
e082625002
Properly handle current thread in rescheduling
2023-07-28 20:05:26 +03:00
wheremyfoodat
8dd5b990be
Thread bonk part 1: Better rescheduling maybe
2023-07-28 19:49:11 +03:00
Wunkolo
37b75f0928
Fix C4267
/C4244
warnings
...
Address warnings involving lossy conversions from larger integer-types into smaller integer-types
2023-07-10 12:33:37 -07:00
Sky
e9b3b7c2a2
Add workaround helper for bit_cast and missing #include <bit>
...
Allows compilation on native macOS build system.
2023-06-18 12:33:34 -07:00
wheremyfoodat
d0ae5f0546
Merge pull request #37 from marysaka/feat/proper-hle-result
...
hle: Add proper type for result code
2023-06-17 18:39:36 +03:00
Mary
122b1b2727
hle: Add proper type for result code
...
This should clean up all HLE errorcode in the codebase.
I didn't removed Rust::Result as this should be a cleanup for another
iteration.
2023-06-16 20:09:37 +02:00
Wunkolo
fde93381a5
Use std::span
for CPU register-state
...
Following the trend of #33 : `std::span` provides some useful utility
functions like `size_bytes()` and `as_bytes()` and serves as a better
non-owning "chunk of data"-type over just passing around an
`std::array&`.
2023-06-16 07:24:37 -07:00
wheremyfoodat
09ba66ae60
[Kernel] Fully implement semaphores
2023-05-07 18:02:51 +03:00
wheremyfoodat
de537fedfb
[Kernel] Add proper WakeUpAllThreads
2023-05-06 00:06:31 +03:00
wheremyfoodat
71676a79e2
[Kernel] Spam some more RescheduleThreads calls
2023-05-01 00:27:49 +03:00
wheremyfoodat
74b06da6b2
[Kernel] Handle timeout errors properly
2023-04-30 14:41:57 +03:00
wheremyfoodat
dac77cdc1d
[Kernel Add WakeupOneThread
2023-04-29 01:45:30 +03:00
wheremyfoodat
0eeff3535f
Derp
2023-04-24 23:25:56 +03:00
wheremyfoodat
1cf8af98c2
Another one
2023-04-24 23:13:37 +03:00
wheremyfoodat
9532e694b3
[Kernel] Acquiring threads
2023-04-23 01:07:21 +03:00
wheremyfoodat
908e1fc4fd
[DSP] Add event stubs to fix games locking up
2023-04-22 20:59:34 +03:00
wheremyfoodat
2ebbb08766
[Mutex] Make less dumb
2023-04-21 21:48:07 +03:00
wheremyfoodat
91e008ad1d
[Kernel] New event signalling, better Mootex
2023-04-21 21:39:59 +03:00
wheremyfoodat
33158c7908
[Kernel] Make WaitSyncN better
2023-04-21 01:08:13 +03:00
wheremyfoodat
f575d4db82
Fix derp
2023-04-20 22:52:32 +03:00
wheremyfoodat
7f2715d06c
[Kernel] Fix release mutex
2023-04-20 22:24:36 +03:00
wheremyfoodat
134d63c515
[Kernel] Moar threads
2023-04-20 22:00:51 +03:00
wheremyfoodat
fecf038982
[APT/Kernel] More fixing hacks
2023-04-19 23:11:29 +03:00
wheremyfoodat
c6c45408fe
Starting on sync object rewrite #3
2023-04-18 03:14:25 +03:00
wheremyfoodat
4e64f722e5
[Kernel] ExitThread [FS] Start implement archive 0x2345678A
2023-01-26 17:49:17 +02:00
wheremyfoodat
f68ddebf90
Fix SleepThread SVC (Fixes nullptr access in SM3DL and Pokemon Rumble Blast)
2023-01-25 01:44:14 +02:00
wheremyfoodat
1730ab9734
Stub AM::GetDLCTitleInfo got PMD: Gates to Infinity
2023-01-13 23:41:20 +02:00
wheremyfoodat
9f792c2cf5
Add thread logger, split renderer from PICA
2023-01-01 21:04:34 +02:00
wheremyfoodat
6b69010628
[Kernel] Forgot a sortThreads call, oops.
2022-12-31 15:57:24 +02:00
wheremyfoodat
ca4726aba1
More thread work
2022-12-07 02:08:18 +02:00