#include <nnsys/fnd.h>
u32 NNS_FndSetFillValForHeap(int type, u32 val);
type |
Type of process that sets the value |
val |
The value to be set (32-bit) |
Returns the value filled in the designated memory type that was previously set.
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).
NNS_FndGetFillValForHeap, NNS_FndCreateExpHeapEx, NNS_FndCreateFrmHeapEx, NNS_FndCreateUnitHeapEx
2004/04/01 Initial version.
CONFIDENTIAL