summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* SVC/ARM: Correct svcSendSyncRequest and cache ticks on arm interface.Fernando Sahmkow2020-06-271-1/+1
* ARM: Addapt to new Exclusive Monitor Interface.Fernando Sahmkow2020-06-271-3/+1
* General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running.Fernando Sahmkow2020-06-271-3/+7
* Kernel: Rewind on SVC change.Fernando Sahmkow2020-06-271-5/+4
* Kernel: Preempt Single core on redudant yields.Fernando Sahmkow2020-06-271-6/+17
* Kernel: Fixes, corrections and asserts to scheduler and different svcs.Fernando Sahmkow2020-06-271-13/+14
* ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes.Fernando Sahmkow2020-06-271-1/+1
* SVC: Correct SetThreadActivity.Fernando Sahmkow2020-06-271-4/+1
* SVC: Correct svcWaitForAddress and svcSignalToAddress.Fernando Sahmkow2020-06-271-3/+0
* Kernel: Corrections to Scheduling.Fernando Sahmkow2020-06-271-1/+0
* Core: Correct HLE Event Callbacks and other issues.Fernando Sahmkow2020-06-271-3/+2
* General: Add AssertsFernando Sahmkow2020-06-271-0/+1
* General: Add better safety for JIT use.Fernando Sahmkow2020-06-271-1/+5
* SVC: Correct races on physical core switching.Fernando Sahmkow2020-06-271-5/+4
* SVC: Add locks to the memory management.Fernando Sahmkow2020-06-271-0/+21
* SVC: Correct WaitSynchronization, WaitProcessWideKey, SignalProcessWideKey.Fernando Sahmkow2020-06-271-27/+48
* SVC: Cleanup old methods.Fernando Sahmkow2020-06-271-13/+9
* SVC: Correct SendSyncRequest.Fernando Sahmkow2020-06-271-4/+17
* SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, CancelSynchronization, ArbitrateLockFernando Sahmkow2020-06-271-1/+0
* SVC: Remove global HLE Lock.Fernando Sahmkow2020-06-271-3/+0
* SVC: Correct GetThreadPriority, SetThreadPriority, GetThreadCoreMask, SetThreadCoreMask, GetCurrentProcessorNumberFernando Sahmkow2020-06-271-9/+8
* SVC: Correct CreateThread, StartThread, ExitThread, SleepThread.Fernando Sahmkow2020-06-271-13/+5
* General: Recover Prometheus project from harddrive failure Fernando Sahmkow2020-06-271-15/+6
* kernel: Don't fail silentlyDavid Marcec2020-04-291-0/+7
* kernel: Bad GetInfo ids should not be marked as stubsDavid Marcec2020-04-281-2/+2
* Merge pull request #3780 from lioncash/processbunnei2020-04-251-2/+138
|\
| * svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemoryLioncash2020-04-241-2/+138
* | svc: Remove unused variableLioncash2020-04-231-3/+0
|/
* core: hle: Address various feedback & code cleanup.bunnei2020-04-171-1/+1
* kernel: svc: Updates for new VMM.bunnei2020-04-171-488/+116
* core: memory: Move to Core::Memory namespace.bunnei2020-04-171-5/+5
* core: kernel: Add svc_types header to include SVC-specific types.bunnei2020-04-171-0/+1
* core: kernel: Move SVC to its own namesapce.bunnei2020-04-171-3/+3
* core: hle: Implement separate A32/A64 SVC interfaces.bunnei2020-03-031-65/+264
* Core: Address FeedbackFernando Sahmkow2020-02-141-1/+1
* Kernel: Refactor synchronization to better match REFernando Sahmkow2020-02-111-60/+7
* Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.Fernando Sahmkow2020-02-111-6/+7
* kernel: transfer_memory: Properly reserve and reset memory region.bunnei2020-02-061-2/+6
* Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.Fernando Sahmkow2020-01-261-1/+1
* kernel/svc: Correct function signature of SignalProcessWideKeyLioncash2019-12-111-4/+1
* kernel/svc: Provide implementations for svcDumpInfo/svcDumpInfoNewLioncash2019-12-081-2/+13
* kernel: Implement a more accurate IPC dispatch.bunnei2019-11-281-4/+5
* core/memory: Migrate over Write{8, 16, 32, 64, Block} to the Memory classLioncash2019-11-271-12/+15
* core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory classLioncash2019-11-271-6/+10
* core/memory: Migrate over ReadCString() to the Memory classLioncash2019-11-271-2/+4
* core: Prepare various classes for memory read/write migrationLioncash2019-11-271-1/+1
* core/memory: Migrate over address checking functions to the new Memory classLioncash2019-11-271-2/+2
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2019-11-251-26/+26
* Update svc.cppbunnei2019-11-231-0/+1
* svc: GetSystemTick should return cntpct_el0, not core ticks.bunnei2019-11-231-1/+3
* Merge pull request #3114 from FernandoS27/cond-varbunnei2019-11-231-21/+7
|\
| * Kernel: Optimize condition variable threads management.Fernando Sahmkow2019-11-211-1/+1
| * Kernel: Correct SignalProcessWideKeyFernando Sahmkow2019-11-211-6/+2
| * Kernel: Correct behavior of Condition Variables to be more similar to real hardware.Fernando Sahmkow2019-11-211-15/+5
* | Kernel: Correct Cancel Synchronization.Fernando Sahmkow2019-11-161-0/+5
|/
* kernel: events: Remove ResetType::Automatic.bunnei2019-11-031-1/+1
* Kernel: Address Feedback.Fernando Sahmkow2019-10-151-6/+6
* KernelSVC: Assert that condition variable address is aligned to 4 bytes.Fernando Sahmkow2019-10-151-0/+4
* Kernel: Correct redundant yields to only advance time forward.Fernando Sahmkow2019-10-151-3/+5
* Kernel: Correct Results in Condition Variables and MutexesFernando Sahmkow2019-10-151-18/+9
* Scheduler: Add protections for Yield bombingFernando Sahmkow2019-10-151-4/+9
* Kernel: Style and CorrectionsFernando Sahmkow2019-10-151-6/+9
* Correct PrepareRescheduleFernando Sahmkow2019-10-151-32/+17
* Correct Supervisor Calls to work with the new scheduler,Fernando Sahmkow2019-10-151-26/+41
* Merge pull request #2687 from lioncash/tls-processbunnei2019-07-181-3/+1
|\
| * kernel/process: Allocate the process' TLS region during initializationLioncash2019-07-071-3/+1
* | Kernel: Downgrade WaitForAddress and SignalToAddress messages to Trace.Fernando Sahmkow2019-07-181-4/+4
* | Merge pull request #2690 from SciresM/physmem_fixesFernando Sahmkow2019-07-141-16/+101
|\ \
| * | clang-format fixesMichael Scire2019-07-071-2/+1
| * | address review commentaryMichael Scire2019-07-071-20/+12
| * | Implement MapPhysicalMemory/UnmapPhysicalMemoryMichael Scire2019-07-071-8/+102
| |/
* / Restore memory perms on svcUnmapMemory/UnloadNroMichael Scire2019-07-111-1/+8
|/
* kernel/vm_manager: Rename 'new map' to 'stack'Lioncash2019-07-061-10/+10
* Merge pull request #2482 from DarkLordZach/prepobunnei2019-06-211-1/+7
|\
| * svc: Save report on call to svcBreakZach Hilman2019-05-251-1/+7
* | kernel/svc: Implement TotalMemoryUsedWithoutMmHeap/TotalMemoryAvailableWithoutMmHeapLioncash2019-06-101-2/+15
* | kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo()Lioncash2019-06-101-4/+4
* | kernel/svc: Remove duplicate enum entry in svcGetInfo()Lioncash2019-06-101-2/+1
|/
* Merge pull request #2410 from lioncash/affinitybunnei2019-05-191-36/+43
|\
| * kernel/svc: Make svcCreateThread/svcStartThread/svcSleepThread/svcExitThread calls show up in the debug logLioncash2019-04-291-4/+4
| * kernel/svc: Reorganize svcSetThreadCoreMask()Lioncash2019-04-291-32/+39
| * kernel/thread: Update thread processor ID flagsLioncash2019-04-291-1/+1
* | Merge pull request #2486 from lioncash/resetnameSebastian Valle2019-05-191-1/+1
|\ \
| * | core/kernel/object: Rename ResetType enum membersLioncash2019-05-181-1/+1
* | | kernel/svc: Mark GetThreadList() and UnmapProcessCodeMemory() as internally linkedLioncash2019-05-191-4/+4
|/ /
* | Merge pull request #2416 from lioncash/waitbunnei2019-04-251-6/+4
|\ \
| * | kernel/thread: Unify wait synchronization typesLioncash2019-04-171-2/+2
| * | kernel/svc: Migrate svcCancelSynchronization behavior to a thread functionLioncash2019-04-171-4/+2
* | | kernel/svc: Name supervisor call 0x36Lioncash2019-04-191-1/+1
* | | Merge pull request #2397 from lioncash/thread-unusedbunnei2019-04-181-8/+10
|\ \ \ | |/ / |/| |
| * | svc: Specify handle value in thread's nameLioncash2019-04-151-2/+5
| * | kernel/thread: Remove unused guest_handle member variableLioncash2019-04-141-6/+5
| |/
* | kernel/svc: Implement svcUnmapProcessCodeMemoryLioncash2019-04-131-1/+69
* | kernel/svc: Implement svcMapProcessCodeMemoryLioncash2019-04-131-1/+69
|/
* kernel/svc: Deglobalize the supervisor call handlersLioncash2019-04-081-162/+175
* kernel/svc: Properly sanitize mutex address in WaitProcessWideKeyAtomicLioncash2019-04-041-0/+14
* Merge pull request #2305 from lioncash/sharedbunnei2019-04-031-1/+1
|\
| * kernel/shared_memory: Sanitize supplied size when unmappingLioncash2019-03-291-1/+1
* | kernel/svc: Implement svcGetThreadListLioncash2019-04-021-1/+41
* | kernel/svc: Implement svcGetProcessListLioncash2019-04-021-1/+38
* | general: Use deducation guides for std::lock_guard and std::unique_lockLioncash2019-04-011-1/+1
* | Merge pull request #2304 from lioncash/memsizebunnei2019-03-311-4/+4
|\ \ | |/ |/|
| * kernel/process: Report total physical memory used to svcGetInfoLioncash2019-03-291-4/+4
* | Merge pull request #2266 from FernandoS27/arbitrationbunnei2019-03-291-9/+10
|\ \ | |/ |/|
| * Fix small bug that kept a thread as a condvar thread after being signalled.Fernando Sahmkow2019-03-201-5/+6
| * Add CondVar Thread State.Fernando Sahmkow2019-03-201-2/+2
| * Small fixes to address_arbiter to better match the IDB.Fernando Sahmkow2019-03-201-2/+2
* | Merge pull request #2284 from lioncash/heap-allocbunnei2019-03-281-6/+3
|\ \
| * | kernel/vm_manager: Rename HeapAllocate to SetHeapSizeLioncash2019-03-241-2/+1
| * | kernel/vm_manager: Remove unnecessary heap_used data memberLioncash2019-03-241-1/+1
| * | kernel/vm_manager: Tidy up heap allocation codeLioncash2019-03-241-4/+2
* | | Merge pull request #2232 from lioncash/transfer-memorybunnei2019-03-241-6/+114
|\ \ \ | |/ / |/| |
| * | core/hle/kernel/svc: Implement svcUnmapTransferMemoryLioncash2019-03-131-1/+48
| * | core/hle/kernel/svc: Implement svcMapTransferMemoryLioncash2019-03-131-1/+57
| * | core/hle/kernel: Split transfer memory handling out into its own classLioncash2019-03-131-4/+9
* | | Merge pull request #2234 from lioncash/mutexbunnei2019-03-221-6/+11
|\ \ \ | |_|/ |/| |
| * | core/hle/kernel: Make Mutex a per-process class.Lioncash2019-03-151-6/+11
| |/
* | kernel/thread: Move thread exiting logic from ExitCurrentThread to svcExitThreadLioncash2019-03-161-3/+7
* | kernel/thread: Migrate WaitCurrentThread_Sleep into the Thread interfaceLioncash2019-03-161-11/+11
|/
* kernel: Make the address arbiter instance per-processLioncash2019-03-081-2/+4
* kernel/svc: Move address arbiter signaling behind a unified API functionLioncash2019-03-081-15/+2
* kernel/svc: Move address arbiter waiting behind a unified API functionLioncash2019-03-081-14/+2
* Merge pull request #2197 from lioncash/includebunnei2019-03-071-0/+1
|\
| * core/hle/ipc: Remove unnecessary includesLioncash2019-03-051-0/+1
* | Merge pull request #2199 from lioncash/arbiterbunnei2019-03-061-6/+8
|\ \
| * | kernel/address_arbiter: Convert the address arbiter into a classLioncash2019-03-051-6/+8
| |/
* / svc: Migrate address range checking functions to VMManagerLioncash2019-03-041-21/+4
|/
* core_timing: Convert core timing into a classLioncash2019-02-161-4/+6
* core_timing: Rename CoreTiming namespace to Core::TimingLioncash2019-02-121-4/+4
* kernel/svc: Log out uncaught C++ exceptions from svcBreakLioncash2019-01-271-0/+4
* kernel/svc: Correct misleading error message within CreateThread()Lioncash2018-12-311-2/+3
* kernel/svc: Sanitize core number and thread priorities in CreateThread()Lioncash2018-12-311-6/+17
* kernel/process: Rename GetAllowedProcessorMask() and GetAllowedThreadPriorityMask()Lioncash2018-12-311-8/+8
* kernel/svc: Simplify thread core ID sanitizing in CreateThreadLioncash2018-12-311-7/+1
* Merge pull request #1956 from lioncash/process-threadSebastian Valle2018-12-311-9/+9
|\
| * kernel: Rename 'default' CPU core to 'ideal' coreLioncash2018-12-281-9/+9
* | Merge pull request #1847 from ogniK5377/backtrace-breakbunnei2018-12-301-0/+3
|\ \
| * | Moved backtrace to ArmInterfaceDavid Marcec2018-12-191-2/+3
| * | Print backtrace on svcBreakDavid Marcec2018-12-031-0/+2
* | | kernel/process: Remove most allocation functions from Process' interfaceLioncash2018-12-281-14/+18
| |/ |/|
* | Merge pull request #1849 from encounter/svcSetThreadActivitybunnei2018-12-261-4/+34
|\ \
| * | svc: Implement SetThreadActivity (thread suspension)Luke Street2018-12-041-4/+34
* | | Merge pull request #1925 from lioncash/pidbunnei2018-12-211-11/+24
|\ \ \
| * | | kernel/svc: Handle thread handles within GetProcessIdLioncash2018-12-191-10/+23
| * | | kernel/svc: Correct output parameter for svcGetThreadIdLioncash2018-12-191-1/+1
| * | | kernel/svc: Correct output parameter for svcGetProcessIdLioncash2018-12-191-1/+1
* | | | svc: Implement svcSetMemoryAttributeLioncash2018-12-191-5/+46
|/ / /
* | | Merge pull request #1732 from DarkLordZach/yield-typesbunnei2018-12-151-9/+29
|\ \ \
| * | | svc: Avoid incorrect fast yield conditionZach Hilman2018-12-051-6/+1
| * | | scheduler: Avoid manual Reschedule callZach Hilman2018-12-041-1/+3
| * | | scheduler: Only work steal higher priority threads from other coresZach Hilman2018-12-031-10/+6
| * | | svc: Avoid performance-degrading unnecessary rescheduleZach Hilman2018-12-021-7/+4
| * | | scheduler: Add explanations for YieldWith and WithoutLoadBalancingZach Hilman2018-11-221-7/+14
| * | | svc: Implement yield types 0 and -1Zach Hilman2018-11-191-2/+25
* | | | Merge pull request #1899 from lioncash/statebunnei2018-12-141-24/+28
|\ \ \ \
| * | | | svc: Enable svcQueryProcessMemoryLioncash2018-12-121-1/+1
| * | | | svc: Write out the complete MemoryInfo structure in QueryProcessMemoryLioncash2018-12-121-0/+3
| * | | | svc: Handle memory writing explicitly within QueryProcessMemoryLioncash2018-12-121-9/+22
| * | | | vm_manager: Migrate memory querying to the VMManager interfaceLioncash2018-12-121-16/+4
| * | | | vm_manager: Amend MemoryState enum membersLioncash2018-12-121-2/+2
* | | | | Fix Process object leak on emulation stopJens Schmer2018-12-121-7/+6
|/ / / /
* | | | Merge pull request #1876 from lioncash/vmabunnei2018-12-101-8/+12
|\ \ \ \
| * | | | vm_manager: Make vma_map privateLioncash2018-12-061-8/+12
* | | | | kernel/svc: Correct behavior of svcResetSignal()Lioncash2018-12-051-4/+11
|/ / / /
* | | | kernel/svc: Remove unused header inclusionLioncash2018-12-041-1/+0
* | | | kernel/svc: Implement svcSignalEvent()Lioncash2018-12-041-1/+16
* | | | kernel/svc: Implement svcCreateEvent()Lioncash2018-12-041-1/+29
* | | | Merge pull request #1853 from lioncash/eventbunnei2018-12-041-6/+13
|\ \ \ \
| * | | | kernel/object: Amend handle types to distinguish between readable and writable eventsLioncash2018-12-041-6/+13
| | |/ / | |/| |
* / | | kernel/svc: Implement the resource limit svcGetInfo optionLioncash2018-12-041-1/+28
|/ / /
* | | [Kernel::CreateThread] Match format specifiers to LOG_TRACE's argumentsV.Kalyuzhny2018-12-041-1/+1
* | | Merge pull request #1840 from lioncash/infobunnei2018-12-041-50/+100
|\ \ \
| * | | svc: Use the current process' handle table for retrieving the process instance to act uponLioncash2018-12-021-1/+2
| * | | svc: Reorganize svcGetInfo, handle more error cases for existing implemented info categoriesLioncash2018-12-021-50/+99
| | |/ | |/|
* | | Merge pull request #1803 from DarkLordZach/k-able-eventbunnei2018-12-031-3/+4
|\ \ \ | |/ / |/| |
| * | kernel/event: Reference ReadableEvent from WritableEventZach Hilman2018-11-291-2/+2
| * | core: Port all current usages of Event to Readable/WritableEventZach Hilman2018-11-291-5/+6
* | | Fix debug buildLioncash2018-12-011-1/+1
|/ /
* | Merge pull request #1801 from ogniK5377/log-before-executebunnei2018-11-291-24/+206
|\ \
| * | Added comment on Main memory size for more clarityDavid Marcec2018-11-271-0/+1
| * | Made svcSetHeapSize and svcCreateSharedMemory more readableDavid Marcec2018-11-271-4/+4
| * | Reworked svcs slightly, improved error messages in AM and fsp_srvDavid Marcec2018-11-271-12/+20
| * | Improved error messages for SVCsDavid Marcec2018-11-261-76/+170
| * | Changed logging to be "Log before execution", Added more error logging, all services should now log on some levelDavid Marcec2018-11-261-11/+90
* | | svc: Implement svcSetResourceLimitLimitValue()Lioncash2018-11-271-1/+36
* | | svc: Implement svcGetResourceLimitCurrentValue()Lioncash2018-11-271-16/+49
* | | svc: Implement svcGetResourceLimitLimitValue()Lioncash2018-11-271-1/+28
* | | svc: Implement svcCreateResourceLimit()Lioncash2018-11-271-1/+19
|/ /
* | svc: Return ERR_INVALID_ENUM_VALUE from svcGetInfoLuke Street2018-11-251-1/+2
* | Merge pull request #1734 from lioncash/sharedbunnei2018-11-211-2/+2
|\ \
| * | kernel/shared_memory: Make Map() and Unmap() take the target process by reference rather than as a pointerLioncash2018-11-191-2/+2
| |/
* | Merge pull request #1667 from DarkLordZach/swkbdbunnei2018-11-201-3/+33
|\ \
| * | am: Deglobalize software keyboard appletZach Hilman2018-11-181-4/+4
| * | svc: Implement svcCreateTransferMemoryZach Hilman2018-11-181-3/+33
* | | kernel/resource_limit: Clean up interfaceLioncash2018-11-201-11/+0
| |/ |/|
* | Merge pull request #1728 from FearlessTobi/reset-signalMat M2018-11-181-1/+1
|\ \ | |/ |/|
| * svc: ResetSignal is not stubbedTobias2018-11-181-1/+1
* | kernel/errors: Clean up error codesLioncash2018-11-161-10/+10
* | Merge pull request #1638 from FreddyFunk/SetMemoryPermission-StubbedMat M2018-11-161-1/+43
|\ \
| * | Implement SetMemoryPermissionFrederic Laing2018-11-061-3/+39
| * | Stubbed SetMemoryPermissionFrederic Laing2018-11-031-1/+7
* | | svc: Use proper random entropy generation algorithmZach Hilman2018-11-131-1/+10
* | | svc: Return random seed for svcGetInfo RandomEntropyZach Hilman2018-11-131-1/+2
* | | svcBreak now dumps information from the debug buffer passed (#1646)David2018-11-081-0/+28
|/ /
* / core: Make System references const where applicableLioncash2018-10-281-1/+1
|/
* svc: Localize the GetInfo enum class to the function itselfLioncash2018-10-261-0/+31
* svc: Implement svcGetInfo command 0xF0000002Lioncash2018-10-261-0/+30
* kernel/svc: Amend returned error code for invalid priorities in CreateThreadLioncash2018-10-241-1/+1
* kernel/svc: Move and correct returned error code for invalid thread priorities in SetThreadPriority()Lioncash2018-10-241-5/+6
* Merge pull request #1551 from ogniK5377/improved-svcbreakbunnei2018-10-241-5/+51
|\
| * Added assertion failed, reworked logging levelsDavid Marcec2018-10-231-16/+24
| * Added break types to svcBreakDavid Marcec2018-10-231-4/+42
* | Merge pull request #1540 from lioncash/handlebunnei2018-10-241-60/+60
|\ \ | |/ |/|
| * kernel/process: Make the handle table per-processLioncash2018-10-201-60/+60
* | svc: Fix vma boundary check in svcQueryMemoryLioncash2018-10-201-1/+1
|/
* Merge pull request #1520 from lioncash/sanbunnei2018-10-201-3/+27
|\
| * svc: Add missing sanitizing checks for MapSharedMemory/UnmapSharedMemoryLioncash2018-10-181-3/+27
* | svc: Check for word alignment of addresses within svcArbitrateLock/svcArbitrateUnlockLioncash2018-10-181-0/+8
* | common: Move Is4KBAligned() to alignment.hLioncash2018-10-181-9/+7
|/
* Merge pull request #1498 from lioncash/aslrbunnei2018-10-181-17/+4
|\
| * svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()Lioncash2018-10-151-17/+4
* | core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrsLioncash2018-10-151-1/+1
|/
* Merge pull request #1492 from lioncash/procbunnei2018-10-141-1/+24
|\
| * svc: Implement svcGetProcessInfoLioncash2018-10-131-1/+24
* | Stop all threads on svcBreakDavid Marcec2018-10-141-0/+6
|/
* Merge pull request #1481 from lioncash/typobunnei2018-10-131-3/+3
|\
| * svc: Fix typos in sanitizing checks for MapMemory/UnmapMemoryLioncash2018-10-121-3/+3
* | Merge pull request #1467 from ogniK5377/svcbreak-type-fixbunnei2018-10-121-4/+4
|\ \ | |/ |/|
| * Use a better name than "dont_kill_application"David Marcec2018-10-101-2/+2
| * Fixed incorrect types for svcBreakDavid Marcec2018-10-101-3/+3
* | svc: Add missing address range sanitizing checks to MapMemory/UnmapMemoryLioncash2018-10-111-12/+79
* | kernel/thread: Use a regular pointer for the owner/current processLioncash2018-10-101-6/+6
|/
* Added bitfield instead of manually checking if the bit is setDavid Marcec2018-10-091-4/+12
* Actual kill execution when the bit isn't set, not the other way aroundDavid Marcec2018-10-091-1/+1
* svcBreak, Signalling to the debugger should not kill executionDavid Marcec2018-10-091-5/+12
* kernel/thread: Make all instance variables privateLioncash2018-10-041-57/+64
* kernel/svc: Implement svcGetThreadContext()Lioncash2018-09-301-2/+30
* kernel/process: Make data member variables privateLioncash2018-09-301-15/+15
* Merge pull request #1395 from lioncash/vmbunnei2018-09-291-15/+30
|\
| * memory: Dehardcode the use of fixed memory range constantsLioncash2018-09-251-1/+2
| * svc: Report correct memory-related values within some of the cases in svcGetInfo()Lioncash2018-09-251-14/+28
* | Merge pull request #1393 from tech4me/svcbunnei2018-09-251-7/+7
|\ \ | |/ |/|
| * svc: Updated svc namestech4me2018-09-241-7/+7
* | svc: Move most process termination code to its own function within ProcessLioncash2018-09-211-27/+5
|/
* kernel/svc: Handle error cases for svcArbitrateLock() and svcArbitrateUnlock()Lioncash2018-09-181-0/+8
* Merge pull request #1315 from lioncash/sizebunnei2018-09-171-19/+72
|\
| * kernel/svc: Sanitize creation of shared memory via svcCreateSharedMemory()Lioncash2018-09-141-2/+18
| * kernel/svc: Sanitize addresses, permissions, and sizes within svcMapSharedMemory() and svcUnmapSharedMemory()Lioncash2018-09-141-17/+25
| * kernel/svc: Sanitize addresses and sizes within svcMapMemory() and svcUnmapMemory()Lioncash2018-09-141-0/+23
| * kernel/svc: Sanitize heap sizes within svcSetHeapSize()Lioncash2018-09-141-0/+6
* | Merge pull request #1328 from FearlessTobi/port-4192bunnei2018-09-171-1/+1
|\ \
| * | Port # #4192 from Citra: "svc: change unknown to thread in CreateThread"Valentin Vanelslande2018-09-151-1/+1
| |/
* / Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-13/+14
|/
* Merge pull request #1303 from lioncash/errorbunnei2018-09-121-4/+4
|\
| * svc: Return ERR_INVALID_PROCESSOR_ID in CreateThread() if an invalid processor ID is givenLioncash2018-09-121-2/+2
| * kernel/errors: Correct error codes for invalid thread priority and invalid processor IDLioncash2018-09-121-2/+2
* | svc: Do nothing if svcOutputDebugString() is given a length of zeroLioncash2018-09-121-0/+4
* | svc: Correct parameter type for OutputDebugString()Lioncash2018-09-121-1/+1
|/
* service: Migrate global named port map to the KernelCore classLioncash2018-09-021-5/+7
* core/core: Replace includes with forward declarations where applicableLioncash2018-08-311-0/+4
* kernel: Eliminate kernel global stateLioncash2018-08-291-25/+55
* svc: Return process title ID if queried in GetInfo()Lioncash2018-08-251-2/+1
* kernel/svc: Log svcBreak parametersLioncash2018-08-151-2/+5
* Merge pull request #1043 from Subv/timingbunnei2018-08-131-1/+0
|\
| * Kernel/SVC: Don't reschedule the current core when creating a new thread.Subv2018-08-131-1/+0
* | Kernel/Mutex: Don't duplicate threads in the mutex waiter list.Subv2018-08-121-2/+1
|/
* kernel/vm_manager: Use const where applicableLioncash2018-08-021-1/+1
* Merge pull request #877 from lioncash/removebunnei2018-08-011-1/+0
|\
| * kernel: Remove unused object_address_table.cpp/.hLioncash2018-07-311-1/+0
* | kernel: Remove unnecessary includesLioncash2018-07-311-0/+3
|/
* Merge pull request #804 from lioncash/logMat M2018-07-251-1/+3
|\
| * svc: Log parameters in SetMemoryAttribute()Lioncash2018-07-241-1/+3
* | svc: Resolve sign comparison warnings in WaitSynchronization()Lioncash2018-07-241-4/+7
|/
* Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real kernel.Subv2018-07-221-7/+31
* thread: Convert ThreadStatus into an enum classLioncash2018-07-201-10/+10
* svc: Correct always true assertion case in SetThreadCoreMaskLioncash2018-07-191-3/+4
* Update clang formatJames Rowe2018-07-031-28/+25
* Rename logging macro back to LOG_*James Rowe2018-07-031-47/+47
* Kernel/Arbiters: Fix casts, cleanup comments/magic numbersMichael Scire2018-06-221-4/+4
* Add additional missing format.Michael Scire2018-06-221-19/+21
* Kernel/Arbiters: Initialize arb_wait_address in thread struct.Michael Scire2018-06-211-0/+4
* Kernel/Arbiters: Mostly implement SignalToAddressMichael Scire2018-06-211-1/+1
* Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs.Michael Scire2018-06-211-3/+50
* Build: Fixed some MSVC warnings in various parts of the code.Subv2018-06-201-2/+2
* Merge pull request #572 from Armada651/user-except-stubbunnei2018-06-181-0/+5
|\
| * svc: Add a stub for UserExceptionContextAddr.Jules Blok2018-06-181-0/+5
* | Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.Subv2018-05-311-1/+26
* | Kernel/SVC: Signal the highest priority threads first in svcSignalProcessWideKey.Subv2018-05-191-51/+68
* | Kernel/Threads: Reschedule the proper core when operating on that core's threads.Subv2018-05-191-2/+6
* | SVC: Removed unused WaitSynchronization1 functionSubv2018-05-191-30/+0
* | thread: Rename mask to affinity_masks.bunnei2018-05-111-1/+1
* | threading: Reschedule only on cores that are necessary.bunnei2018-05-111-2/+2
* | svc: Implement GetThreadCoreMask and SetThreadCoreMask.bunnei2018-05-111-7/+22
* | svc: SignalProcessWideKey should apply to all cores.bunnei2018-05-111-43/+50
* | svc: Implement GetCurrentProcessorNumber.bunnei2018-05-111-2/+2
* | core: Implement multicore support.bunnei2018-05-111-21/+22
* | general: Make formatting of logged hex values more straightforwardLioncash2018-05-021-38/+39
* | string_util: Remove StringFromFormat() and related functionsLioncash2018-04-301-1/+1
* | general: Convert assertion macros over to be fmt-compatibleLioncash2018-04-271-1/+1
* | kernel: Migrate logging macros to fmt-compatible onesLioncash2018-04-261-69/+69
* | Merge pull request #370 from Subv/sync_primitivesbunnei2018-04-231-107/+55
|\ \
| * | Kernel: Implemented mutex priority inheritance.Subv2018-04-231-0/+9
| * | Kernel: Remove unused ConditionVariable class.Subv2018-04-211-6/+0
| * | Kernel: Properly implemented svcWaitProcessWideKey and svcSignalProcessWideKeySubv2018-04-211-83/+46
| * | Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.Subv2018-04-211-20/+2
* | | resource_limit: Make ResourceTypes an enum classLioncash2018-04-211-2/+2
|/ /
* | common_funcs: Remove ARRAY_SIZE macroLioncash2018-04-201-1/+2
* | Various service name fixes - part 2 (rebased) (#322)Hexagon122018-04-171-8/+8
* | svc: Stub out SetThreadActivity, GetThreadContext.bunnei2018-04-031-2/+14
* | svc: Stub GetThreadCoreMask.bunnei2018-03-301-3/+11
* | More Warning cleanupsN00byKing2018-03-191-1/+1
* | Clean Warnings (?)N00byKing2018-03-191-1/+1
* | svc: Use more correct values for GetInfo MapRegion and NewMapRegion.bunnei2018-03-161-5/+5
* | MemoryState: Add additional memory states and improve naming.bunnei2018-03-161-1/+1
* | core: Move process creation out of global state.bunnei2018-03-141-18/+20
|/
* Merge pull request #215 from N00byKing/umapsharedmmrybunnei2018-02-261-1/+12
|\
| * (Hopefully) Fix MinGW BuildN00byKing2018-02-251-1/+1
| * Add UnmapSharedMemoryN00byKing2018-02-251-1/+12
* | Stub more functionsmailwl2018-02-221-1/+11
|/
* kernel: Use Scheduler class for threading.bunnei2018-02-181-2/+2
* GetInfo: Implement IsCurrentProcessBeingDebugged.bunnei2018-02-041-0/+3
* WaitProcessWideKeyAtomic: Handle case where condition variable was already created.bunnei2018-02-041-8/+15
* svc: SharedMemory size should be 64-bits and cleanup.bunnei2018-02-031-8/+8
* ArbitrateLock: Assert that requesting_thread is current_thread.bunnei2018-02-031-0/+1
* hle: Remove Domain and SyncObject kernel objects.bunnei2018-01-251-2/+1
* Format: Run the new clang format on everythingJames Rowe2018-01-211-4/+6
* Added CreateSharedMemory & UNIMPLEMENTED() for non existent services. (#113)David2018-01-201-1/+13
* svc: Fix svcGetInfo MapRegionBaseAddr.bunnei2018-01-191-1/+1
* svc: Rename some entries to match their analogue on SwitchBrewLioncash2018-01-181-7/+7
* svc: Add CreateJitMemory and MapJitMemory svc stringsLioncash2018-01-181-2/+2
* svc: Clang-format fix.bunnei2018-01-171-6/+4
* SVC: Correct some return values in svcGetInfo and added TitleId and PrivilegedProcessId stubs.Subv2018-01-171-6/+21
* Merge pull request #52 from ogniK5377/fspbunnei2018-01-171-1/+18
|\
| * SetThreadCoreMask stub, time to implement fspDavid Marcec2018-01-161-1/+6
| * Added more svcGetInfo pairsDavid Marcec2018-01-161-0/+12
* | clang-formatMerryMage2018-01-161-6/+4
|/
* svc: Implement svcMapSharedMemory.bunnei2018-01-141-1/+33
* yuzu: Update license text to be consistent across project.bunnei2018-01-131-1/+1
* core: Include <algorithm> where used.bunnei2018-01-121-0/+2
* svc: Implement GetSystemTick.bunnei2018-01-121-2/+13
* svc: Stub ResetSignal and CreateTransferMemorySubv2018-01-111-3/+20
* svc: Stub SetMemoryAttributeSubv2018-01-111-0/+5
* Threads: Added enum values for the Switch's 4 cpu cores and implemented svcGetInfo(AllowedCpuIdBitmask)Subv2018-01-101-6/+11
* SVC: Fixed WaitSynchronization with multiple handles when none is immediately ready.Subv2018-01-091-7/+18
* SVC: Implemented CancelSynchronization.Subv2018-01-091-1/+17
* SVC: Fixed WaitSynchronization with multiple handles when at least one of them is ready.Subv2018-01-091-1/+24
* kernel: Rename Semaphore to ConditionVariable.bunnei2018-01-091-25/+33
* Kernel: Actually wake up the requested number of threads in Semaphore::Release.Subv2018-01-091-1/+1
* Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking.Subv2018-01-091-1/+4
* Kernel: Allow chaining WaitSynchronization calls inside a wakeup callback.Subv2018-01-091-15/+41
* svc: Implement svcSignalProcessWideKey.bunnei2018-01-071-2/+21
* svc: Implement svcWaitProcessWideKeyAtomic.bunnei2018-01-061-1/+49
* svc: Implement WaitSynchronization for a single handle.bunnei2018-01-061-4/+24
* svc: Refactor LockMutex code to use WaitSynchronization1.bunnei2018-01-061-13/+45
* svc: Add missing string_util include.bunnei2018-01-051-0/+1
* arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei2018-01-031-19/+9
* svc: Remove unnecessary "svc" prefix to naming scheme.bunnei2018-01-031-106/+106
* hle: Move SVC code to kernel namespace.bunnei2018-01-031-0/+612