aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
AgeCommit message (Collapse)Author
2022-06-28Merge pull request #8512 from german77/nnResultMorph
Replace multiple names with a better name
2022-06-27Merge pull request #8504 from comex/mesosphere-current-processbunnei
Support `InfoType_MesosphereCurrentProcess`
2022-06-26core: kernel: Replace instances of KPageLinkedList with KPageGroupgerman77
2022-06-26core: Replace all instances of ResultCode with Resultgerman77
2022-06-25Re-add missing `case` and braces, and trim whitespacecomex
2022-06-25Update src/core/hle/kernel/svc.cppcomex
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2022-06-25Support InfoType_MesosphereCurrentProcesscomex
2022-06-23kernel: make current thread pointer thread localLiam
2022-06-16Implement ExitProcess svcNikita Strygin
Currently this just stops all the emulation This works under assumption that only application will try to use ExitProcess, with services not touching it If application exits - it quite makes sense to end the emulation
2022-06-16Merge pull request #8457 from liamwhite/kprocess-suspendFernando S
kernel: implement KProcess suspension
2022-06-15Merge pull request #8464 from liamwhite/break-debugMai
kernel: notify debugger on break SVC
2022-06-14kernel: notify debugger on break SVCLiam
2022-06-14core: centralize profile scope for DynarmicLiam
2022-06-14kernel: implement KProcess suspensionLiam
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-04-24kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFFMorph
Resolves the C4146 compiler warning on MSVC.
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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.
2022-04-09hle: kernel: Invalidate entire icache in UnmapProcessMemory and ↵tech-ticks
UnmapCodeMemory (fixes #8174)
2022-03-26hle: kernel: svc: MapProcessMemory: Fix usage of KPageLinkedList to use ↵bunnei
physical address space.
2022-03-26hle: kernel: svc: CreateCodeMemory: Remove log of 'out' host pointer.bunnei
- This does not seem terribly useful and is inconsistent with other usage.
2022-03-26hle: kernel: svc: UnmapProcessCodeMemory: Fix inverted alignment check.bunnei
2022-02-21core: hle: kernel: KEvent: Pass in owner KProcess on event creation.bunnei
- This is necessary to ensure resource limits are freed from the right process.
2022-02-15kernel: svc: Add OutputDebugString32, CreateCodeMemory32, ControlCodeMemory32Sergi Granell
Very straightforward, they are just wrappers to the 64-bit version of the SVC.
2022-02-08svc: Set unique names for function tablesNarr the Reg
2022-02-04service: pm: Implement AtmosphereGetProcessInfotech-ticks
2022-01-31svc: Add 32 bit SynchronizePreemptionStateNarr the Reg
Used by Espgaluda II
2022-01-22core: hle: kernel: Rename Un/Map to Un/MapMeory.bunnei
2022-01-11hle: kernel: k_page_table: Update SetProcessMemoryPermission.bunnei
2022-01-11hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory.bunnei
2022-01-08core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission.bunnei
2021-12-30core: hle: kernel: Implement thread pinning.bunnei
- 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.
2021-12-28core: hle: kernel: Updated implementation of svcSetHeapSize.bunnei
- 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.
2021-12-23core: hle: kernel: Implement SetMemoryPermission.bunnei
- Not seen in any games yet, but validated with kernel tests.
2021-12-21hle: kernel: svc: GetInfo: Fix error checking with IdleTickCount.bunnei
- Enforce tha the supplied handle is invalid, not valid. - This gets Witcher 3 booting.
2021-12-17core: hle: Remove global HLE lock.bunnei
- 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.
2021-12-12Merge pull request #7462 from bunnei/kernel-improve-schedulingbunnei
Kernel: Improve threading & scheduling V3
2021-12-06hle: kernel: svc: Fix deadlock that can occur with single core.bunnei
2021-12-06hle: kernel: KServerSession: Migrate to updated KThreadQueue.bunnei
2021-12-06hle: kernel: KThread: Remove tracking of sync object from threads.bunnei
2021-12-06core: hle: kernel: Reflect non-emulated threads as core 3.bunnei
2021-12-05kernel: svc: Implement Map/UnmapProcessMemory and Create/ControlCodeMemoryitsmeft24
Used by Skyline modding framework
2021-11-20kernel: svc: Move all IsValid functions to an anonymous namespaceMorph
2021-11-20kernel: svc: Implement SetProcessMemoryPermissionMorph
- Used by Skyline modding framework
2021-11-04general: Rename GetTitleID to GetProgramIDMorph
2021-11-03core: Remove unused includesameerj
2021-11-02svc: Correct WaitSynchronization num_handles param typeMorph
num_handles is a s32
2021-11-01Merge pull request #7227 from vonchenplus/fix_memory_leak_v2bunnei
Fix memory leak v2
2021-10-27Fix memory leakFeng Chen
2021-10-16SVC: Implement svcInfo:IdleTickCountFernando Sahmkow
Used by the Witcher 3
2021-09-25Fix KScopedAutoObject object leak when SendSyncRequestFeng Chen