bunnei
67758857e4
hle: Remove Domain and SyncObject kernel objects.
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
bunnei
e1ee8f4657
svc: Fix svcGetInfo MapRegionBaseAddr.
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
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
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
974362bc12
svc: Implement svcMapSharedMemory.
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
97ef21e166
svc: Implement GetSystemTick.
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
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
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
bunnei
bc8ef64804
svc: Implement svcSignalProcessWideKey.
8 years ago
bunnei
5017038ca7
svc: Implement svcWaitProcessWideKeyAtomic.
8 years ago
bunnei
0e978bdd50
svc: Implement WaitSynchronization for a single handle.
8 years ago
bunnei
57f42e5887
svc: Refactor LockMutex code to use WaitSynchronization1.
8 years ago
bunnei
0dbc8f3577
svc: Add missing string_util include.
8 years ago
bunnei
b172f0d770
arm: Remove SkyEye/Dyncom code that is ARMv6-only.
8 years ago
bunnei
81a8a57ce2
svc: Remove unnecessary "svc" prefix to naming scheme.
8 years ago
bunnei
480906fe1b
hle: Move SVC code to kernel namespace.
8 years ago
bunnei
72f671fd7a
svc: Improve svcGetInfo.
8 years ago
bunnei
dc4fe2fbd5
svc: Fix string formatting for CreateThread.
8 years ago
bunnei
9e8608e8b1
svc: Stub out svcWaitSynchronization.
- This does not matter until we implement other kernel objects, mutexes use svcLockMutex for waiting.
8 years ago
bunnei
aa7c824ea4
svc: Implement svcExitProcess.
8 years ago
bunnei
9b8afed5f7
svc: Implement svcUnlockMutex.
8 years ago
bunnei
b9950cd4b0
svc: Implement svcLockMutex.
8 years ago
bunnei
1cb978eb82
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
45debfe4fd
svc: Implement svcExitThread.
8 years ago
bunnei
9d0c3bda7f
svc: Implement svcCreateThread.
8 years ago
bunnei
001091fa72
svc: Cleanup svcGetThreadPriority.
8 years ago
bunnei
283c63645d
svc: Stub out svcGetCurrentProcessorNumber.
8 years ago
bunnei
8a7f8f3e2c
svc: Implement svcSetThreadPriority.
8 years ago
bunnei
960e8dc5e5
svc: Change SignalProcessWideKey to a stub.
8 years ago
bunnei
3a91a62b8f
svc: Implement svcUnmapMemory.
8 years ago
bunnei
a3228d9b77
svc: Minor cleanups.
8 years ago
bunnei
8ab33616ac
svc: Implement svcStartThread.
8 years ago
bunnei
834fa5db65
kernel: Add SyncObject primitive, use it for ClientSession.
8 years ago