0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-24 12:45:44 +00:00
ryujinx-fork/Ryujinx.HLE/HOS/Kernel/Memory
Mary b4dc33efc2
kernel: Clear pages allocated with SetHeapSize (#2776)
* kernel: Clear pages allocated with SetHeapSize

Before this commit, all new pages allocated by SetHeapSize were not
cleared by the kernel.

This would cause undefined data to be pass to the userland and possibly
resulting in weird memory corruption.

This commit also add support for custom fill heap and ipc value (that is also
supported by the official kernel)

* Remove dots at the end of KPageTableBase.MapPages new documentation

* Remove unused _stackFillValue
2021-10-24 18:52:59 -03:00
..
AddressSpaceType.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
DramMemoryMap.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KMemoryBlock.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KMemoryBlockManager.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KMemoryBlockSlabManager.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KMemoryInfo.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
KMemoryManager.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KMemoryRegionBlock.cs Fix kernel memory allocator block coalescing (#1155) 2020-04-25 23:25:22 +10:00
KMemoryRegionManager.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KPageList.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KPageNode.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
KPageTable.cs kernel: Clear pages allocated with SetHeapSize (#2776) 2021-10-24 18:52:59 -03:00
KPageTableBase.cs kernel: Clear pages allocated with SetHeapSize (#2776) 2021-10-24 18:52:59 -03:00
KPageTableHostMapped.cs kernel: Clear pages allocated with SetHeapSize (#2776) 2021-10-24 18:52:59 -03:00
KScopedPageList.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KSharedMemory.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KSlabHeap.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
KTransferMemory.cs kernel: Implement MapTransferMemory and UnmapTransferMemory (#2386) 2021-06-23 21:52:11 +02:00
MemoryAttribute.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
MemoryFillValue.cs kernel: Clear pages allocated with SetHeapSize (#2776) 2021-10-24 18:52:59 -03:00
MemoryPermission.cs kernel: Implement SetMemoryPermission syscall (#2772) 2021-10-24 01:24:49 +02:00
MemoryRegion.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
MemoryState.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
SharedMemoryStorage.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00