aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * kernel: implement KProcess suspensionLiam2022-06-141-1/+1
| |
* | Merge pull request #8464 from liamwhite/break-debugMai2022-06-151-0/+7
|\ \ | | | | | | kernel: notify debugger on break SVC
| * | kernel: notify debugger on break SVCLiam2022-06-141-0/+7
| |/
* / core: centralize profile scope for DynarmicLiam2022-06-141-3/+0
|/
* common: Change semantics of UNREACHABLE to unconditionally crashLiam2022-06-131-1/+1
|
* kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFFMorph2022-04-241-1/+1
| | | | Resolves the C4146 compiler warning on MSVC.
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* hle: kernel: Invalidate entire icache in UnmapProcessMemory and ↵tech-ticks2022-04-091-1/+2
| | | | UnmapCodeMemory (fixes #8174)
* hle: kernel: svc: MapProcessMemory: Fix usage of KPageLinkedList to use ↵bunnei2022-03-261-2/+5
| | | | physical address space.
* hle: kernel: svc: CreateCodeMemory: Remove log of 'out' host pointer.bunnei2022-03-261-2/+2
| | | | - This does not seem terribly useful and is inconsistent with other usage.
* hle: kernel: svc: UnmapProcessCodeMemory: Fix inverted alignment check.bunnei2022-03-261-1/+1
|
* core: hle: kernel: KEvent: Pass in owner KProcess on event creation.bunnei2022-02-211-1/+1
| | | | - This is necessary to ensure resource limits are freed from the right process.
* kernel: svc: Add OutputDebugString32, CreateCodeMemory32, ControlCodeMemory32Sergi Granell2022-02-151-4/+18
| | | | | Very straightforward, they are just wrappers to the 64-bit version of the SVC.
* svc: Set unique names for function tablesNarr the Reg2022-02-081-77/+77
|
* service: pm: Implement AtmosphereGetProcessInfotech-ticks2022-02-041-1/+1
|
* svc: Add 32 bit SynchronizePreemptionStateNarr the Reg2022-01-311-1/+1
| | | | Used by Espgaluda II
* core: hle: kernel: Rename Un/Map to Un/MapMeory.bunnei2022-01-221-2/+2
|
* hle: kernel: k_page_table: Update SetProcessMemoryPermission.bunnei2022-01-111-1/+3
|
* hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory.bunnei2022-01-111-2/+2
|
* core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission.bunnei2022-01-081-30/+20
|
* core: hle: kernel: Implement thread pinning.bunnei2021-12-301-1/+20
| | | | | - We largely had the mechanics in place for thread pinning, this change hooks these up. - Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_thread_pinning.cpp.
* core: hle: kernel: Updated implementation of svcSetHeapSize.bunnei2021-12-281-16/+7
| | | | | - Updates our svcSetHeapSize with latest HOS, furthermore allowing heap size to properly be extended/shrunk. - Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_set_heap_size.cpp.
* core: hle: kernel: Implement SetMemoryPermission.bunnei2021-12-231-1/+31
| | | | - Not seen in any games yet, but validated with kernel tests.
* hle: kernel: svc: GetInfo: Fix error checking with IdleTickCount.bunnei2021-12-211-14/+9
| | | | | - Enforce tha the supplied handle is invalid, not valid. - This gets Witcher 3 booting.
* core: hle: Remove global HLE lock.bunnei2021-12-171-9/+0
| | | | | - This was added early on as a hack to protect against some concurrency issues. - It's not clear that this serves any purpose anymore, and if it does, individual components should be fixed rather than using a global recursive mutex.
* Merge pull request #7462 from bunnei/kernel-improve-schedulingbunnei2021-12-121-15/+20
|\ | | | | Kernel: Improve threading & scheduling V3
| * hle: kernel: svc: Fix deadlock that can occur with single core.bunnei2021-12-061-10/+8
| |
| * hle: kernel: KServerSession: Migrate to updated KThreadQueue.bunnei2021-12-061-3/+10
| |
| * hle: kernel: KThread: Remove tracking of sync object from threads.bunnei2021-12-061-2/+1
| |
| * core: hle: kernel: Reflect non-emulated threads as core 3.bunnei2021-12-061-2/+3
| |
* | kernel: svc: Implement Map/UnmapProcessMemory and Create/ControlCodeMemoryitsmeft242021-12-051-4/+210
|/ | | | Used by Skyline modding framework
* kernel: svc: Move all IsValid functions to an anonymous namespaceMorph2021-11-201-3/+15
|
* kernel: svc: Implement SetProcessMemoryPermissionMorph2021-11-201-1/+41
| | | | - Used by Skyline modding framework
* general: Rename GetTitleID to GetProgramIDMorph2021-11-041-1/+1
|
* core: Remove unused includesameerj2021-11-031-10/+0
|
* svc: Correct WaitSynchronization num_handles param typeMorph2021-11-021-2/+2
| | | | num_handles is a s32
* Merge pull request #7227 from vonchenplus/fix_memory_leak_v2bunnei2021-11-011-0/+6
|\ | | | | Fix memory leak v2
| * Fix memory leakFeng Chen2021-10-271-0/+6
| |
* | SVC: Implement svcInfo:IdleTickCountFernando Sahmkow2021-10-161-0/+17
|/ | | | Used by the Witcher 3
* Fix KScopedAutoObject object leak when SendSyncRequestFeng Chen2021-09-251-6/+8
|
* Revert "kernel: Various improvements to scheduler"bunnei2021-08-251-1/+1
|
* Fix check is thread current in GetThreadContextValeri2021-08-191-1/+1
| | | Misplaced break made it only check for the first core.
* core: hle: kernel: Reflect non-emulated threads as core 3.bunnei2021-08-071-1/+1
|
* hle: kernel: svc: Remove part of ExitProcess.bunnei2021-07-201-5/+0
| | | | - ExitProcess is not actually implemented either way, and this needs more work before we implement.
* kernel: svc: ConnectToNamedPort: Close extra reference to port.bunnei2021-07-201-0/+1
|
* kernel: svc: Add missing error check to CancelSynchronization.bunnei2021-06-091-2/+2
| | | | - Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
* general: Replace RESULT_SUCCESS with ResultSuccessMorph2021-06-021-52/+52
| | | | Transition to PascalCase for result names.
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-3/+3
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* hle: kernel: svc: Update ConnectToNamedPort to use new ↵bunnei2021-05-101-4/+3
| | | | CreateNamedServicePort interface.
* kernel: svc: Remove unused RetrieveResourceLimitValue function.bunnei2021-05-051-32/+0
|