| |||
| Home > Formal syntax of the scatter file > GetPageSize() function | |||
Returns the page size. This is useful when used with AlignExpr
Returns the value of the internal page size that armlink uses
in its alignment calculations. By default this value is set to 0x8000,
but you can change it with the --pagesize command-line option.
This example aligns the base address of ER to
a Page Boundary:
ER AlignExpr(+0, GetPageSize())
{
...
}