C
#define GetPageAddress(page) (_PageTable[page])
Overview
Returns the address of the given page.
Returns
Address in memory of the given page number. The number of pages is dictated by GFX_DRV_PAGE_COUNT value defined in the hardware profile. GFX_DRV_PAGE_COUNT is not mandatory. Drivers that do not have enough memory for paging may not define this constant. If GFX_DRV_PAGE_COUNT is not defined, all API's related to paging operation is will not be available.
Preconditions
none
Side Effects
none