Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-11-14 | Add break for default cases | Kyle Kienapfel | 1 | -0/+3 | |
Visual Studio has an option to search all files in a solution, so I did a search in there for "default:" looking for any missing break statements. I've left out default statements that return something, and that throw something, even if via ThrowInvalidType. UNREACHABLE leads towards throw R_THROW macro leads towards a return | |||||
2022-11-10 | kernel/svc_types: refresh | Liam | 1 | -7/+7 | |
2022-11-04 | core: hle: kernel: k_page_table: Remove unnecessary casts. | bunnei | 1 | -17/+8 | |
2022-11-04 | core: hle: kernel: k_page_table: Manually open/close pages for IPC methods. | bunnei | 1 | -0/+18 | |
2022-11-04 | core: hle: kernel: k_page_table: Implement IPC memory methods. | bunnei | 1 | -3/+809 | |
2022-11-04 | core: hle: kernel: k_memory_manager: Refresh. | bunnei | 1 | -166/+128 | |
2022-11-04 | core: hle: kernel: Integrate system KSystemResource. | bunnei | 1 | -4/+8 | |
2022-10-19 | core: hle: kernel: Use result macros for new/changed code. | bunnei | 1 | -61/+50 | |
2022-10-19 | core: hle: kernel: k_process: Improve management of page table & cleanup. | bunnei | 1 | -9/+14 | |
2022-10-19 | core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup. | bunnei | 1 | -405/+476 | |
2022-10-19 | core: hle: kernel: k_page_table: Update, and integrate with new KMemoryBlockManager/SlabManager. | bunnei | 1 | -240/+379 | |
2022-10-19 | core: device_memory: Templatize GetPointer(..). | bunnei | 1 | -3/+3 | |
2022-06-27 | core: kernel: Replace instances of KPageLinkedList with KPageGroup | german77 | 1 | -24/+24 | |
2022-06-27 | core: Replace all instances of ResultCode with Result | german77 | 1 | -78/+75 | |
2022-06-22 | KPageTable: Remove extraneous assert | Morph | 1 | -1/+0 | |
Since start is always 0 and VAddr is unsigned, we can safely remove this assert. | |||||
2022-06-14 | common: Change semantics of UNREACHABLE to unconditionally crash | Liam | 1 | -10/+6 | |
2022-06-09 | kernel: fix KCodeMemory initialization | Liam | 1 | -11/+100 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 1 | -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. | |||||
2022-04-09 | hle: kernel: Invalidate entire icache in UnmapProcessMemory and UnmapCodeMemory (fixes #8174) | tech-ticks | 1 | -2/+9 | |
2022-03-26 | hle: kernel: k_page_table: Fix implementations of LockForCodeMemory & UnlockForCodeMemory. | bunnei | 1 | -48/+12 | |
2022-03-26 | hle: kernel: k_page_table: Implement LockMemoryAndOpen & UnlockMemory. | bunnei | 1 | -0/+105 | |
2022-03-26 | hle: kernel: k_page_table: Implement MakeAndOpenPageGroup & MakePageGroup. | bunnei | 1 | -0/+77 | |
2022-03-15 | core: hle: kernel: k_page_table: Add implementations of MapPages, UnmapPages, and FindFreeArea for TLS. | bunnei | 1 | -0/+126 | |
2022-03-08 | hle: kernel: KPageTable: Improve implementations of MapCodeMemory and UnmapCodeMemory. | bunnei | 1 | -45/+114 | |
- This makes these functions more accurate to the real HOS implementations. - Fixes memory access issues in Super Smash Bros. Ultimate that occur when un/mapping NROs. | |||||
2022-02-28 | hle: kernel: k_memory_manager: Rework for latest kernel behavior. | bunnei | 1 | -16/+30 | |
- Updates the KMemoryManager implementation against latest documentation. - Reworks KMemoryLayout to be accessed throughout the kernel. - Fixes an issue with pool sizes being incorrectly reported. | |||||
2022-02-27 | hle: kernel: k_page_heap: Remove superfluous consexpr. | bunnei | 1 | -2/+2 | |
2022-02-19 | fixup! core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory. | bunnei | 1 | -22/+2 | |
2022-02-19 | core: hle: kernel: KPageTable: Fix UnmapPages. | bunnei | 1 | -3/+2 | |
- Fixes a logic bug in KPageTable::UnmapPages. | |||||
2022-02-19 | core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory. | bunnei | 1 | -107/+432 | |
- Improves the implementations of MapPhysicalMemory and UnmapPhysicalMemory to more closely reflect latest HOS. | |||||
2022-02-02 | general: Replace NonCopyable struct with equivalents | Lioncash | 1 | -0/+2 | |
2022-02-02 | hle: kernel: KPageTable: Migrate locks to KScopedLightLock. | bunnei | 1 | -28/+37 | |
- More accurately reflects real kernel behavior by using guest locks. | |||||
2022-01-23 | core: hle: kernel: KPageTable: Various improvements to MapPages and UnmapPages. | bunnei | 1 | -22/+25 | |
2022-01-23 | core: hle: kernel: KPageTable: MapProcessCode: Various cleanup. | bunnei | 1 | -11/+12 | |
2022-01-23 | core: hle: kernel: KPageTable: ReserveTransferMemory: Various cleanup. | bunnei | 1 | -6/+6 | |
2022-01-23 | core: hle: kernel: KPageTable: ResetTransferMemory: Various cleanup. | bunnei | 1 | -6/+5 | |
2022-01-23 | core: hle: kernel: KPageTable: SetMemoryAttribute: Various cleanup. | bunnei | 1 | -2/+3 | |
2022-01-22 | core: hle: kernel: KPageTable: Operate: Assert lock ownership. | bunnei | 1 | -2/+2 | |
2022-01-22 | core: hle: kernel: KPageTable: SetHeapSize: Cleanup & take physical memory lock. | bunnei | 1 | -4/+7 | |
2022-01-22 | core: hle: kernel: Refactor Un/MapPhysicalMemory to remove unnecessary methods. | bunnei | 1 | -49/+38 | |
2022-01-22 | core: hle: kernel: Rename Un/Map to Un/MapMeory. | bunnei | 1 | -2/+2 | |
2022-01-15 | hle: kernel: k_memory_manager: Clear pages on allocation & free. | bunnei | 1 | -8/+9 | |
- Heap pages should be zero'd. - Also explicitly passed along heap allocation option. | |||||
2022-01-12 | hle: kernel: k_page_table: Update SetProcessMemoryPermission. | bunnei | 1 | -31/+42 | |
2022-01-12 | hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite. | bunnei | 1 | -14/+14 | |
2022-01-12 | hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory. | bunnei | 1 | -2/+2 | |
2022-01-08 | core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission. | bunnei | 1 | -13/+25 | |
2022-01-08 | core: hle: kernel: k_page_table: Update CheckMemoryState. | bunnei | 1 | -97/+104 | |
2021-12-28 | core: hle: kernel: Updated implementation of svcSetHeapSize. | bunnei | 1 | -52/+115 | |
- 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-23 | core: hle: kernel: Implement SetMemoryPermission. | bunnei | 1 | -0/+27 | |
- Not seen in any games yet, but validated with kernel tests. | |||||
2021-12-06 | fix formatting | itsmeft24 | 1 | -4/+1 | |
2021-12-05 | kernel: svc: Implement Map/UnmapProcessMemory and Create/ControlCodeMemory | itsmeft24 | 1 | -1/+123 | |
Used by Skyline modding framework | |||||
2021-11-21 | kernel: KPageTable: Rename SetCodeMemoryPermission to SetProcessMemoryPermission | Morph | 1 | -2/+2 | |
2021-11-02 | general: Remove MakeResult helpers | Morph | 1 | -2/+2 | |
This is made obsolete by the presence of implicit constructors. | |||||
2021-10-13 | KPageTable: Perform ranged invalidation when unmapping code memory | Morph | 1 | -0/+2 | |
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com> | |||||
2021-06-24 | common: Replace common_sizes into user-literals | Wunkolo | 1 | -1/+4 | |
Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc user-literals within literals.h. To keep the global namespace clean, users will have to use: ``` using namespace Common::Literals; ``` to access these literals. | |||||
2021-06-02 | general: Replace RESULT_SUCCESS with ResultSuccess | Morph | 1 | -30/+30 | |
Transition to PascalCase for result names. | |||||
2021-05-16 | core: Make variable shadowing a compile-time error | Lioncash | 1 | -5/+5 | |
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-06 | hle: kernel: KPageTable: CanContain should not be constexpr. | bunnei | 1 | -1/+1 | |
2021-05-06 | hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory. | bunnei | 1 | -0/+39 | |
2021-05-06 | hle: kernel: Rename Process to KProcess. | bunnei | 1 | -1/+1 | |
2021-05-06 | hle: kernel: svc_results: Update naming.. | bunnei | 1 | -3/+3 | |
2021-02-19 | hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable. | bunnei | 1 | -61/+62 | |
2021-02-19 | hle: kernel: Migrate MemoryManager to KMemoryManager. | bunnei | 1 | -1/+1 | |
2021-02-19 | hle: kernel: Migrate PageLinkedList to KPageLinkedList. | bunnei | 1 | -15/+15 | |
2021-02-19 | hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others. | bunnei | 1 | -226/+230 | |
2021-02-19 | hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo. | bunnei | 1 | -17/+17 | |
2021-02-19 | hle: kernel: KSystemControl does not belong in Memory namespace. | bunnei | 1 | -5/+6 | |
2021-02-13 | kernel: KScopedReservation implementation | ameerj | 1 | -16/+21 | |
This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals. | |||||
2021-02-13 | kernel: Unify result codes (#5890) | Chloe | 1 | -24/+24 | |
* kernel: Unify result codes Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways. * oops * rename errors to svc_results | |||||
2021-02-03 | Simplify limitableresource names | Chloe Marcec | 1 | -6/+5 | |
2021-01-30 | kernel: Rewrite resource limit to be more accurate | Chloe Marcec | 1 | -6/+7 | |
Matches closer to hardware | |||||
2021-01-02 | general: Fix various spelling errors | Morph | 1 | -6/+6 | |
2020-12-30 | core/memory: Read and write page table atomically | ReinUsesLisp | 1 | -1/+1 | |
Squash attributes into the pointer's integer, making them an uintptr_t pair containing 2 bits at the bottom and then the pointer. These bits are currently unused thanks to alignment requirements. Configure Dynarmic to mask out these bits on pointer reads. While we are at it, remove some unused attributes carried over from Citra. Read/Write and other hot functions use a two step unpacking process that is less readable to stop MSVC from emitting an extra AND instruction in the hot path: mov rdi,rcx shr rdx,0Ch mov r8,qword ptr [rax+8] mov rax,qword ptr [r8+rdx*8] mov rdx,rax -and al,3 and rdx,0FFFFFFFFFFFFFFFCh je Core::Memory::Memory::Impl::Read<unsigned char> mov rax,qword ptr [vaddr] movzx eax,byte ptr [rdx+rax] | |||||
2020-11-29 | core: arm: Implement InvalidateCacheRange for CPU cache invalidation. | bunnei | 1 | -0/+5 | |
2020-10-21 | Revert "core: Fix clang build" | bunnei | 1 | -4/+2 | |
2020-10-18 | core: Fix clang build | Lioncash | 1 | -2/+4 | |
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | |||||
2020-08-13 | General: Tidy up clang-format warnings part 2 | Lioncash | 1 | -10/+12 | |
2020-08-05 | kernel: Remove unused variables | Lioncash | 1 | -1/+0 | |
Resolves a few compiler warnings. | |||||
2020-05-03 | kernel/memory: Remove unused includes | Lioncash | 1 | -1/+0 | |
Prevents header churn and needing to recompile these files if these headers are ever changed in the future. | |||||
2020-04-23 | page_table: Remove unused captures | Lioncash | 1 | -2/+2 | |
Any time the lambda function is called, the permission being used in the capture would be passed in as an argument to the lambda, so the capture is unnecessary. | |||||
2020-04-23 | kernel: memory: Improve implementation of device shared memory. (#3707) | bunnei | 1 | -0/+44 | |
* kernel: memory: Improve implementation of device shared memory. * fixup! kernel: memory: Improve implementation of device shared memory. * fixup! kernel: memory: Improve implementation of device shared memory. | |||||
2020-04-17 | core: hle: Address various feedback & code cleanup. | bunnei | 1 | -178/+78 | |
- Should be no functional changes. | |||||
2020-04-17 | kernel: memory: page_table: Simplify GetPhysicalAddr impl. | bunnei | 1 | -4/+0 | |
2020-04-17 | core: system: Rename GetDeviceManager -> DeviceManager. | bunnei | 1 | -1/+1 | |
- More consistent with other system components. | |||||
2020-04-17 | kernel: memory: Add PageTable class, to manage process address space. | bunnei | 1 | -0/+1234 | |