This tutorial describes how to set the paging options for an individual executable.
The paging options are:
Making executables (either exe or dll) paged is the finest level of control of paging at runtime. In the order of precedence for paging keywords, the values in this file will be overridden by those in the oby file.
The following keywords are used to indicate whether the executable is unpaged or paged. If the executable is paged then the keywords indicate if code paging, data paging or both are to be used.
Keyword |
Behaviour on Symbion OS v9.6 and later |
paged |
Enables code and data paging |
unpaged |
Disables code and data paging |
pagedcode |
Enables code paging |
unpagedcode |
Disables code paging |
pageddata |
Enables data paging |
unpageddata |
Disables data paging |
When using the above keywords, the following points must be considered.
Below is an example mmp file with paging:
TARGET dummy.dll TARGETTYPE DLL UID 0x10003d3a VENDORID 0x12345678 SOURCEPATH ../dummy SOURCE dummy1.cpp dummy2.cpp SYSTEMINCLUDE /epoc32/include LIBRARY euser.lib CAPABILITY PowerMgmt ReadDeviceData WriteDeviceData LocalServices ReadUserData WriteUserData UNPAGED
The above mmp file, specifies that the dummy.dll file is not going to use demand paging.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.