Kernel: Map DMA and PCI MMIO as uncached
This commit is contained in:
@@ -417,6 +417,8 @@ namespace Kernel
|
||||
if (flags & Flags::Reserved)
|
||||
extra_flags |= Flags::Reserved;
|
||||
|
||||
if (memory_type == MemoryType::Uncached)
|
||||
extra_flags |= (1ull << 4);
|
||||
if (memory_type == MemoryType::WriteCombining)
|
||||
extra_flags |= (1ull << 7);
|
||||
if (memory_type == MemoryType::WriteThrough)
|
||||
|
||||
Reference in New Issue
Block a user