NNS_FndCheckExpHeap

Syntax

#include <nnsys/fnd.h>
BOOL  NNS_FndCheckExpHeap(
          NNSFndHeapHandle    heap,
          u32                 optFlag);

Arguments

heap Extended heap handle
optFlag The check option (see below for more details).

Return Values

Returns TRUE if no errors are found in the extended heap. Returns FALSE if an error is found.

Description

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.

See Also

NNS_FndCheckForMBlockExpHeap

Revision History

2004/10/28 Added description of the final ROM limitations.
2004/08/20 Initial version.


CONFIDENTIAL