diff --git a/Kernel/types.h b/Kernel/types.h index 7d2234832d..99bc61dd95 100644 --- a/Kernel/types.h +++ b/Kernel/types.h @@ -54,6 +54,7 @@ public: PhysicalAddress() { } explicit PhysicalAddress(dword address) : m_address(address) { } + PhysicalAddress offset(dword o) const { return PhysicalAddress(m_address + o); } dword get() const { return m_address; } void set(dword address) { m_address = address; } void mask(dword m) { m_address &= m; }