Luna/kernel/src/memory/Paging.cpp

11 lines
214 B
C++
Raw Normal View History

2022-10-06 15:13:34 +00:00
#include "memory/Paging.h"
#pragma GCC push_options
#pragma GCC diagnostic ignored "-Wconversion"
void PageDirectoryEntry::set_address(uint64_t addr)
2022-10-06 15:13:34 +00:00
{
this->Address = (addr >> 12);
}
#pragma GCC pop_options