Subv
607a46a662
SVC: Implemented CancelSynchronization.
8 years ago
Subv
5685c764e4
ErrorCodes: Updated the InvalidHandle and Timeout kernel error codes.
8 years ago
Subv
84d05d5b6c
SVC: Fixed WaitSynchronization with multiple handles when at least one of them is ready.
8 years ago
bunnei
7a59da7834
kernel: Rename Semaphore to ConditionVariable.
8 years ago
bunnei
a689a33995
mutex: Remove unused call to VerifyGuestState.
8 years ago
Subv
96e2acfa8f
Kernel: Actually wake up the requested number of threads in Semaphore::Release.
Also properly keep track of data in guest memory, this fixes managing the semaphore from userland.
It was found that Semaphores are actually Condition Variables, with Release(1) and Release(-1) being equivalent to notify_one and notify_all. We should change the name of the class to reflect this.
8 years ago
Subv
2ca36ac394
Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking.
8 years ago
Subv
ac8f05943b
Kernel: Allow chaining WaitSynchronization calls inside a wakeup callback.
8 years ago
B3n30
1b2aa3780d
CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119 )
* CoreTiming: New CoreTiming; Add Test for CoreTiming
8 years ago
Subv
347ab620b5
IPC: Add functions to read the input move/copy objects from an IPC request.
8 years ago
Subv
eda468e4fb
IPC: Don't attempt to read the command buffer if it holds a Close request.
8 years ago
Subv
fd93b1e0ef
IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.
Popping objects from the buffer is still not implemented.
8 years ago
Subv
6a6013d4c3
IPC: Skip the entire u64 of the command id when receiving an IPC request.
Service code now doesn't have to deal with this.
8 years ago
Subv
d6a5e0b61b
IPC: Use the correct size when pushing raw data to the command buffer and fixed pushing domain objects.
Domain object ids are always stored immediately after the raw data.
8 years ago
bunnei
1aac4945d2
svc: Implement svcSignalProcessWideKey.
8 years ago
bunnei
d15b38d32c
semaphore: More changes for Switch.
8 years ago
bunnei
0459eb07c9
wait_object: Refactor to allow waking up a single thread.
8 years ago
bunnei
2720d550b7
svc: Implement svcWaitProcessWideKeyAtomic.
8 years ago
bunnei
2f66f2210d
semaphore: Updates for Switch.
8 years ago
bunnei
260149fc9b
svc: Implement WaitSynchronization for a single handle.
8 years ago
bunnei
25c27e356e
svc: Refactor LockMutex code to use WaitSynchronization1.
8 years ago
bunnei
dc6b80d997
svc: Add missing string_util include.
8 years ago
bunnei
b055ea2699
arm: Remove SkyEye/Dyncom code that is ARMv6-only.
8 years ago
bunnei
5739484470
vm_manager: Use a more reasonable MAX_ADDRESS size.
8 years ago
bunnei
0d63f6dc66
svc: Remove unnecessary "svc" prefix to naming scheme.
8 years ago
bunnei
b328c577ef
hle: Move SVC code to kernel namespace.
8 years ago
bunnei
6a6de01d43
vm_manager: Stub out a bunch of interfaces used by svcGetInfo.
8 years ago
bunnei
4728cc141a
core/video_core: Fix a bunch of u64 -> u32 warnings.
8 years ago
bunnei
37d55a0317
svc: Implement svcExitProcess.
8 years ago
bunnei
16c66e09cc
svc: Implement svcLockMutex.
8 years ago
bunnei
fba61b93c7
kernel: Add ObjectAddressTable class.
8 years ago
bunnei
57d3544f96
thread: Keep track of the initially created handle.
This is kinda crufty, but we need it for now to update guest state variables.
8 years ago
bunnei
10022dc332
errors: Define missing kernel error codes.
8 years ago
bunnei
3af6ad6bb9
svc: Implement svcUnmapMemory.
8 years ago
bunnei
3fc608b040
thread: Main thread should set thread handle to reg 1.
8 years ago
bunnei
da4bd90980
thread: Remove THUMB mode flag.
8 years ago
bunnei
d8a3de102e
thread: Main thread should be ready by default, all others dormant.
8 years ago
bunnei
78531342a4
kernel: Various 64-bit fixes in memory/process/thread
8 years ago
bunnei
9d04a45a90
kernel: Fix implementation of ConvertSessionToDomain.
8 years ago
bunnei
8331a996d6
kernel: Add basic support for Domain object.
8 years ago
bunnei
8fdafee314
kernel: Add SyncObject primitive, use it for ClientSession.
8 years ago
bunnei
e74563e0d0
process: Add method to mirror a memory region.
8 years ago
bunnei
1edc9cc327
service: Return proper result code for IPC::CommandType::Close.
8 years ago
bunnei
714dd3da6d
hle: Use Switch formatted result codes.
8 years ago
bunnei
bf69f3d1eb
hle: Fix QueryMemory response for MemoryInfo.
8 years ago
bunnei
a636b779e7
hle_ipc: Only copy necessary fields for outgoing command buffer.
8 years ago
bunnei
f599769c3c
hle_ipc: Parse out buffer X/A/B/B descriptors from incoming command buffer.
8 years ago
bunnei
be299c7636
hle: Implement ConvertSessionToDomain, various cleanups.
8 years ago
bunnei
2ea8867549
hle: Initial implementation of NX service framework and IPC.
8 years ago
bunnei
e36ccd5ff1
loader: Various improvements for NSO/NRO loaders.
8 years ago