Commit Graph

20 Commits (541c5507538137b9cc5fd0579221aaecf59a89b1)

Author SHA1 Message Date
Lioncash 541c550753 kernel/svc: Implement svcGetThreadContext()
Now that we have all of the rearranging and proper structure sizes in
place, it's fairly trivial to implement svcGetThreadContext(). In the
64-bit case we can more or less just write out the context as is, minus
some minor value sanitizing. In the 32-bit case we'll need to clear out
the registers that wouldn't normally be accessible from a 32-bit
AArch32 exectuable (or process).
7 years ago
Lioncash f85ab0a123 svc_wrap: Convert the PARAM macro into a function
This can just be a regular function, getting rid of the need to also
explicitly undef the define at the end of the file. Given FuncReturn()
was already converted into a function, it's #undef can also be removed.
7 years ago
Lioncash 04d723baf9 svc: Correct parameter type for OutputDebugString()
This should be a u64 to represent size.
7 years ago
Michael Scire 5f8aa02584 Add additional missing format. 7 years ago
Michael Scire 7e191dccc1 Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs. 7 years ago
bunnei a434fdcb10 core: Implement multicore support. 7 years ago
bunnei 40bccd74d3 svc: Stub out SetThreadActivity, GetThreadContext. 7 years ago
bunnei f6893969b3 svc: Stub GetThreadCoreMask. 7 years ago
N00byKing 2b41c6e573 Add UnmapSharedMemory
C++11 requires spaces on the Identifier

Add inttypes include

clang
7 years ago
David 0b6da0c1ab Added CreateSharedMemory & UNIMPLEMENTED() for non existent services. (#113)
* Added svcCreateSharedMemory

* Services which are not implemented now throw UNIMPLEMENTED()

* clang-format

* changed perms to u32

* removed camelcase
7 years ago
bunnei 974362bc12 svc: Implement svcMapSharedMemory. 7 years ago
bunnei 1247c53786 yuzu: Update license text to be consistent across project. 7 years ago
bunnei 97ef21e166 svc: Implement GetSystemTick. 7 years ago
Subv ba02f0deef svc: Stub ResetSignal and CreateTransferMemory 7 years ago
Subv 0a1278081e svc: Stub SetMemoryAttribute 7 years ago
Subv 8d9250fa70 SVC: Fixed WaitSynchronization with multiple handles when at least one of them is ready. 7 years ago
bunnei 4236799832 kernel: Rename Semaphore to ConditionVariable. 7 years ago
bunnei bc8ef64804 svc: Implement svcSignalProcessWideKey. 7 years ago
bunnei 5017038ca7 svc: Implement svcWaitProcessWideKeyAtomic. 7 years ago
bunnei 480906fe1b hle: Move SVC code to kernel namespace. 7 years ago