x86: added page size in bytes tlb entry function
This commit is contained in:
@@ -118,6 +118,12 @@ namespace X86ISA
|
||||
return paddr;
|
||||
}
|
||||
|
||||
// Return the page size in bytes
|
||||
int size()
|
||||
{
|
||||
return (1 << logBytes);
|
||||
}
|
||||
|
||||
void serialize(std::ostream &os);
|
||||
void unserialize(Checkpoint *cp, const std::string §ion);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user