Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: remove ResultVal type | Liam | 2023-08-08 | 1 | -1/+1 |
| | |||||
* | memory: rename global memory references to application memory | Liam | 2023-03-24 | 1 | -26/+28 |
| | |||||
* | kernel: use KTypedAddress for addresses | Liam | 2023-03-22 | 1 | -184/+208 |
| | |||||
* | kernel: unbreak min/max template deduction on Apple Clang | Liam | 2023-01-26 | 1 | -2/+2 |
| | |||||
* | kernel: KPageTable: update | Liam | 2023-01-22 | 1 | -169/+375 |
| | |||||
* | Revert "Revert "k_page_group: synchronize"" | bunnei | 2023-01-08 | 1 | -72/+70 |
| | |||||
* | Revert "k_page_group: synchronize" | gidoly | 2022-12-29 | 1 | -70/+72 |
| | |||||
* | k_page_table: remove HACK_OpenPages/ClosePages | Liam | 2022-12-25 | 1 | -54/+53 |
| | |||||
* | k_page_group: synchronize | Liam | 2022-12-25 | 1 | -20/+19 |
| | |||||
* | Add break for default cases | Kyle Kienapfel | 2022-11-14 | 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 | ||||
* | kernel/svc_types: refresh | Liam | 2022-11-10 | 1 | -7/+7 |
| | |||||
* | core: hle: kernel: k_page_table: Remove unnecessary casts. | bunnei | 2022-11-04 | 1 | -17/+8 |
| | |||||
* | core: hle: kernel: k_page_table: Manually open/close pages for IPC methods. | bunnei | 2022-11-04 | 1 | -0/+18 |
| | |||||
* | core: hle: kernel: k_page_table: Implement IPC memory methods. | bunnei | 2022-11-04 | 1 | -3/+809 |
| | |||||
* | core: hle: kernel: k_memory_manager: Refresh. | bunnei | 2022-11-04 | 1 | -166/+128 |
| | |||||
* | core: hle: kernel: Integrate system KSystemResource. | bunnei | 2022-11-04 | 1 | -4/+8 |
| | |||||
* | core: hle: kernel: Use result macros for new/changed code. | bunnei | 2022-10-19 | 1 | -61/+50 |
| | |||||
* | core: hle: kernel: k_process: Improve management of page table & cleanup. | bunnei | 2022-10-19 | 1 | -9/+14 |
| | |||||
* | core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup. | bunnei | 2022-10-19 | 1 | -405/+476 |
| | |||||
* | core: hle: kernel: k_page_table: Update, and integrate with new KMemoryBlockManager/SlabManager. | bunnei | 2022-10-19 | 1 | -240/+379 |
| | |||||
* | core: device_memory: Templatize GetPointer(..). | bunnei | 2022-10-19 | 1 | -3/+3 |
| | |||||
* | core: kernel: Replace instances of KPageLinkedList with KPageGroup | german77 | 2022-06-27 | 1 | -24/+24 |
| | |||||
* | core: Replace all instances of ResultCode with Result | german77 | 2022-06-27 | 1 | -78/+75 |
| | |||||
* | KPageTable: Remove extraneous assert | Morph | 2022-06-22 | 1 | -1/+0 |
| | | | | Since start is always 0 and VAddr is unsigned, we can safely remove this assert. | ||||
* | common: Change semantics of UNREACHABLE to unconditionally crash | Liam | 2022-06-14 | 1 | -10/+6 |
| | |||||
* | kernel: fix KCodeMemory initialization | Liam | 2022-06-09 | 1 | -11/+100 |
| | |||||
* | general: Convert source file copyright comments over to SPDX | Morph | 2022-04-23 | 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. | ||||
* | hle: kernel: Invalidate entire icache in UnmapProcessMemory and UnmapCodeMemory (fixes #8174) | tech-ticks | 2022-04-09 | 1 | -2/+9 |
| | |||||
* | hle: kernel: k_page_table: Fix implementations of LockForCodeMemory & UnlockForCodeMemory. | bunnei | 2022-03-26 | 1 | -48/+12 |
| | |||||
* | hle: kernel: k_page_table: Implement LockMemoryAndOpen & UnlockMemory. | bunnei | 2022-03-26 | 1 | -0/+105 |
| | |||||
* | hle: kernel: k_page_table: Implement MakeAndOpenPageGroup & MakePageGroup. | bunnei | 2022-03-26 | 1 | -0/+77 |
| | |||||
* | core: hle: kernel: k_page_table: Add implementations of MapPages, UnmapPages, and FindFreeArea for TLS. | bunnei | 2022-03-15 | 1 | -0/+126 |
| | |||||
* | hle: kernel: KPageTable: Improve implementations of MapCodeMemory and UnmapCodeMemory. | bunnei | 2022-03-08 | 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. | ||||
* | hle: kernel: k_memory_manager: Rework for latest kernel behavior. | bunnei | 2022-02-28 | 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. | ||||
* | hle: kernel: k_page_heap: Remove superfluous consexpr. | bunnei | 2022-02-27 | 1 | -2/+2 |
| | |||||
* | Merge pull request #7919 from bunnei/phys-mem-updates | bunnei | 2022-02-21 | 1 | -125/+430 |
|\ | | | | | core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory. | ||||
| * | fixup! core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory. | bunnei | 2022-02-19 | 1 | -22/+2 |
| | | |||||
| * | core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory. | bunnei | 2022-02-19 | 1 | -107/+432 |
| | | | | | | | | - Improves the implementations of MapPhysicalMemory and UnmapPhysicalMemory to more closely reflect latest HOS. | ||||
* | | core: hle: kernel: KPageTable: Fix UnmapPages. | bunnei | 2022-02-19 | 1 | -3/+2 |
|/ | | | | - Fixes a logic bug in KPageTable::UnmapPages. | ||||
* | Merge pull request #7835 from bunnei/page-table-lock | bunnei | 2022-02-03 | 1 | -28/+37 |
|\ | | | | | hle: kernel: KPageTable: Migrate locks to KScopedLightLock. | ||||
| * | hle: kernel: KPageTable: Migrate locks to KScopedLightLock. | bunnei | 2022-02-02 | 1 | -28/+37 |
| | | | | | | | | - More accurately reflects real kernel behavior by using guest locks. | ||||
* | | general: Replace NonCopyable struct with equivalents | Lioncash | 2022-02-02 | 1 | -0/+2 |
|/ | |||||
* | core: hle: kernel: KPageTable: Various improvements to MapPages and UnmapPages. | bunnei | 2022-01-23 | 1 | -22/+25 |
| | |||||
* | core: hle: kernel: KPageTable: MapProcessCode: Various cleanup. | bunnei | 2022-01-23 | 1 | -11/+12 |
| | |||||
* | core: hle: kernel: KPageTable: ReserveTransferMemory: Various cleanup. | bunnei | 2022-01-23 | 1 | -6/+6 |
| | |||||
* | core: hle: kernel: KPageTable: ResetTransferMemory: Various cleanup. | bunnei | 2022-01-23 | 1 | -6/+5 |
| | |||||
* | core: hle: kernel: KPageTable: SetMemoryAttribute: Various cleanup. | bunnei | 2022-01-23 | 1 | -2/+3 |
| | |||||
* | core: hle: kernel: KPageTable: Operate: Assert lock ownership. | bunnei | 2022-01-22 | 1 | -2/+2 |
| | |||||
* | core: hle: kernel: KPageTable: SetHeapSize: Cleanup & take physical memory lock. | bunnei | 2022-01-22 | 1 | -4/+7 |
| | |||||
* | core: hle: kernel: Refactor Un/MapPhysicalMemory to remove unnecessary methods. | bunnei | 2022-01-22 | 1 | -49/+38 |
| | |||||
* | core: hle: kernel: Rename Un/Map to Un/MapMeory. | bunnei | 2022-01-22 | 1 | -2/+2 |
| | |||||
* | hle: kernel: k_memory_manager: Clear pages on allocation & free. | bunnei | 2022-01-15 | 1 | -8/+9 |
| | | | | | - Heap pages should be zero'd. - Also explicitly passed along heap allocation option. | ||||
* | hle: kernel: k_page_table: Update SetProcessMemoryPermission. | bunnei | 2022-01-12 | 1 | -31/+42 |
| | |||||
* | hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite. | bunnei | 2022-01-12 | 1 | -14/+14 |
| | |||||
* | hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory. | bunnei | 2022-01-12 | 1 | -2/+2 |
| | |||||
* | core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission. | bunnei | 2022-01-08 | 1 | -13/+25 |
| | |||||
* | core: hle: kernel: k_page_table: Update CheckMemoryState. | bunnei | 2022-01-08 | 1 | -97/+104 |
| | |||||
* | core: hle: kernel: Updated implementation of svcSetHeapSize. | bunnei | 2021-12-28 | 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. | ||||
* | core: hle: kernel: Implement SetMemoryPermission. | bunnei | 2021-12-23 | 1 | -0/+27 |
| | | | | - Not seen in any games yet, but validated with kernel tests. | ||||
* | fix formatting | itsmeft24 | 2021-12-06 | 1 | -4/+1 |
| | |||||
* | kernel: svc: Implement Map/UnmapProcessMemory and Create/ControlCodeMemory | itsmeft24 | 2021-12-05 | 1 | -1/+123 |
| | | | | Used by Skyline modding framework | ||||
* | kernel: KPageTable: Rename SetCodeMemoryPermission to SetProcessMemoryPermission | Morph | 2021-11-21 | 1 | -2/+2 |
| | |||||
* | general: Remove MakeResult helpers | Morph | 2021-11-02 | 1 | -2/+2 |
| | | | | This is made obsolete by the presence of implicit constructors. | ||||
* | KPageTable: Perform ranged invalidation when unmapping code memory | Morph | 2021-10-13 | 1 | -0/+2 |
| | | | | Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com> | ||||
* | common: Replace common_sizes into user-literals | Wunkolo | 2021-06-24 | 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. | ||||
* | general: Replace RESULT_SUCCESS with ResultSuccess | Morph | 2021-06-02 | 1 | -30/+30 |
| | | | | Transition to PascalCase for result names. | ||||
* | core: Make variable shadowing a compile-time error | Lioncash | 2021-05-16 | 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. | ||||
* | hle: kernel: KPageTable: CanContain should not be constexpr. | bunnei | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory. | bunnei | 2021-05-06 | 1 | -0/+39 |
| | |||||
* | hle: kernel: Rename Process to KProcess. | bunnei | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | hle: kernel: svc_results: Update naming.. | bunnei | 2021-05-06 | 1 | -3/+3 |
| | |||||
* | hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable. | bunnei | 2021-02-19 | 1 | -0/+1190 |