aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
AgeCommit message (Collapse)Author
2018-01-02hle: Move SVC code to kernel namespace.bunnei
2018-01-01svc: Improve svcGetInfo.bunnei
2018-01-01svc: Fix string formatting for CreateThread.bunnei
2018-01-01svc: Stub out svcWaitSynchronization.bunnei
- This does not matter until we implement other kernel objects, mutexes use svcLockMutex for waiting.
2018-01-01svc: Implement svcExitProcess.bunnei
2018-01-01svc: Implement svcUnlockMutex.bunnei
2018-01-01svc: Implement svcLockMutex.bunnei
2017-12-31thread: Keep track of the initially created handle.bunnei
This is kinda crufty, but we need it for now to update guest state variables.
2017-12-31svc: Implement svcExitThread.bunnei
2017-12-31svc: Implement svcCreateThread.bunnei
2017-12-31svc: Cleanup svcGetThreadPriority.bunnei
2017-12-31svc: Stub out svcGetCurrentProcessorNumber.bunnei
2017-12-31svc: Implement svcSetThreadPriority.bunnei
2017-12-31svc: Change SignalProcessWideKey to a stub.bunnei
2017-12-31svc: Implement svcUnmapMemory.bunnei
2017-12-30svc: Minor cleanups.bunnei
2017-12-30svc: Implement svcStartThread.bunnei
2017-12-28kernel: Add SyncObject primitive, use it for ClientSession.bunnei
2017-12-28svc: Implement MapMemory.bunnei
2017-12-28svc: Implement SetHeapSize.bunnei
2017-10-23svc: Implement GetThreadId and GetProcessId.bunnei
2017-10-19hle: Fix QueryMemory response for MemoryInfo.bunnei
2017-10-14hle: Initial implementation of NX service framework and IPC.bunnei
2017-10-14svc: Some logging cleanup.bunnei
2017-10-14svc: Initial nx impl. for QueryMemory, ConnectToPort, SendSyncRequest, etc.bunnei
2017-06-29Merge pull request #2793 from Subv/replyandreceiveSebastian Valle
Kernel/SVC: Partially implemented svcReplyAndReceive
2017-06-29Kernel/SVC: Pass the current thread as a parameter to ↵Subv
ClientSession::SendSyncRequest.
2017-06-25Kernel/SVC: Partially implemented svcReplyAndReceive.Subv
It behaves mostly as WaitSynchronizationN with wait_all = false, except for IPC buffer translation. The target thread of an IPC response will now wake up when responding. IPC buffer translation is currently not implemented. Error passing back to svcSendSyncRequest is currently not implemented.
2017-06-23Kernel: Implement AcceptSession SVCYuri Kunde Schlesner
2017-06-23Kernel: Implement CreateSessionToPort SVCYuri Kunde Schlesner
2017-06-22Kernel: Implement CreateSession SVCYuri Kunde Schlesner
2017-05-29Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner
2017-05-29Kernel: Move WaitObject to a separate fileYuri Kunde Schlesner
Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header.
2017-05-29Kernel: Removed HandleTable::GetWaitObjectYuri Kunde Schlesner
This isn't necessary anymore since plain Get works correctly for WaitObjects.
2017-05-24Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner
2017-05-07Remove ability to load symbol mapsYuri Kunde Schlesner
This was now mostly unused except by thread creation, which used a symbol of the entrypoint, if available, to name the thread.
2017-04-01Fix OutputDebugString syscallMichael Theall
2017-03-09Refined thread launch on syscore error messagesFernando Sahmkow
2017-02-21Timers: Return an error when calling SetTimer with negative timeouts.Subv
2017-01-11Threads: Check the process' resource limit for the max allowed priority when ↵Subv
creating a thread and remove the priority clamping code.
2017-01-11Thread: Added priority range checking to svcSetThreadPriority and removed ↵Subv
priority clamping code from Thread::SetPriority.
2017-01-06Merge pull request #2410 from Subv/sleepthreadbunnei
Don't yield execution in SleepThread(0) if there are no available threads to run
2017-01-06Kernel: Fix SharedMemory objects always returning error when addr = 0 (#2404)Hyper
Closes #2400
2017-01-05Kernel: Don't attempt to yield execution in SleepThread(0) if there are no ↵Subv
available threads to run. With this we avoid an useless temporary deschedule of the current thread.
2017-01-05Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all ↵Subv
the objects that a thread is waiting on.
2017-01-04Kernel: Use different thread statuses when a thread calls ↵Subv
WaitSynchronization1 and WaitSynchronizationN with wait_all = true. This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses: THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false. THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.
2017-01-04Kernel/Mutex: Propagate thread priority changes to other threads inheriting ↵Subv
the priority via mutexes
2017-01-04Kernel/Mutex: Update a mutex priority when a thread stops waiting on it.Subv
2017-01-04Kernel/Mutex: Implemented priority inheritance.Subv
The implementation is based on reverse engineering of the 3DS's kernel. A mutex holder's priority will be temporarily boosted to the best priority among any threads that want to acquire any of its held mutexes. When the holder releases the mutex, it's priority will be boosted to the best priority among the threads that want to acquire any of its remaining held mutexes.
2017-01-04Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.Subv
This will be useful when implementing mutex priority inheritance.