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="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>OSRoundUp32B</title>
10</head>
11
12<body>
13
14<h1>OSRoundUp32B</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/os.h&gt;
19
20#define OSRoundUp32B(x)       \
21        (((u32)(x) + 32 - 1) &amp; ~(32 - 1))
22</pre></dd></dl>
23
24<h2>Arguments</h2>
25<TABLE class="arguments" border="1" >
26  <tr>
27<TH><STRONG><EM><CODE>x</CODE></EM></STRONG></TH>
28<TD>Pointer or address.</TD>
29  </tr>
30</TABLE>
31
32<h2>Return Values</h2>
33<P>Unsigned 32-bit integer (<code>u32</code>) rounded up to the nearest upper 32-byte boundary.</P>
34
35<H2>Description</H2>
36<P>Rounds up <SPAN class="argument">x</SPAN> to the nearest upper 32-byte boundary.</P>
37
38<h2>See Also</h2>
39<P class="reference">
40<a href="../toc.html#Address Conversion" target="contents">Address Conversion Functions</a>,
41<a href="OSRoundDown32B.html">OSRoundDown32B</a>
42</p>
43
44<H2>Revision History</H2>
45<P>
462006/03/01 Initial version.<br>
47</P>
48
49<hr><p>CONFIDENTIAL</p></body>
50</html>