Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes

addrRegion Class Reference

Inheritance diagram for addrRegion:
localRegionAlloc vmRegionAlloc

Public Member Functions

 addrRegion (simAddress base, simAddress max, const char *name)
unsigned int free (simAddress sa, unsigned int size, unsigned int &nextPage)

Data Fields

string regionName

Protected Member Functions

unsigned int makePageMask ()
unsigned int numPages (unsigned int size)

Protected Attributes

simAddress baseAddr
simAddress maxAddr
map< simAddress, unsigned int > objectSizeInPages
unsigned char * pages
unsigned int pageSize
unsigned int pageShift
unsigned int pageMask
unsigned int totalPages

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