NNS_FndGetFillValForHeap

Syntax

#include <nnsys/fnd.h>
u32 NNS_FndGetFillValForHeap(int type);

Arguments

type Type of process that sets the value (see explanation)

Return Values

Returns the value that fills in the designated memory type.

Description

This function obtains the 32-bit value in memory at the time of heap creation and memory block allocation/deallocation. Different values can be set for each at the time of heap creation and memory block allocation/deallocation. The type that obtains these is designated with the type argument. The type argument can take one of the following values:

NNS_FND_HEAP_FILL_NOUSE Heap creation time
NNS_FND_HEAP_FILL_ALLOC Memory block allocation time
NNS_FND_HEAP_FILL_FREE Memory block deallocation time

This function is used for debugging. It has no functionality in the final ROM version (FINALROM).

See Also

NNS_FndSetFillValForHeap, NNS_FndCreateExpHeapEx, NNS_FndCreateFrmHeapEx, NNS_FndCreateUnitHeapEx

Revision History

2004/04/01 Initial version.


CONFIDENTIAL