1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>OSGetPhysicalMem2Size</title>
9</head>
10
11<body>
12
13<h1>OSGetPhysicalMem2Size</h1>
14
15
16<h2>C Specification</h2>
17
18<dl>
19  <dd><pre><code>#include &lt;revolution/os.h&gt;</code></pre>
20  </dd>
21  <dd><pre><code>u32 OSGetPhysicalMem2Size(void);</code></pre>
22  </dd>
23</dl>
24
25<h2>Arguments</h2>
26
27<p>None.</p>
28
29<h2>Return Values</h2>
30
31<p>Size of external main memory. 64 MB (0x04000000) or 128 MB (0x08000000).</p>
32<H2>Description</H2>
33<P>Gets the size of the external main memory (MEM2) that is implemented on the machine. For development machines that have 128 MB of external main memory, the function returns 128 MB (0x08000000). For all other machines (including mass-produced machines), it returns 64 MB (0x04000000). </P>
34
35
36<h2>See Also</h2>
37
38<p>
39<a href="OSGetPhysicalMem2Size.html"><code>OSGetPhysicalMem2Size</code></a>, <a href="OSGetConsoleSimulatedMem1Size.html"><code>OSGetConsoleSimulatedMem1Size</code></a>, <a href="OSGetConsoleSimulatedMem2Size.html"><code>OSGetConsoleSimulatedMem2Size</code></a>
40</p>
41
42<H2>Revision History</H2>
43<P>2006/03/01 Initial version.</P>
44<hr>
45<P>CONFIDENTIAL</p>
46</BODY>
47</HTML>