#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. NULL can also be specified. If NULL is specified, a rough check of the memory block address range and size is performed. |
optFlag | The check option (see below for more details). |
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
.
2004/10/28 Added description of the final ROM limitations.
2004/08/20 Initial version.
CONFIDENTIAL