mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Kernel: Remove AK_MAKE_NONCOPYABLE from PDE and PTE classes
This avoids -Wclass-memaccess warnings exposed by the new Makefiles.
This commit is contained in:
parent
62c2309336
commit
f4b2b72c8e
1 changed files with 0 additions and 4 deletions
|
@ -85,8 +85,6 @@ union [[gnu::packed]] Descriptor
|
|||
};
|
||||
|
||||
class PageDirectoryEntry {
|
||||
AK_MAKE_NONCOPYABLE(PageDirectoryEntry);
|
||||
|
||||
public:
|
||||
PageTableEntry* page_table_base() { return reinterpret_cast<PageTableEntry*>(m_raw & 0xfffff000u); }
|
||||
void set_page_table_base(u32 value)
|
||||
|
@ -138,8 +136,6 @@ private:
|
|||
};
|
||||
|
||||
class PageTableEntry {
|
||||
AK_MAKE_NONCOPYABLE(PageTableEntry);
|
||||
|
||||
public:
|
||||
void* physical_page_base() { return reinterpret_cast<void*>(m_raw & 0xfffff000u); }
|
||||
void set_physical_page_base(u32 value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue