serenity/Kernel/FileSystem/ProcFS
Sönke Holz d3a0ae5c57 Kernel/MM: Replace Region::Cacheable with a more generic MemoryType enum
This replaces all usages of Cacheable::Yes with MemoryType::Normal and
Cacheable::No with either MemoryType::NonCacheable or MemoryType::IO,
depending on the context.

The Page{Directory,Table}::set_cache_disabled function therefore also
has been replaced with a more appropriate set_memory_type_function.
Adding a memory_type "getter" would not be as easy, as some
architectures may not support all memory types, so getting the memory
type again may be a lossy conversion. The is_cache_disabled function
was never used, so just simply remove it altogether.

There is no difference between MemoryType::NonCacheable and
MemoryType::IO on x86 for now.

Other architectures currently don't respect the MemoryType at all.
2024-11-23 19:29:50 +01:00
..
Definitions.h Kernel/FileSystem: Send proper filetypes when traversing RAM-backed FSes 2024-01-13 19:01:07 -07:00
FileSystem.cpp Kernel: Change internal handling of filesystem-specific options 2024-08-03 20:35:06 +02:00
FileSystem.h Kernel: Change internal handling of filesystem-specific options 2024-08-03 20:35:06 +02:00
Inode.cpp Kernel+Userland: Reduce jails to be a simple boolean flag 2024-07-21 11:44:23 +02:00
Inode.h Kernel/FileSystem: Enforce locking of m_inode_lock when truncating Inode 2024-02-24 16:45:26 -07:00
ProcessExposed.cpp Kernel/MM: Replace Region::Cacheable with a more generic MemoryType enum 2024-11-23 19:29:50 +01:00