The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
X86CommonPhysicalMemoryManager::PageHashable Class Reference
+ Collaboration diagram for X86CommonPhysicalMemoryManager::PageHashable:

Public Member Functions

 PageHashable (physical_uintptr_t p)
 
size_t hash () const
 
bool operator== (const PageHashable &p) const
 

Private Attributes

size_t m_Hash
 
physical_uintptr_t m_Page
 

Detailed Description

Utility to wrap a physical address and hash it.

Definition at line 223 of file kernel/core/processor/x86_common/PhysicalMemoryManager.h.

Constructor & Destructor Documentation

◆ PageHashable() [1/2]

X86CommonPhysicalMemoryManager::PageHashable::PageHashable ( )
inline

◆ PageHashable() [2/2]

X86CommonPhysicalMemoryManager::PageHashable::PageHashable ( physical_uintptr_t  p)
inline

Member Function Documentation

◆ hash()

size_t X86CommonPhysicalMemoryManager::PageHashable::hash ( ) const
inline

◆ operator==()

bool X86CommonPhysicalMemoryManager::PageHashable::operator== ( const PageHashable &  p) const
inline

Member Data Documentation

◆ m_Hash

size_t X86CommonPhysicalMemoryManager::PageHashable::m_Hash
private

◆ m_Page

physical_uintptr_t X86CommonPhysicalMemoryManager::PageHashable::m_Page
private

The documentation for this class was generated from the following file: