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>MEMSetFillValForHeap</TITLE>
12
13</HEAD>
14
15
16<BODY>
17
18
19<H1>MEMSetFillValForHeap</H1>
20
21<H2>Syntax</H2>
22<DL><DD><PRE class="construction">
23#include &lt;revolution/mem.h&gt;
24
25u32 MEMSetFillValForHeap( int type, u32 val );
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  <TR>
35<TH>val</TH>
36<TD>32-bit value to set.</TD>
37  </TR>
38</TABLE>
39
40<H2>Return Values</H2>
41<P>Returns the value set for filling memory before processing for the specified type.</P>
42
43<H2>Description</H2>
44<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 at the time of heap creation and memory block allocation/deallocation. Specify the type of value to set with the <SPAN class="argument">type</SPAN> argument. The <SPAN class="argument">type</SPAN> argument takes one of the following values.</P>
45<TABLE class="arguments" border="1">
46  <TR>
47<TH><CODE>MEM_HEAP_FILL_NOUSE</CODE></TH>
48<TD>At heap creation</TD>
49  </TR>
50  <TR>
51<TH><CODE>MEM_HEAP_FILL_ALLOC</CODE></TH>
52<TD>At memory block allocation</TD>
53  </TR>
54  <TR>
55<TH><CODE>MEM_HEAP_FILL_FREE</CODE></TH>
56<TD>At memory block deallocation</TD>
57  </TR>
58</TABLE>
59<P>This function is for debugging. Doesn't function in the final ROM version library (<CODE>FINALROM</CODE>).</P>
60
61<H2>See Also</H2>
62<P class="reference">
63<A href="MEMGetFillValForHeap.html">MEMGetFillValForHeap</A>,
64<A href="../ExpHeap/MEMCreateExpHeapEx.html">MEMCreateExpHeapEx</A>,
65<A href="../FrmHeap/MEMCreateFrmHeapEx.html">MEMCreateFrmHeapEx</A>,
66<A href="../UnitHeap/MEMCreateUnitHeapEx.html">MEMCreateUnitHeapEx</A>
67</P>
68
69<H2>Revision History</H2>
70<P>
712006/03/01 Initial version.<BR>
72</P>
73
74<hr><p>CONFIDENTIAL</p></body>
75</HTML>
76