The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
HostedPhysicalMemoryManager::PageHashable Class Reference
+ Collaboration diagram for HostedPhysicalMemoryManager::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 124 of file kernel/core/processor/hosted/PhysicalMemoryManager.h.

Constructor & Destructor Documentation

◆ PageHashable() [1/2]

HostedPhysicalMemoryManager::PageHashable::PageHashable ( )
inline

◆ PageHashable() [2/2]

HostedPhysicalMemoryManager::PageHashable::PageHashable ( physical_uintptr_t  p)
inline

Member Function Documentation

◆ hash()

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

◆ operator==()

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

Member Data Documentation

◆ m_Hash

size_t HostedPhysicalMemoryManager::PageHashable::m_Hash
private

◆ m_Page

physical_uintptr_t HostedPhysicalMemoryManager::PageHashable::m_Page
private

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