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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.2.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>STD_FillMemory</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">STD_FillMemory<img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16<dl> 17 <dd><PRE><CODE>#include <nitro/std.h> 18 19void* STD_FillMemory(void *destp, u8 data, u32 size);</CODE></PRE> 20<PRE><CODE>void* STD_MemSet(void *destp, u8 data, u32 size); 21</CODE></PRE></dd> 22</dl> 23 24<h2>Arguments</h2> 25<table border="1" width="100%"> 26 <TBODY> 27 <TR> 28 <TD width="13%"><EM><STRONG>destp</STRONG></EM></TD> 29 <TD width="87%">The transfer destination address</TD> 30 </TR> 31 <TR> 32 <TD width="13%"><EM><STRONG>data</STRONG></EM></TD> 33 <TD width="87%">The data that will be transferred</TD> 34 </TR> 35 <TR> 36 <TD><EM><STRONG>size</STRONG></EM></TD> 37 <TD>Transfer size 38 </TD> 39 </TR> 40 </TBODY> 41</table> 42 43<h2>Return Values</h2> 44<p> 45<p>None.</p> 46</p> 47 48<H2>Description</H2> 49<P>This function uses the CPU to fill memory with specified data.</P> 50<p><CODE>STD_MemSet</CODE> is defined as another name for <CODE>STD_FillMemory</CODE>.</p> 51<p>Use <CODE><A href="../../mi/memory/MI_CpuMove.html">MI_CpuFill8</A></CODE>, <CODE><A href="../../mi/memory/MI_CpuMove.html">MI_CpuFill16</A></CODE>, <CODE><A href="../../mi/memory/MI_CpuMove.html">MI_CpuFill32</A></CODE>, or <CODE><A href="../../mi/memory/MI_CpuMove.html">MI_CpuFillFast</A></CODE> to access VRAM.</p> 52 53<h2>See Also</h2> 54<p><CODE><A href="../../mi/memory/MI_CpuFill.html">MI_CpuFill*</A></p> 55 56<H2>Revision History</H2> 57<P> 582008/09/01 Initial version. 59</P> 60<hr><p>CONFIDENTIAL</p></body> 61</html> 62