River City Ransomware
39827d573a
Fixes some cast warnings, partial port of citra #3064 ( #106 )
* Fixes some cast warnings, partially fixes citra #3064
* Converted casts to uint32_t to u32
* Ran clang-format
8 years ago
bunnei
94483465ad
svc: Fix svcGetInfo MapRegionBaseAddr.
8 years ago
bunnei
c268244812
svc: Add additional fields to MemoryInfo struct.
8 years ago
gdkchan
90b697db30
Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc ( #96 )
* Stub PopLaunchParameter and implement Buffer C Descriptors reading
* Address PR feedback
* Ensure we push a u64 not a size_t
* Fix formatting
8 years ago
Lioncash
e396daeb9d
svc: Rename some entries to match their analogue on SwitchBrew
Makes the codebase a little more consistent with regards to available documentation. Also amends the duplicate case where there was a similar entry at 0x72 named ConnectToPort.
8 years ago
Lioncash
9453658987
svc: Add CreateJitMemory and MapJitMemory svc strings
Makes the table match SwitchBrew for these entries
8 years ago
bunnei
11c878023f
svc: Clang-format fix.
8 years ago
bunnei
0d1c6f492e
hle_ipc: Clang format.
8 years ago
bunnei
ce1626b80e
ipc: Implement domain command CloseVirtualHandle.
8 years ago
Subv
6b3510cca6
SVC: Correct some return values in svcGetInfo and added TitleId and PrivilegedProcessId stubs.
# Conflicts:
# src/core/hle/kernel/svc.cpp
8 years ago
Subv
24a605cc10
SVC: Add 4.0.0+ comment to GetInfoType enum values.
8 years ago
Subv
911ea4451e
IPC: Push domain objects as move handles when not in a domain.
8 years ago
David Marcec
18295b0325
SetThreadCoreMask stub, time to implement fsp
8 years ago
David Marcec
eb1ddebb18
Added more svcGetInfo pairs
8 years ago
MerryMage
41bfd994f6
clang-format
8 years ago
bunnei
e09f123ff7
shared_memory: Minor fixes and cleanup.
8 years ago
bunnei
e9e51c7181
svc: Implement svcMapSharedMemory.
8 years ago
bunnei
99d1279753
kernel: Increase default stack size to 64K.
8 years ago
bunnei
182548ec86
yuzu: Update license text to be consistent across project.
8 years ago
bunnei
7e02ba1ae3
core: Include <algorithm> where used.
8 years ago
bunnei
86a8e32471
core: Fix recent GCC build breaks.
8 years ago
bunnei
e2db6b98fe
svc: Implement GetSystemTick.
8 years ago
Subv
8923c80127
IPC: Corrected some definitions for the buffer C descriptor flags.
8 years ago
Subv
edeb55d78b
svc: Stub ResetSignal and CreateTransferMemory
8 years ago
Subv
377e2a79b5
svc: Stub SetMemoryAttribute
8 years ago
Subv
9362706e1d
Threads: Added enum values for the Switch's 4 cpu cores and implemented svcGetInfo(AllowedCpuIdBitmask)
8 years ago
Subv
db71b23c80
SVC: Fixed WaitSynchronization with multiple handles when none is immediately ready.
8 years ago
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