45 #ifndef ETISS_INCLUDE_MM_PTE_H_
46 #define ETISS_INCLUDE_MM_PTE_H_
129 return (
static_cast<uint64_t>(1) << len) - 1;
general configuration and logging
static __inline__ uint32_t
static __inline__ uint64_t
Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags.
void ClearFlagByName(std::string name)
Clear the bit field value with its name.
uint64_t GetByName(std::string const name) const
Get the bit field value with its name.
bool CheckBit(uint32_t pos) const
void Dump()
Dump the details of the PTE entry.
void ClearBit(uint32_t pos)
void SetBit(uint32_t pos)
void SetFlagByName(std::string name, uint64_t val)
Set the bit field value with its name.
void Update(uint64_t new_pte)
Update the PTE with a new value.
uint64_t GenerateMask(uint64_t len) const
Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags.