mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Add PhysicalAddress::offset().
This commit is contained in:
parent
c088529cd8
commit
2735b7e50d
1 changed files with 1 additions and 0 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue