x86: added page size in bytes tlb entry function

This commit is contained in:
Brad Beckmann 2012-07-11 12:21:04 -07:00
parent 5931087dcd
commit 8c18f6da9e

View file

@ -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 &section);
};