aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
AgeCommit message (Collapse)Author
2018-07-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-22Kernel/Arbiters: Fix casts, cleanup comments/magic numbersMichael Scire
2018-06-21Add additional missing format.Michael Scire
2018-06-21Kernel/Arbiters: Initialize arb_wait_address in thread struct.Michael Scire
2018-06-21Kernel/Arbiters: Mostly implement SignalToAddressMichael Scire
2018-06-21Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs.Michael Scire
2018-06-20Build: Fixed some MSVC warnings in various parts of the code.Subv
2018-06-18Merge pull request #572 from Armada651/user-except-stubbunnei
svc: Add a stub for UserExceptionContextAddr.
2018-06-18svc: Add a stub for UserExceptionContextAddr.Jules Blok
2018-05-30Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.Subv
Also added some proper error handling.
2018-05-19Kernel/SVC: Signal the highest priority threads first in ↵Subv
svcSignalProcessWideKey.
2018-05-19Kernel/Threads: Reschedule the proper core when operating on that core's ↵Subv
threads.
2018-05-19SVC: Removed unused WaitSynchronization1 functionSubv
2018-05-10thread: Rename mask to affinity_masks.bunnei
2018-05-10threading: Reschedule only on cores that are necessary.bunnei
2018-05-10svc: Implement GetThreadCoreMask and SetThreadCoreMask.bunnei
2018-05-10svc: SignalProcessWideKey should apply to all cores.bunnei
2018-05-10svc: Implement GetCurrentProcessorNumber.bunnei
2018-05-10core: Implement multicore support.bunnei
2018-05-02general: Make formatting of logged hex values more straightforwardLioncash
This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on).
2018-04-29string_util: Remove StringFromFormat() and related functionsLioncash
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash
2018-04-25kernel: Migrate logging macros to fmt-compatible onesLioncash
2018-04-23Merge pull request #370 from Subv/sync_primitivesbunnei
Kernel: Reworked the new kernel synchronization primitives.
2018-04-23Kernel: Implemented mutex priority inheritance.Subv
Verified with a hwtest and implemented based on reverse engineering. Thread A's priority will get bumped to the highest priority among all the threads that are waiting for a mutex that A holds. Once A releases the mutex and ownership is transferred to B, A's priority will return to normal and B's priority will be bumped.
2018-04-20Kernel: Remove unused ConditionVariable class.Subv
2018-04-20Kernel: Properly implemented svcWaitProcessWideKey and svcSignalProcessWideKeySubv
They work in tandem with guest code to provide synchronization primitives along with svcArbitrateLock/Unlock
2018-04-20Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.Subv
Switch mutexes are no longer kernel objects, they are managed in userland and only use the kernel to handle the contention case. Mutex addresses store a special flag value (0x40000000) to notify the guest code that there are still some threads waiting for the mutex to be released. This flag is updated when a thread calls ArbitrateUnlock. TODO: * Fix svcWaitProcessWideKey * Fix svcSignalProcessWideKey * Remove the Mutex class.
2018-04-20resource_limit: Make ResourceTypes an enum classLioncash
Prevents enum identifiers from leaking into the surrounding scope.
2018-04-19common_funcs: Remove ARRAY_SIZE macroLioncash
C++17 has non-member size() which we can just call where necessary.
2018-04-17Various service name fixes - part 2 (rebased) (#322)Hexagon12
* Updated ACC with more service names * Updated SVC with more service names * Updated set with more service names * Updated sockets with more service names * Updated SPL with more service names * Updated time with more service names * Updated vi with more service names
2018-04-02svc: Stub out SetThreadActivity, GetThreadContext.bunnei
2018-03-29svc: Stub GetThreadCoreMask.bunnei
2018-03-19More Warning cleanupsN00byKing
2018-03-19Clean Warnings (?)N00byKing
2018-03-16svc: Use more correct values for GetInfo MapRegion and NewMapRegion.bunnei
2018-03-16MemoryState: Add additional memory states and improve naming.bunnei
2018-03-14core: Move process creation out of global state.bunnei
2018-02-25Merge pull request #215 from N00byKing/umapsharedmmrybunnei
UnmapSharedMemory
2018-02-25(Hopefully) Fix MinGW BuildN00byKing
2018-02-25Add UnmapSharedMemoryN00byKing
C++11 requires spaces on the Identifier Add inttypes include clang
2018-02-22Stub more functionsmailwl
2018-02-18kernel: Use Scheduler class for threading.bunnei
2018-02-04GetInfo: Implement IsCurrentProcessBeingDebugged.bunnei
2018-02-04WaitProcessWideKeyAtomic: Handle case where condition variable was already ↵bunnei
created.
2018-02-03svc: SharedMemory size should be 64-bits and cleanup.bunnei
2018-02-03ArbitrateLock: Assert that requesting_thread is current_thread.bunnei
2018-01-24hle: Remove Domain and SyncObject kernel objects.bunnei
2018-01-20Format: Run the new clang format on everythingJames Rowe