mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
d3a0ae5c57
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. |
||
---|---|---|
.. | ||
Definitions.h | ||
FileSystem.cpp | ||
FileSystem.h | ||
Inode.cpp | ||
Inode.h | ||
ProcessExposed.cpp |