bunnei
1b1d399e5f
hle: Rename RequestBuilder to ResponseBuilder.
8 years ago
bunnei
f0035420d7
ipc_helpers: Make interface domain agnostic and add header validation.
8 years ago
bunnei
27bad0598a
hle: Integrate Domain handling into ServerSession.
8 years ago
bunnei
67758857e4
hle: Remove Domain and SyncObject kernel objects.
8 years ago
bunnei
932fa94af7
handle_table: Remove ConvertSessionToDomain.
8 years ago
James Rowe
096be16636
Format: Run the new clang format on everything
8 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
8 years ago
River City Ransomware
dd62f125c3
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
e1ee8f4657
svc: Fix svcGetInfo MapRegionBaseAddr.
8 years ago
bunnei
d80991977a
svc: Add additional fields to MemoryInfo struct.
8 years ago
gdkchan
59575d5cae
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
4497eb4528
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
c81ed5eb33
svc: Add CreateJitMemory and MapJitMemory svc strings
Makes the table match SwitchBrew for these entries
8 years ago
bunnei
7fa32af1c7
svc: Clang-format fix.
8 years ago
bunnei
b588cbcb1d
hle_ipc: Clang format.
8 years ago
bunnei
30cb98f874
ipc: Implement domain command CloseVirtualHandle.
8 years ago
Subv
bf0e20c571
SVC: Correct some return values in svcGetInfo and added TitleId and PrivilegedProcessId stubs.
# Conflicts:
# src/core/hle/kernel/svc.cpp
8 years ago
Subv
3442f4b96a
SVC: Add 4.0.0+ comment to GetInfoType enum values.
8 years ago
Subv
5bc14e791a
IPC: Push domain objects as move handles when not in a domain.
8 years ago
David Marcec
bb7221c5d5
SetThreadCoreMask stub, time to implement fsp
8 years ago
David Marcec
68143af636
Added more svcGetInfo pairs
8 years ago
MerryMage
e35644c005
clang-format
8 years ago
bunnei
22659afcd0
shared_memory: Minor fixes and cleanup.
8 years ago
bunnei
974362bc12
svc: Implement svcMapSharedMemory.
8 years ago
bunnei
bd58c5470c
kernel: Increase default stack size to 64K.
8 years ago
bunnei
1247c53786
yuzu: Update license text to be consistent across project.
8 years ago
bunnei
056f987bcd
core: Include <algorithm> where used.
8 years ago
bunnei
039fc7f985
core: Fix recent GCC build breaks.
8 years ago
bunnei
97ef21e166
svc: Implement GetSystemTick.
8 years ago
Subv
ab86b80cac
IPC: Corrected some definitions for the buffer C descriptor flags.
8 years ago
Subv
ba02f0deef
svc: Stub ResetSignal and CreateTransferMemory
8 years ago
Subv
0a1278081e
svc: Stub SetMemoryAttribute
8 years ago
Subv
7ad20154fc
Threads: Added enum values for the Switch's 4 cpu cores and implemented svcGetInfo(AllowedCpuIdBitmask)
8 years ago
Subv
c2ee513d35
SVC: Fixed WaitSynchronization with multiple handles when none is immediately ready.
8 years ago
Subv
bc91ebacc1
SVC: Implemented CancelSynchronization.
8 years ago
Subv
a418f6e77b
ErrorCodes: Updated the InvalidHandle and Timeout kernel error codes.
8 years ago
Subv
8d9250fa70
SVC: Fixed WaitSynchronization with multiple handles when at least one of them is ready.
8 years ago
bunnei
4236799832
kernel: Rename Semaphore to ConditionVariable.
8 years ago
bunnei
9fcd2bf672
mutex: Remove unused call to VerifyGuestState.
8 years ago
Subv
db3a525166
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
1bbe9309da
Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking.
8 years ago
Subv
2a3f8e8484
Kernel: Allow chaining WaitSynchronization calls inside a wakeup callback.
8 years ago
B3n30
82151d407d
CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119 )
* CoreTiming: New CoreTiming; Add Test for CoreTiming
8 years ago
Subv
32847d8b86
IPC: Add functions to read the input move/copy objects from an IPC request.
8 years ago
Subv
7e3561b1cd
IPC: Don't attempt to read the command buffer if it holds a Close request.
8 years ago
Subv
0368324f79
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
b0ceb4df70
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
226786f0b0
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
bc8ef64804
svc: Implement svcSignalProcessWideKey.
8 years ago
bunnei
4e33b4b42f
semaphore: More changes for Switch.
8 years ago