1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3 4<HEAD> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 8 9<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 10 11 <TITLE>MEMGetFillValForHeap</TITLE> 12 13</HEAD> 14 15 16<BODY> 17 18 19<H1>MEMGetFillValForHeap</H1> 20 21<H2>Syntax</H2> 22<DL><DD><PRE class="construction"> 23#include <revolution/mem.h> 24 25u32 MEMGetFillValForHeap( int type ); 26</PRE></DD></DL> 27 28<H2>Arguments</H2> 29<TABLE class="arguments" border="1"> 30 <TR> 31<TH>type</TH> 32<TD>Type of process that sets the value (see Description below)</TD> 33 </TR> 34</TABLE> 35 36<H2>Return Values</H2> 37<P>Returns the value that fills in the designated memory type.</P> 38 39<H2>Description</H2> 40<P>This function obtains the 32-bit value in memory at heap creation and memory block allocation/freeing. Different values can be set at the time of heap creation and memory block allocation and deallocation. Specify the type of value to get with the <SPAN class="argument">type</SPAN> argument. The <SPAN class="argument">type</SPAN> argument takes one of the following values.</P> 41<TABLE class="arguments" border="1"> 42 <TR> 43<TH><CODE>MEM_HEAP_FILL_NOUSE</CODE></TH> 44<TD>At heap creation</TD> 45 </TR> 46 <TR> 47<TH><CODE>MEM_HEAP_FILL_ALLOC</CODE></TH> 48<TD>At memory block allocation</TD> 49 </TR> 50 <TR> 51<TH><CODE>MEM_HEAP_FILL_FREE</CODE></TH> 52<TD>At memory block deallocation</TD> 53 </TR> 54</TABLE> 55<P>This function is for debugging. Doesn't function in the final ROM version library (<CODE>FINALROM</CODE>).</P> 56 57<H2>See Also</H2> 58<P class="reference"> 59<A href="MEMSetFillValForHeap.html">MEMSetFillValForHeap</A>, 60<A href="../ExpHeap/MEMCreateExpHeapEx.html">MEMCreateExpHeapEx</A>, 61<A href="../FrmHeap/MEMCreateFrmHeapEx.html">MEMCreateFrmHeapEx</A>, 62<A href="../UnitHeap/MEMCreateUnitHeapEx.html">MEMCreateUnitHeapEx</A> 63</P> 64 65<H2>Revision History</H2> 66<P> 672006/03/01 Initial version.<BR> 68</P> 69 70<hr><p>CONFIDENTIAL</p></body> 71</HTML> 72