summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_page_table.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-10kernel: add KPageTableBaseLiam1-538/+4
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
2023-10-22kernel: update KProcessLiam1-2/+2
2023-10-20k_page_table: add MapFirstGroupLiam1-2/+2
2023-10-20k_page_table: implement PermissionLockedLiam1-1/+2
2023-10-20k_page_table: add new CheckMemoryState helperLiam1-0/+7
2023-10-20kernel: split Io memory state, add PermissionLocked attributeLiam1-4/+15
2023-10-05kernel: implement transfer memoryLiam1-0/+3
2023-07-15kernel: reduce page table region checkingLiam1-33/+8
2023-03-24memory: rename global memory references to application memoryLiam1-1/+3
2023-03-22kernel: use KTypedAddress for addressesLiam1-115/+126
2023-03-13kernel: prefer std::addressofLiam1-1/+1
2023-01-22kernel: KPageTable: updateLiam1-20/+66
2023-01-08Revert "Revert "k_page_group: synchronize""bunnei1-4/+5
2022-12-29Revert "k_page_group: synchronize"gidoly1-5/+4
2022-12-25k_page_table: remove HACK_OpenPages/ClosePagesLiam1-4/+0
2022-12-25k_page_group: synchronizeLiam1-0/+5
2022-11-11gdbstub: add ams monitor commandsLiam1-0/+3
2022-11-04core: hle: kernel: k_page_table: Implement IPC memory methods.bunnei1-0/+100
2022-11-04core: hle: kernel: Integrate system KSystemResource.bunnei1-13/+29
2022-10-19core: hle: kernel: Use result macros for new/changed code.bunnei1-9/+10
2022-10-19core: hle: kernel: k_process: Improve management of page table & cleanup.bunnei1-4/+4
2022-10-19core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup.bunnei1-139/+146
2022-10-19core: hle: kernel: k_page_table: Update, and integrate with new KMemoryBlockManager/SlabManager.bunnei1-11/+14
2022-06-27core: kernel: Replace instances of KPageLinkedList with KPageGroupgerman771-13/+13
2022-06-27core: Replace all instances of ResultCode with Resultgerman771-88/+81
2022-06-09kernel: fix KCodeMemory initializationLiam1-2/+3
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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-09hle: kernel: Invalidate entire icache in UnmapProcessMemory and UnmapCodeMemory (fixes #8174)tech-ticks1-1/+4
2022-03-26hle: kernel: k_page_table: Implement LockMemoryAndOpen & UnlockMemory.bunnei1-0/+19
2022-03-26hle: kernel: k_page_table: Implement MakeAndOpenPageGroup & MakePageGroup.bunnei1-0/+6
2022-03-26hle: kernel: k_page_table: Add IsHeapPhysicalAddress method.bunnei1-0/+8
2022-03-15core: hle: kernel: k_page_table: Add implementations of MapPages, UnmapPages, and FindFreeArea for TLS.bunnei1-2/+15
2022-03-09hle: service: ldr: Use deterministic addresses when mapping NROs.bunnei1-5/+3
- Instead of randomization, choose in-order addresses for where to map NROs into memory. - This results in predictable behavior when debugging and consistent behavior when reproducing issues.
2022-03-08hle: kernel: KPageTable: Improve implementations of MapCodeMemory and UnmapCodeMemory.bunnei1-2/+2
- 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-28hle: kernel: k_memory_manager: Rework for latest kernel behavior.bunnei1-0/+2
- 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-27hle: kernel: k_page_heap: GetPhysicalAddr can be const.bunnei1-2/+1
2022-02-27hle: kernel: k_page_heap: Remove superfluous consexpr.bunnei1-2/+2
2022-02-02general: Replace NonCopyable struct with equivalentsLioncash1-1/+6
2022-02-02hle: kernel: KPageTable: Migrate locks to KScopedLightLock.bunnei1-6/+9
- More accurately reflects real kernel behavior by using guest locks.
2022-01-22core: hle: kernel: KPageTable: Assert valid address on GetPhysicalAddr.bunnei1-1/+3
2022-01-22core: hle: kernel: Refactor Un/MapPhysicalMemory to remove unnecessary methods.bunnei1-1/+1
2022-01-22core: hle: kernel: Rename Un/Map to Un/MapMeory.bunnei1-3/+2
2022-01-15hle: kernel: k_memory_manager: Clear pages on allocation & free.bunnei1-0/+1
- Heap pages should be zero'd. - Also explicitly passed along heap allocation option.
2022-01-12hle: kernel: k_page_table: Update SetProcessMemoryPermission.bunnei1-1/+2
2022-01-12hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory.bunnei1-2/+2
2022-01-08core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission.bunnei1-2/+1
2022-01-08core: hle: kernel: k_page_table: Update CheckMemoryState.bunnei1-11/+33
2021-12-28core: hle: kernel: Updated implementation of svcSetHeapSize.bunnei1-10/+9
- 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.bunnei1-0/+1
- Not seen in any games yet, but validated with kernel tests.
2021-12-05kernel: svc: Implement Map/UnmapProcessMemory and Create/ControlCodeMemoryitsmeft241-0/+8
Used by Skyline modding framework
2021-11-21kernel: KPageTable: Rename SetCodeMemoryPermission to SetProcessMemoryPermissionMorph1-1/+1
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-1/+1
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-06hle: kernel: KPageTable: CanContain should not be constexpr.bunnei1-1/+1
2021-05-06hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory.bunnei1-1/+4
2021-05-06hle: kernel: Migrate KTransferMemory to KAutoObject.bunnei1-2/+2
2021-02-19hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei1-6/+4
2021-02-19hle: kernel: Migrate MemoryManager to KMemoryManager.bunnei1-3/+3
2021-02-19hle: kernel: Migrate PageLinkedList to KPageLinkedList.bunnei1-5/+6
2021-02-19hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.bunnei1-39/+42
2020-05-03kernel/memory: Remove unused includesLioncash1-2/+1
Prevents header churn and needing to recompile these files if these headers are ever changed in the future.
2020-04-23kernel: memory: Improve implementation of device shared memory. (#3707)bunnei1-0/+2
* 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-17kernel: memory: page_table: Simplify GetPhysicalAddr impl.bunnei1-1/+3
2020-04-17kernel: memory: Add PageTable class, to manage process address space.bunnei1-0/+274