aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
AgeCommit message (Collapse)Author
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
2021-08-25Revert "kernel: Various improvements to scheduler"bunnei
2021-08-19Fix check is thread current in GetThreadContextValeri
Misplaced break made it only check for the first core.
2021-08-07core: hle: kernel: Reflect non-emulated threads as core 3.bunnei
2021-07-20hle: kernel: svc: Remove part of ExitProcess.bunnei
- ExitProcess is not actually implemented either way, and this needs more work before we implement.
2021-07-20kernel: svc: ConnectToNamedPort: Close extra reference to port.bunnei
2021-06-09kernel: svc: Add missing error check to CancelSynchronization.bunnei
- Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-05-16core: Make variable shadowing a compile-time errorLioncash
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.
2021-05-10hle: kernel: svc: Update ConnectToNamedPort to use new ↵bunnei
CreateNamedServicePort interface.
2021-05-05kernel: svc: Remove unused RetrieveResourceLimitValue function.bunnei
2021-05-05hle: kernel: svc: ConnectToNamedPort: Use KHandleTable::Reserve.bunnei
2021-05-05hle: kernel: Migrate to KHandleTable.bunnei
2021-05-05hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory.bunnei
2021-05-05hle: kernel: Rename Process to KProcess.bunnei
2021-05-05hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.bunnei