bunnei
f16763ed52
core: Move process creation out of global state.
8 years ago
N00byKing
ac2232b9cf
(Hopefully) Fix MinGW Build
8 years ago
N00byKing
11cef9ba72
Add UnmapSharedMemory
C++11 requires spaces on the Identifier
Add inttypes include
clang
8 years ago
mailwl
8f256914fc
Stub more functions
8 years ago
bunnei
539977f39b
kernel: Use Scheduler class for threading.
8 years ago
bunnei
23c46db6f7
GetInfo: Implement IsCurrentProcessBeingDebugged.
8 years ago
bunnei
37967da1f2
WaitProcessWideKeyAtomic: Handle case where condition variable was already created.
8 years ago
bunnei
4a19b608fd
svc: SharedMemory size should be 64-bits and cleanup.
8 years ago
bunnei
9892a119da
ArbitrateLock: Assert that requesting_thread is current_thread.
8 years ago
bunnei
4fabdf77d7
hle: Remove Domain and SyncObject kernel objects.
8 years ago
James Rowe
ea88c44eb8
Format: Run the new clang format on everything
8 years ago
David
61a92c7347
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
94483465ad
svc: Fix svcGetInfo MapRegionBaseAddr.
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
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
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
e9e51c7181
svc: Implement svcMapSharedMemory.
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
e2db6b98fe
svc: Implement GetSystemTick.
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
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
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
bunnei
1aac4945d2
svc: Implement svcSignalProcessWideKey.
8 years ago
bunnei
2720d550b7
svc: Implement svcWaitProcessWideKeyAtomic.
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
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
add5ad40ad
svc: Improve svcGetInfo.
8 years ago
bunnei
7a96dfa16f
svc: Fix string formatting for CreateThread.
8 years ago
bunnei
082be53aab
svc: Stub out svcWaitSynchronization.
- This does not matter until we implement other kernel objects, mutexes use svcLockMutex for waiting.
8 years ago
bunnei
37d55a0317
svc: Implement svcExitProcess.
8 years ago
bunnei
aec03c0e73
svc: Implement svcUnlockMutex.
8 years ago
bunnei
16c66e09cc
svc: Implement svcLockMutex.
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
a373ba43e4
svc: Implement svcExitThread.
8 years ago