summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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