The Kernel can be configured to check that programs meet various pre-conditions before they call kernel-side functions.
These checks are important, as incorrect calls can cause damage to the integrity of the kernel and the whole system.
The code that checks the conditions can be conditionally compiled in for debug builds and test ROMs of Symbian platform. For production devices, this code can be compiled out so that it does not affect performance.
To include the validity checking code, define one or both of these macros:
in the file ...\e32\kernel\kern_int.mmh.
Before building production code, these two macros must be removed. In practice, they will be marked as a comment rather than being completely deleted from the file.
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.