11 lines
222 B
C++
11 lines
222 B
C++
|
#include "memory/Paging.h"
|
||
|
|
||
|
#pragma GCC push_options
|
||
|
#pragma GCC diagnostic ignored "-Wconversion"
|
||
|
|
||
|
void Paging::PageDirectoryEntry::set_address(uint64_t addr)
|
||
|
{
|
||
|
this->Address = (addr >> 12);
|
||
|
}
|
||
|
|
||
|
#pragma GCC pop_options
|