diff --git a/kernel/hal/x86/mm/pmm.cpp b/kernel/hal/x86/mm/pmm.cpp index a54d796..8249bd3 100644 --- a/kernel/hal/x86/mm/pmm.cpp +++ b/kernel/hal/x86/mm/pmm.cpp @@ -49,7 +49,7 @@ auto PMM::operator >> (void * &addr) -> PMM & { addr=nullptr; return *this; } -auto operator << (const void * addr) -> PMM & { +auto PMM::operator << (const void * addr) -> PMM & { unsigned int address=(unsigned int)addr; address>>=12; int index=address>>5;