index
:
anonymous/yuzu
master
yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra. It is written in C++ with portability in mind,
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
core
/
hle
/
kernel
/
svc.cpp
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
svc: Localize the GetInfo enum class to the function itself
Lioncash
2018-10-26
1
-0
/
+31
*
svc: Implement svcGetInfo command 0xF0000002
Lioncash
2018-10-26
1
-0
/
+30
*
kernel/svc: Amend returned error code for invalid priorities in CreateThread
Lioncash
2018-10-24
1
-1
/
+1
*
kernel/svc: Move and correct returned error code for invalid thread priorities in SetThreadPriority()
Lioncash
2018-10-24
1
-5
/
+6
*
Merge pull request #1551 from ogniK5377/improved-svcbreak
bunnei
2018-10-24
1
-5
/
+51
|
\
|
*
Added assertion failed, reworked logging levels
David Marcec
2018-10-23
1
-16
/
+24
|
*
Added break types to svcBreak
David Marcec
2018-10-23
1
-4
/
+42
*
|
Merge pull request #1540 from lioncash/handle
bunnei
2018-10-24
1
-60
/
+60
|
\
\
|
|
/
|
/
|
|
*
kernel/process: Make the handle table per-process
Lioncash
2018-10-20
1
-60
/
+60
*
|
svc: Fix vma boundary check in svcQueryMemory
Lioncash
2018-10-20
1
-1
/
+1
|
/
*
Merge pull request #1520 from lioncash/san
bunnei
2018-10-20
1
-3
/
+27
|
\
|
*
svc: Add missing sanitizing checks for MapSharedMemory/UnmapSharedMemory
Lioncash
2018-10-18
1
-3
/
+27
*
|
svc: Check for word alignment of addresses within svcArbitrateLock/svcArbitrateUnlock
Lioncash
2018-10-18
1
-0
/
+8
*
|
common: Move Is4KBAligned() to alignment.h
Lioncash
2018-10-18
1
-9
/
+7
|
/
*
Merge pull request #1498 from lioncash/aslr
bunnei
2018-10-18
1
-17
/
+4
|
\
|
*
svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()
Lioncash
2018-10-15
1
-17
/
+4
*
|
core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrs
Lioncash
2018-10-15
1
-1
/
+1
|
/
*
Merge pull request #1492 from lioncash/proc
bunnei
2018-10-14
1
-1
/
+24
|
\
|
*
svc: Implement svcGetProcessInfo
Lioncash
2018-10-13
1
-1
/
+24
*
|
Stop all threads on svcBreak
David Marcec
2018-10-14
1
-0
/
+6
|
/
*
Merge pull request #1481 from lioncash/typo
bunnei
2018-10-13
1
-3
/
+3
|
\
|
*
svc: Fix typos in sanitizing checks for MapMemory/UnmapMemory
Lioncash
2018-10-12
1
-3
/
+3
*
|
Merge pull request #1467 from ogniK5377/svcbreak-type-fix
bunnei
2018-10-12
1
-4
/
+4
|
\
\
|
|
/
|
/
|
|
*
Use a better name than "dont_kill_application"
David Marcec
2018-10-10
1
-2
/
+2
|
*
Fixed incorrect types for svcBreak
David Marcec
2018-10-10
1
-3
/
+3
*
|
svc: Add missing address range sanitizing checks to MapMemory/UnmapMemory
Lioncash
2018-10-11
1
-12
/
+79
*
|
kernel/thread: Use a regular pointer for the owner/current process
Lioncash
2018-10-10
1
-6
/
+6
|
/
*
Added bitfield instead of manually checking if the bit is set
David Marcec
2018-10-09
1
-4
/
+12
*
Actual kill execution when the bit isn't set, not the other way around
David Marcec
2018-10-09
1
-1
/
+1
*
svcBreak, Signalling to the debugger should not kill execution
David Marcec
2018-10-09
1
-5
/
+12
*
kernel/thread: Make all instance variables private
Lioncash
2018-10-04
1
-57
/
+64
*
kernel/svc: Implement svcGetThreadContext()
Lioncash
2018-09-30
1
-2
/
+30
*
kernel/process: Make data member variables private
Lioncash
2018-09-30
1
-15
/
+15
*
Merge pull request #1395 from lioncash/vm
bunnei
2018-09-29
1
-15
/
+30
|
\
|
*
memory: Dehardcode the use of fixed memory range constants
Lioncash
2018-09-25
1
-1
/
+2
|
*
svc: Report correct memory-related values within some of the cases in svcGetInfo()
Lioncash
2018-09-25
1
-14
/
+28
*
|
Merge pull request #1393 from tech4me/svc
bunnei
2018-09-25
1
-7
/
+7
|
\
\
|
|
/
|
/
|
|
*
svc: Updated svc names
tech4me
2018-09-24
1
-7
/
+7
*
|
svc: Move most process termination code to its own function within Process
Lioncash
2018-09-21
1
-27
/
+5
|
/
*
kernel/svc: Handle error cases for svcArbitrateLock() and svcArbitrateUnlock()
Lioncash
2018-09-18
1
-0
/
+8
*
Merge pull request #1315 from lioncash/size
bunnei
2018-09-17
1
-19
/
+72
|
\
|
*
kernel/svc: Sanitize creation of shared memory via svcCreateSharedMemory()
Lioncash
2018-09-14
1
-2
/
+18
|
*
kernel/svc: Sanitize addresses, permissions, and sizes within svcMapSharedMemory() and svcUnmapSharedMemory()
Lioncash
2018-09-14
1
-17
/
+25
|
*
kernel/svc: Sanitize addresses and sizes within svcMapMemory() and svcUnmapMemory()
Lioncash
2018-09-14
1
-0
/
+23
|
*
kernel/svc: Sanitize heap sizes within svcSetHeapSize()
Lioncash
2018-09-14
1
-0
/
+6
*
|
Merge pull request #1328 from FearlessTobi/port-4192
bunnei
2018-09-17
1
-1
/
+1
|
\
\
|
*
|
Port # #4192 from Citra: "svc: change unknown to thread in CreateThread"
Valentin Vanelslande
2018-09-15
1
-1
/
+1
|
|
/
*
/
Port #4182 from Citra: "Prefix all size_t with std::"
fearlessTobi
2018-09-15
1
-13
/
+14
|
/
*
Merge pull request #1303 from lioncash/error
bunnei
2018-09-12
1
-4
/
+4
|
\
|
*
svc: Return ERR_INVALID_PROCESSOR_ID in CreateThread() if an invalid processor ID is given
Lioncash
2018-09-12
1
-2
/
+2
|
*
kernel/errors: Correct error codes for invalid thread priority and invalid processor ID
Lioncash
2018-09-12
1
-2
/
+2
*
|
svc: Do nothing if svcOutputDebugString() is given a length of zero
Lioncash
2018-09-12
1
-0
/
+4
*
|
svc: Correct parameter type for OutputDebugString()
Lioncash
2018-09-12
1
-1
/
+1
|
/
*
service: Migrate global named port map to the KernelCore class
Lioncash
2018-09-02
1
-5
/
+7
*
core/core: Replace includes with forward declarations where applicable
Lioncash
2018-08-31
1
-0
/
+4
*
kernel: Eliminate kernel global state
Lioncash
2018-08-29
1
-25
/
+55
*
svc: Return process title ID if queried in GetInfo()
Lioncash
2018-08-25
1
-2
/
+1
*
kernel/svc: Log svcBreak parameters
Lioncash
2018-08-15
1
-2
/
+5
*
Merge pull request #1043 from Subv/timing
bunnei
2018-08-13
1
-1
/
+0
|
\
|
*
Kernel/SVC: Don't reschedule the current core when creating a new thread.
Subv
2018-08-13
1
-1
/
+0
*
|
Kernel/Mutex: Don't duplicate threads in the mutex waiter list.
Subv
2018-08-12
1
-2
/
+1
|
/
*
kernel/vm_manager: Use const where applicable
Lioncash
2018-08-02
1
-1
/
+1
*
Merge pull request #877 from lioncash/remove
bunnei
2018-08-01
1
-1
/
+0
|
\
|
*
kernel: Remove unused object_address_table.cpp/.h
Lioncash
2018-07-31
1
-1
/
+0
*
|
kernel: Remove unnecessary includes
Lioncash
2018-07-31
1
-0
/
+3
|
/
*
Merge pull request #804 from lioncash/log
Mat M
2018-07-25
1
-1
/
+3
|
\
|
*
svc: Log parameters in SetMemoryAttribute()
Lioncash
2018-07-24
1
-1
/
+3
*
|
svc: Resolve sign comparison warnings in WaitSynchronization()
Lioncash
2018-07-24
1
-4
/
+7
|
/
*
Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real kernel.
Subv
2018-07-22
1
-7
/
+31
*
thread: Convert ThreadStatus into an enum class
Lioncash
2018-07-20
1
-10
/
+10
*
svc: Correct always true assertion case in SetThreadCoreMask
Lioncash
2018-07-19
1
-3
/
+4
*
Update clang format
James Rowe
2018-07-03
1
-28
/
+25
*
Rename logging macro back to LOG_*
James Rowe
2018-07-03
1
-47
/
+47
*
Kernel/Arbiters: Fix casts, cleanup comments/magic numbers
Michael Scire
2018-06-22
1
-4
/
+4
*
Add additional missing format.
Michael Scire
2018-06-22
1
-19
/
+21
*
Kernel/Arbiters: Initialize arb_wait_address in thread struct.
Michael Scire
2018-06-21
1
-0
/
+4
*
Kernel/Arbiters: Mostly implement SignalToAddress
Michael Scire
2018-06-21
1
-1
/
+1
*
Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs.
Michael Scire
2018-06-21
1
-3
/
+50
*
Build: Fixed some MSVC warnings in various parts of the code.
Subv
2018-06-20
1
-2
/
+2
*
Merge pull request #572 from Armada651/user-except-stub
bunnei
2018-06-18
1
-0
/
+5
|
\
|
*
svc: Add a stub for UserExceptionContextAddr.
Jules Blok
2018-06-18
1
-0
/
+5
*
|
Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.
Subv
2018-05-31
1
-1
/
+26
*
|
Kernel/SVC: Signal the highest priority threads first in svcSignalProcessWideKey.
Subv
2018-05-19
1
-51
/
+68
*
|
Kernel/Threads: Reschedule the proper core when operating on that core's threads.
Subv
2018-05-19
1
-2
/
+6
*
|
SVC: Removed unused WaitSynchronization1 function
Subv
2018-05-19
1
-30
/
+0
*
|
thread: Rename mask to affinity_masks.
bunnei
2018-05-11
1
-1
/
+1
*
|
threading: Reschedule only on cores that are necessary.
bunnei
2018-05-11
1
-2
/
+2
*
|
svc: Implement GetThreadCoreMask and SetThreadCoreMask.
bunnei
2018-05-11
1
-7
/
+22
*
|
svc: SignalProcessWideKey should apply to all cores.
bunnei
2018-05-11
1
-43
/
+50
*
|
svc: Implement GetCurrentProcessorNumber.
bunnei
2018-05-11
1
-2
/
+2
*
|
core: Implement multicore support.
bunnei
2018-05-11
1
-21
/
+22
*
|
general: Make formatting of logged hex values more straightforward
Lioncash
2018-05-02
1
-38
/
+39
*
|
string_util: Remove StringFromFormat() and related functions
Lioncash
2018-04-30
1
-1
/
+1
*
|
general: Convert assertion macros over to be fmt-compatible
Lioncash
2018-04-27
1
-1
/
+1
*
|
kernel: Migrate logging macros to fmt-compatible ones
Lioncash
2018-04-26
1
-69
/
+69
*
|
Merge pull request #370 from Subv/sync_primitives
bunnei
2018-04-23
1
-107
/
+55
|
\
\
|
*
|
Kernel: Implemented mutex priority inheritance.
Subv
2018-04-23
1
-0
/
+9
|
*
|
Kernel: Remove unused ConditionVariable class.
Subv
2018-04-21
1
-6
/
+0
|
*
|
Kernel: Properly implemented svcWaitProcessWideKey and svcSignalProcessWideKey
Subv
2018-04-21
1
-83
/
+46
|
*
|
Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.
Subv
2018-04-21
1
-20
/
+2
*
|
|
resource_limit: Make ResourceTypes an enum class
Lioncash
2018-04-21
1
-2
/
+2
|
/
/
*
|
common_funcs: Remove ARRAY_SIZE macro
Lioncash
2018-04-20
1
-1
/
+2
*
|
Various service name fixes - part 2 (rebased) (#322)
Hexagon12
2018-04-17
1
-8
/
+8
*
|
svc: Stub out SetThreadActivity, GetThreadContext.
bunnei
2018-04-03
1
-2
/
+14
*
|
svc: Stub GetThreadCoreMask.
bunnei
2018-03-30
1
-3
/
+11
*
|
More Warning cleanups
N00byKing
2018-03-19
1
-1
/
+1
*
|
Clean Warnings (?)
N00byKing
2018-03-19
1
-1
/
+1
*
|
svc: Use more correct values for GetInfo MapRegion and NewMapRegion.
bunnei
2018-03-16
1
-5
/
+5
*
|
MemoryState: Add additional memory states and improve naming.
bunnei
2018-03-16
1
-1
/
+1
*
|
core: Move process creation out of global state.
bunnei
2018-03-14
1
-18
/
+20
|
/
*
Merge pull request #215 from N00byKing/umapsharedmmry
bunnei
2018-02-26
1
-1
/
+12
|
\
|
*
(Hopefully) Fix MinGW Build
N00byKing
2018-02-25
1
-1
/
+1
|
*
Add UnmapSharedMemory
N00byKing
2018-02-25
1
-1
/
+12
*
|
Stub more functions
mailwl
2018-02-22
1
-1
/
+11
|
/
*
kernel: Use Scheduler class for threading.
bunnei
2018-02-18
1
-2
/
+2
*
GetInfo: Implement IsCurrentProcessBeingDebugged.
bunnei
2018-02-04
1
-0
/
+3
*
WaitProcessWideKeyAtomic: Handle case where condition variable was already created.
bunnei
2018-02-04
1
-8
/
+15
*
svc: SharedMemory size should be 64-bits and cleanup.
bunnei
2018-02-03
1
-8
/
+8
*
ArbitrateLock: Assert that requesting_thread is current_thread.
bunnei
2018-02-03
1
-0
/
+1
*
hle: Remove Domain and SyncObject kernel objects.
bunnei
2018-01-25
1
-2
/
+1
*
Format: Run the new clang format on everything
James Rowe
2018-01-21
1
-4
/
+6
*
Added CreateSharedMemory & UNIMPLEMENTED() for non existent services. (#113)
David
2018-01-20
1
-1
/
+13
*
svc: Fix svcGetInfo MapRegionBaseAddr.
bunnei
2018-01-19
1
-1
/
+1
*
svc: Rename some entries to match their analogue on SwitchBrew
Lioncash
2018-01-18
1
-7
/
+7
*
svc: Add CreateJitMemory and MapJitMemory svc strings
Lioncash
2018-01-18
1
-2
/
+2
*
svc: Clang-format fix.
bunnei
2018-01-17
1
-6
/
+4
*
SVC: Correct some return values in svcGetInfo and added TitleId and PrivilegedProcessId stubs.
Subv
2018-01-17
1
-6
/
+21
*
Merge pull request #52 from ogniK5377/fsp
bunnei
2018-01-17
1
-1
/
+18
|
\
|
*
SetThreadCoreMask stub, time to implement fsp
David Marcec
2018-01-16
1
-1
/
+6
|
*
Added more svcGetInfo pairs
David Marcec
2018-01-16
1
-0
/
+12
*
|
clang-format
MerryMage
2018-01-16
1
-6
/
+4
|
/
*
svc: Implement svcMapSharedMemory.
bunnei
2018-01-14
1
-1
/
+33
*
yuzu: Update license text to be consistent across project.
bunnei
2018-01-13
1
-1
/
+1
*
core: Include <algorithm> where used.
bunnei
2018-01-12
1
-0
/
+2
*
svc: Implement GetSystemTick.
bunnei
2018-01-12
1
-2
/
+13
*
svc: Stub ResetSignal and CreateTransferMemory
Subv
2018-01-11
1
-3
/
+20
*
svc: Stub SetMemoryAttribute
Subv
2018-01-11
1
-0
/
+5
*
Threads: Added enum values for the Switch's 4 cpu cores and implemented svcGetInfo(AllowedCpuIdBitmask)
Subv
2018-01-10
1
-6
/
+11
*
SVC: Fixed WaitSynchronization with multiple handles when none is immediately ready.
Subv
2018-01-09
1
-7
/
+18
*
SVC: Implemented CancelSynchronization.
Subv
2018-01-09
1
-1
/
+17
*
SVC: Fixed WaitSynchronization with multiple handles when at least one of them is ready.
Subv
2018-01-09
1
-1
/
+24
*
kernel: Rename Semaphore to ConditionVariable.
bunnei
2018-01-09
1
-25
/
+33
*
Kernel: Actually wake up the requested number of threads in Semaphore::Release.
Subv
2018-01-09
1
-1
/
+1
*
Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking.
Subv
2018-01-09
1
-1
/
+4
*
Kernel: Allow chaining WaitSynchronization calls inside a wakeup callback.
Subv
2018-01-09
1
-15
/
+41
*
svc: Implement svcSignalProcessWideKey.
bunnei
2018-01-07
1
-2
/
+21
*
svc: Implement svcWaitProcessWideKeyAtomic.
bunnei
2018-01-06
1
-1
/
+49
*
svc: Implement WaitSynchronization for a single handle.
bunnei
2018-01-06
1
-4
/
+24
*
svc: Refactor LockMutex code to use WaitSynchronization1.
bunnei
2018-01-06
1
-13
/
+45
*
svc: Add missing string_util include.
bunnei
2018-01-05
1
-0
/
+1
*
arm: Remove SkyEye/Dyncom code that is ARMv6-only.
bunnei
2018-01-03
1
-19
/
+9
*
svc: Remove unnecessary "svc" prefix to naming scheme.
bunnei
2018-01-03
1
-106
/
+106
*
hle: Move SVC code to kernel namespace.
bunnei
2018-01-03
1
-0
/
+612