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>OSEnableCodeExecOnMEM2Lo16MB</title> 10</head> 11 12<body> 13 14<h1>OSEnableCodeExecOnMEM2Lo16MB</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20void OSEnableCodeExecOnMEM2Lo16MB( void ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<p>None.</p> 28 29<H2>Description</H2> 30<P> 31Allows the execution of code located in the first 16MB of external main memory (MEM2 region). 32</P> 33<P> 34The OS prohibits execution of code in the MEM2 region by default. An ISI exception is generated if an attempt is made to execute code in the MEM2 region. This function changes this setting to allow the execution of code in the first 16MB of memory. 35</P> 36<P> 37This function must be executed ahead of time to expand executable code in the MEM2 region using the RSO library, etc. 38</P> 39<P> 40<B>Note:</B>No function is provided for allowing the execution of code in a memory region larger than 16MB. 41</P> 42 43<h2>See Also</h2> 44<P class="reference"> 45<a href="OSDisableCodeExecOnMEM1Hi8MB.html">OSDisableCodeExecOnMEM1Hi8MB</a> 46<a href="OSDisableCodeExecOnMEM1Hi16MB.html">OSDisableCodeExecOnMEM1Hi16MB</a> 47<a href="OSEnableCodeExecOnMEM2Lo8MB.html">OSEnableCodeExecOnMEM2Lo8MB</a> 48</p> 49 50<H2>Revision History</H2> 51<P> 522008/01/17 Initial version.<br> 53</P> 54 55<hr><p>CONFIDENTIAL</p></body> 56</html>