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<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/os.h> 18 19u32 OSGetPhysicalMem2Size(void); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<p>None.</p> 24 25<h2>Return Values</h2> 26<p>Returns the size of external main memory. 64 MB (0x04000000) or 128 MB (0x08000000).</p> 27 28<H2>Description</H2> 29<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> 30 31<h2>See Also</h2> 32<P class="reference"> 33<a href="OSGetPhysicalMem1Size.html">OSGetPhysicalMem1Size</a>, 34<a href="OSGetConsoleSimulatedMem1Size.html">OSGetConsoleSimulatedMem1Size</a>, 35<a href="OSGetConsoleSimulatedMem2Size.html">OSGetConsoleSimulatedMem2Size</a> 36</p> 37 38<H2>Revision History</H2> 39<P> 402006/03/01 Initial version.<br> 41</P> 42 43<hr><p>CONFIDENTIAL</p></body> 44</html>