1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<LINK rel="stylesheet" href="../../CSS/revolution.css" type="text/css"> 8<TITLE>OSSetSaveRegion</TITLE> 9</HEAD> 10<BODY> 11<H1>OSSetSaveRegion</H1> 12<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <revolution/os.h></CODE></PRE> 16 <DD> 17<PRE><CODE>void OSSetSaveRegion( void* start, void* end );</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<TABLE border="1" cellpadding="3" cellspacing="0.1"> 21 <TBODY> 22 <TR> 23<TD width="120" bgcolor="#ffffe8"><I><B><CODE>start</CODE></B></I></TD> 24<TD width="520">Start address of the uncleared region when the system was started using <CODE><A href="OSExec.html">OSExecl</A></CODE> or <CODE><A href="OSExec.html">OSExecv</A></CODE>. Must be above address 0x8070_0000 or NULL.</TD> 25 </TR> 26 <TR> 27<TD width="120" bgcolor="#ffffe8"><I><B><CODE>end</CODE></B></I></TD> 28<TD width="520">End address of the uncleared region plus 1 when the system was started using <CODE><A href="OSExec.html">OSExecl</A></CODE>, or <CODE><A href="OSExec.html">OSExecv</A></CODE>. Must be below address 0x8120_0000 or NULL.</TD> 29 </TR> 30 </TBODY> 31</TABLE> 32<H2>Return Values</H2> 33<P>None.</P> 34<H2>Description</H2> 35<P>Set the area that should not be cleared by <a href="../Init/OSInit.html"><code>OSInit</code></a> after <code><a href="OSExec.html">OSExecl</a></code>/<code><a href="OSExec.html">OSExecv</a></code>. By default, <a href="../Init/OSInit.html"><code>OSInit</code></a> clears all the arena, but if you call this function, you can leave [<i><code>start</code></i>, <i><code>end</code></i>) uncleared. Note that this function operates on only <a href="../Init/OSInit.html"><code>OSInit</code></a> after <code><a href="OSExec.html">OSExecl</a></code>/<code><a href="OSExec.html">OSExecv</a></code>.</P> 36<P>[<i><code>start</code></i>, <i><code>end</code></i>) must be included in the area [0x8070_0000, 0x8120_0000) (i.e., <i><code>start</code></i> must be larger than or equal to 0x8070_0000 and <i><code>end</code></i> must be smaller than or equal to 0x8120_0000). If NULLs are specified, the default action will be taken, i.e., <a href="../Init/OSInit.html"><code>OSInit</code></a> will clear the arena.</P> 37 38<H2>See Also</H2> 39<P><CODE><A href="OSExec.html">OSExecl</A></CODE>/<CODE><A href="OSExec.html">OSExecv</A><BR> <A href="OSGetSaveRegion.html">OSGetSaveRegion</A><BR> <A href="OSGetSavedRegion.html">OSGetSavedRegion</A></CODE></P> 40<H2>Revision History</H2> 41<P>03/01/2006 Initial version.</P> 42</BODY> 43</HTML>