Commit graph

2399 commits

Author SHA1 Message Date
wheremyfoodat
9b95bd87f1 We can now change threads 2022-09-20 15:30:41 +03:00
wheremyfoodat
1678cd6172 Hacks to let the kernel access the CPU and vice versa (TODO: Fix) 2022-09-20 03:49:53 +03:00
wheremyfoodat
0d9088eddc Add status variable to threads 2022-09-20 03:20:51 +03:00
wheremyfoodat
1ac9417d50 [Kernel] More threading work 2022-09-20 01:50:32 +03:00
wheremyfoodat
11d8a43bd8 [Kernel] More address arbiter stuff 2022-09-20 01:30:45 +03:00
wheremyfoodat
8bfa29568a [Kernel] Start implementing address arbiters 2022-09-20 00:53:39 +03:00
wheremyfoodat
f100601caf [Kernel] More cleanup 2022-09-19 23:27:54 +03:00
wheremyfoodat
ad07c70772 [Kernel] Cleaning up 2022-09-19 22:19:36 +03:00
wheremyfoodat
1c4348248d [Kernel] CreateThread stub 2022-09-19 16:32:07 +03:00
wheremyfoodat
765b51696e [Kernel] Stub MapMemoryBlock, hopefully touch the memory allocator for the last time in a while 2022-09-19 14:15:24 +03:00
wheremyfoodat
45c016d12e [Kernel] Hopefully implement the QueryMemory svc remotely correctly 2022-09-19 01:33:12 +03:00
wheremyfoodat
6bb2bd67df [GSP::GPU] Implement writeHwRegsWithMask 2022-09-18 23:16:36 +03:00
wheremyfoodat
99e795c141 [GSP::GPU] Implement writeHwRegs 2022-09-18 22:52:24 +03:00
wheremyfoodat
a5384095df Fix GSP::GPU::RegisterInterruptRelayQueue and add ResetType defs 2022-09-18 19:08:16 +03:00
wheremyfoodat
a91035abf4 Initial impl for createEvent SVC 2022-09-18 18:17:41 +03:00
wheremyfoodat
68698ae7a7 Add GSP::GPU::AcquireRight 2022-09-18 17:30:26 +03:00
wheremyfoodat
a56b67f3ba Added GSP services 2022-09-18 16:38:10 +03:00
wheremyfoodat
818ade660d Rename test folder & update gitignore 2022-09-18 15:58:35 +03:00
wheremyfoodat
912405b99e Add triangle test ROM 2022-09-18 05:13:25 +03:00
wheremyfoodat
7dc2b37c5a Add hello world test ROM 2022-09-18 04:54:34 +03:00
wheremyfoodat
36453629d5 Add svcOutputDebugString, booting our first test ROM 2022-09-18 03:55:40 +03:00
wheremyfoodat
91356f1de9 Stub FS service, we now get to main in libctru 2022-09-18 03:09:35 +03:00
wheremyfoodat
083a0d04d7 Make HID::GetIPCHandles fail to skip hidInit 2022-09-18 02:38:22 +03:00
wheremyfoodat
340e0c9266 Add HID service 2022-09-18 02:31:58 +03:00
wheremyfoodat
5bc8c9d671 Make APT::GetLockHandle fail to skip aptInit 2022-09-18 02:18:40 +03:00
wheremyfoodat
6154a360c6 Hopefully we're good to start sending commands to services now 2022-09-18 00:21:32 +03:00
wheremyfoodat
208c18356b Started work on services 2022-09-17 19:51:30 +03:00
wheremyfoodat
3259c5c7a6 Better exclusive write implementation 2022-09-17 15:35:37 +03:00
wheremyfoodat
ee74b375e3 Add SendSyncRequest 2022-09-17 04:55:15 +03:00
wheremyfoodat
0e66af8dae Initial implementation of ports and sessions 2022-09-17 04:37:40 +03:00
wheremyfoodat
aa643c44bb connectToPort stub, acknowledge configuration memory 2022-09-17 02:02:45 +03:00
wheremyfoodat
8bb494229d Fix LDREX/STREX 2022-09-17 01:31:45 +03:00
wheremyfoodat
93f5ec7bb4 Sort of working OS allocator, except freeing is impossible 2022-09-16 23:36:55 +03:00
wheremyfoodat
2128d5060b Start implementing ControlMemory 2022-09-16 17:34:03 +03:00
wheremyfoodat
6219abd17a Stub CloseHandle 2022-09-16 16:18:12 +03:00
wheremyfoodat
0fbc5f210f Added the rest of the kernel resource functions 2022-09-16 16:05:17 +03:00
wheremyfoodat
a89c850189 Lots of kernel work 2022-09-16 03:16:38 +03:00
wheremyfoodat
787397085e Print PC for unimplemented kernel calls 2022-09-15 22:47:22 +03:00
wheremyfoodat
d8cf0e2de2 cp15 but better 2022-09-15 22:42:36 +03:00
wheremyfoodat
58fe2bcf18 Add cp15 2022-09-15 22:13:25 +03:00
wheremyfoodat
e0204a1eff Bare minimum createAddressArbiter HLE 2022-09-15 18:43:20 +03:00
wheremyfoodat
cd168bca56 Fix printing 2022-09-15 17:56:05 +03:00
wheremyfoodat
c33d7e5dfb Implement main thread stack 2022-09-15 17:50:14 +03:00
wheremyfoodat
275c6dfd0c Finish ELF loading, running actual code now 2022-09-15 17:35:59 +03:00
wheremyfoodat
51689af51f Update opengl.hpp, start with ELFs 2022-09-15 14:59:44 +03:00
wheremyfoodat
1a8d563041 Adding elfio 2022-09-15 13:46:40 +03:00
wheremyfoodat
905c7ed770 Start adding memory stuff 2022-09-15 13:35:15 +03:00
wheremyfoodat
2057e0c447 Proper KVM/Dynarmic split 2022-09-15 06:06:46 +03:00
wheremyfoodat
b5371dc66c Initial commit (I really need to remove Boost) 2022-09-15 04:47:14 +03:00