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 <!-- �^�C�g���� --> 12 <TITLE>MEMSetFillValForHeap</TITLE> 13 14</HEAD> 15 16 17<BODY> 18 19 20<!-- �^�C�g���� --> 21<H1>MEMSetFillValForHeap</H1> 22 23 24<H2>C Specification</H2> 25<PRE class="construction">#include <revolution/mem.h> 26 27u32 MEMSetFillValForHeap( int type, u32 val ); 28</PRE> 29<H2>Arguments</H2> 30<TABLE border="1"> 31<TR> 32 <TD><code><EM><STRONG>type</STRONG></EM></code></TD> 33 <TD>Type of process that sets the value (see Description below).</TD> 34</TR> 35<TR> 36 <TD><code><EM><STRONG>val</STRONG></EM></code></TD> 37 <TD>32-bit value to set.</TD> 38</TR> 39 </TABLE> 40 41 42<H2>Return Values</H2> 43<P>Returns the value set for filling memory before processing for the specified type.</P> 44<H2>Description</H2> 45<P>This function gets a 32-bit value in memory at the time of heap creation and memory block allocation/deallocation. Different values can be set for each value at the time of heap creation and memory block allocation/deallocation. Specify the type to set with the <STRONG><EM><CODE>type</CODE></EM></STRONG> argument. The <STRONG><EM><CODE>type</CODE></EM></STRONG> argument takes one of the following values:</P> 46<TABLE border="1"> 47 48 <TR> 49<TD><CODE>MEM_HEAP_FILL_NOUSE</CODE></TD> 50<TD>At heap creation.</TD> 51 </TR> 52 <TR> 53<TD><CODE>MEM_HEAP_FILL_ALLOC</CODE></TD> 54<TD>At memory block allocation.</TD> 55 </TR> 56 <TR> 57<TD><CODE>MEM_HEAP_FILL_FREE</CODE></TD> 58<TD>At memory block freeing.</TD> 59 </TR> 60 </TABLE> 61<P>This function is for debugging. Doesn't function in the final ROM version library (<CODE>FINALROM</CODE>).</P> 62<H2>See Also</H2> 63<P class="reference"><A href="MEMGetFillValForHeap.html">MEMGetFillValForHeap</A>, <A href="../ExpHeap/MEMCreateExpHeapEx.html">MEMCreateExpHeapEx</A>, <A href="../FrmHeap/MEMCreateFrmHeapEx.html">MEMCreateFrmHeapEx</A>, <A href="../UnitHeap/MEMCreateUnitHeapEx.html">MEMCreateUnitHeapEx</A></P> 64 65 66<H2>Revision History</H2> 67<P>2006/03/01 Initial version.</P> 68 69 70<hr> 71<P>CONFIDENTIAL</p> 72</BODY> 73</HTML> 74