#include <nnsys/fnd.h>
BOOL NNS_FndCheckExpHeap(
NNSFndHeapHandle heap,
u32 optFlag);
heap | Extended heap handle |
optFlag | The check option (see below for more details). |
Returns TRUE if no errors are found in the extended heap. Returns FALSE if an error is found.
Checks whether the extended heap is corrupted. Specifically, it checks whether the management region for each memory block in the extended heap is normal.
The optFlag
specifies the check options.
NNS_FND_HEAP_ERROR_PRINT | If an error is found in a heap, this outputs the error content using the OS_Printf() function. |
This function is used for debugging. The final ROM version (FINALROM
) does not do anything and always returns TRUE
.
2004/10/28 Added description of the final ROM limitations.
2004/08/20 Initial version.
CONFIDENTIAL