serenity/Kernel/Memory
Liav A 7b745a20f1 Kernel: Mark a bunch of NonnullRefPtrs also const to ensure immutability
These were easy to pick-up as these pointers are assigned during the
construction point and are never changed afterwards.

This small change to these pointers will ensure that our code will not
accidentally assign these pointers with a new object which is always a
kind of bug we will want to prevent.
2023-04-08 13:44:21 +02:00
..
AddressSpace.cpp Kernel: Store a pointer to the owner process in PageDirectory 2023-04-06 20:30:03 +03:00
AddressSpace.h Kernel: Store a pointer to the owner process in PageDirectory 2023-04-06 20:30:03 +03:00
AllocationStrategy.h Kernel: Rename Kernel/VM/ to Kernel/Memory/ 2021-08-06 14:05:58 +02:00
AnonymousVMObject.cpp Everywhere: Remove NonnullRefPtr.h includes 2023-03-06 23:46:35 +01:00
AnonymousVMObject.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
InodeVMObject.cpp Kernel: Use RefPtr instead of LockRefPtr for PhysicalPage 2022-08-24 18:35:41 +02:00
InodeVMObject.h Kernel: Mark a bunch of NonnullRefPtrs also const to ensure immutability 2023-04-08 13:44:21 +02:00
MappedROM.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MemoryManager.cpp Kernel: Extend the lifetime of Regions during page fault handling 2023-04-06 20:30:03 +03:00
MemoryManager.h Kernel: Extend the lifetime of Regions during page fault handling 2023-04-06 20:30:03 +03:00
PageFaultResponse.h Kernel: Send SIGBUS to threads that use after valid Inode mmaped range 2022-09-26 20:00:34 +03:00
PhysicalPage.cpp Kernel: Make NNRP<PhysicalPage const> possible 2023-02-21 00:54:04 +01:00
PhysicalPage.h Kernel: Make NNRP<PhysicalPage const> possible 2023-02-21 00:54:04 +01:00
PhysicalRegion.cpp Everywhere: Stop using NonnullOwnPtrVector 2023-03-06 23:46:35 +01:00
PhysicalRegion.h Kernel: Stop using NonnullLockRefPtrVector 2023-03-06 23:46:36 +01:00
PhysicalZone.cpp Kernel: Add implied auto qualifiers in Memory 2022-01-09 23:29:57 -08:00
PhysicalZone.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
PrivateInodeVMObject.cpp AK: Rename Bitmap::try_create() to ::create() 2022-12-22 15:48:53 +01:00
PrivateInodeVMObject.h Kernel: Handle mmap requests on zero-length data file inodes safely 2022-09-16 14:55:45 +03:00
Region.cpp Kernel: Extend the lifetime of Regions during page fault handling 2023-04-06 20:30:03 +03:00
Region.h Kernel: Extend the lifetime of Regions during page fault handling 2023-04-06 20:30:03 +03:00
RegionTree.cpp Kernel: Remove i686 support 2022-12-28 11:53:41 +01:00
RegionTree.h Kernel: Wrap process address spaces in SpinlockProtected 2022-08-24 14:57:51 +02:00
RingBuffer.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
RingBuffer.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
ScatterGatherList.cpp Kernel: Use RefPtr instead of LockRefPtr for PhysicalPage 2022-08-24 18:35:41 +02:00
ScatterGatherList.h Kernel: Use RefPtr instead of LockRefPtr for PhysicalPage 2022-08-24 18:35:41 +02:00
ScopedAddressSpaceSwitcher.cpp Kernel: Implement ScopedAddressSpaceSwitcher using PageDirectory 2023-04-06 21:19:58 +03:00
ScopedAddressSpaceSwitcher.h Kernel: Implement ScopedAddressSpaceSwitcher using PageDirectory 2023-04-06 21:19:58 +03:00
SharedFramebufferVMObject.cpp Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
SharedFramebufferVMObject.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
SharedInodeVMObject.cpp AK: Rename Bitmap::try_create() to ::create() 2022-12-22 15:48:53 +01:00
SharedInodeVMObject.h Kernel: Handle mmap requests on zero-length data file inodes safely 2022-09-16 14:55:45 +03:00
TypedMapping.h Everywhere: Run clang-format 2022-12-03 23:52:23 +00:00
VirtualRange.cpp Kernel+LibC: Move name length constants to Kernel/API from limits.h 2023-01-21 10:43:59 -07:00
VirtualRange.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
VMObject.cpp AK: Remove try_ prefix from FixedArray creation functions 2023-01-28 22:41:36 +01:00
VMObject.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00