#include <revolution/os.h> void OSDisableCodeExecOnMEM1Hi16MB( void );
None.
None.
Prohibits the execution of code located in the last half (16MB) of internal main memory (MEM1 region).
Use this function when you know ahead of time that code is not located in the last half (16MB) of MEM1 for an application.
Use of this function results in an ISI exception if an attempt is made to execute code in the prohibited region. This behavior prevents the illegal execution of code at an address unexpected by the application.
If you want to prepare your own processing when the ISI exception is generated, be sure to implement it using OSSetErrorHandler.
Note:Even if OSDisableCodeExecOnMEM1Hi8MB is called after calling this function, the size of the region in which execution is prohibited cannot be restored to 8MB.
OSDisableCodeExecOnMEM1Hi8MB OSEnableCodeExecOnMEM2Lo8MB OSEnableCodeExecOnMEM2Lo16MB OSSetErrorHandler
2008/01/17 Initial version.
CONFIDENTIAL