Commit Graph

182 Commits

Author SHA1 Message Date
wheremyfoodat
0be099d1ea Hook up KTimer to scheduler 2024-01-22 04:04:05 +02:00
wheremyfoodat
1430f1c4c2 Implement SVC 0x3B (GetThreadContext) 2024-01-02 17:18:47 +02:00
wheremyfoodat
a82c03312a Handle svcClose for file objects 2023-12-17 20:47:50 +02:00
wheremyfoodat
ae24bd0701 Optionally flush file in File::Write 2023-12-17 20:36:00 +02:00
wheremyfoodat
ba3db24f30 [Kernel] Fix WaitSynchronization1 ABI 2023-12-06 02:39:55 +02:00
wheremyfoodat
1f7fc2274a Add vector of timer handles 2023-11-04 18:28:28 +02:00
wheremyfoodat
708b10c194 Fix svcSetTimer ABI maybe...? 2023-11-04 18:26:20 +02:00
wheremyfoodat
798b10ec69 Fix KTimer not properly triggering 2023-11-04 18:07:13 +02:00
offtkp
13f2ddc77e Fix ambiguity between enum and type 2023-10-21 02:32:24 +03:00
wheremyfoodat
2ab37b3d4a Don't sleep on service handles for the time being 2023-10-06 18:16:46 +03:00
wheremyfoodat
c48f8327c6 Start implementing SystemSaveData 2023-09-13 23:15:18 +03:00
wheremyfoodat
46cf049e3b Add CSND::ExecuteCommands 2023-09-10 23:00:26 +03:00
wheremyfoodat
b394cacbc7 More CSND stubbing 2023-09-10 16:51:44 +03:00
wheremyfoodat
7bf56c2413 [CPU] Add function for clearing JIT cache 2023-09-05 20:57:48 +03:00
wheremyfoodat
137f29509f Add warning 2023-08-31 22:48:35 +03:00
wheremyfoodat
cb3f7fa134 Remove hacky timer hacks 2023-08-31 22:47:43 +03:00
wheremyfoodat
1d601e41ba Merge branch 'master' into timerz 2023-08-21 18:57:18 +03:00
wheremyfoodat
dd6508eb26 Migrate shared font to cmrc 2023-08-21 14:53:50 +03:00
wheremyfoodat
8796440ae9 Add resource limit for threads to getResourceLimitLimitValues 2023-08-20 18:27:23 +03:00
wheremyfoodat
cce796ec0c Make SendSyncRequest warn instead of panic on invalid handles
Some games like Arc Baseball use invalid handles...
2023-08-20 18:03:42 +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
51b2b8eee5 Make battery stuff configurable 2023-08-18 22:17:33 +03:00
wheremyfoodat
56b17c3e8d Fix format specifiers 2023-08-14 17:26:02 +03:00
wheremyfoodat
8881467505 I hate timers 2023-08-14 17:24:53 +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
6552f2998c OS timers part 1 2023-08-13 03:35:41 +03:00
wheremyfoodat
e2b82997ba Add ConfigMem FIRM stuff and GetSystemInfo modes for DDLC 2023-08-11 16:37:51 +03:00
wheremyfoodat
01a7985324 [Kernel] ExitThread should release held mutexes 2023-08-10 15:11:54 +03:00
wheremyfoodat
fb8965942c [Kernel] Implement APIs for detecting Citra & Panda 2023-08-03 11:32:51 +03:00
wheremyfoodat
8f8f442f0f Comments 2023-08-02 19:47:13 +03:00
wheremyfoodat
3d5f1ea517 [Kernel] Add evalReschedule function 2023-08-02 19:18:15 +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
fbc10bf3da Fix typo 2023-07-29 15:10:06 +03:00
wheremyfoodat
2eb84e053b [Kernel] Undo enormous, embarassing mistake no one must know about 2023-07-29 15:03:46 +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
wheremyfoodat
ed1b0704d6 Merge pull request #111 from wheremyfoodat/dynapand
Filesystem bonking
2023-07-18 01:26:17 +03:00
wheremyfoodat
cdf01aaf43 [FS::Directory] Better attribute handling 2023-07-17 03:22:13 +03:00
wheremyfoodat
22bfb092b8 Fix 8.3 conversion derp 2023-07-17 03:11:21 +03:00
wheremyfoodat
f08fe10862 [FS::Dir] Fix command response headers 2023-07-17 02:58:55 +03:00
wheremyfoodat
50742f7bb1 [FS] Proper 8.3 filename conversion hopefully 2023-07-17 02:54:05 +03:00
wheremyfoodat
0b7e63c5b6 Fix resetting v2 2023-07-15 01:26:46 +03:00