#include <nnsys/fnd.h>
BOOL NNS_FndCheckForMBlockExpHeap( const void* memBlock , NNSFndHeapHandle heap, u32 optFlag );
| memBlock | A pointer to the memory block to be checked. |
| heap | Extended Heap Handle. If NULL is specified, it does a rough check of the memory block address range and size. |
| optFlag | The check option (see the Description section). |
Returns TRUE if no errors are found in the extended heap memory block. Returns FALSE if an error is found.
Checks whether a memory block in the extended heap is corrupted. Specifically, it checks whether the management region for a memory block in the extended heap is normal.
The optFlag specifies the check options.
| NNS_FND_HEAP_ERROR_PRINT | If a memory block error is found, 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.
10/28/2004 Added description of the final ROM limitations
08/20/2004 Initial version.
CONFIDENTIAL