#include <revolution/os.h>
void OSSetSaveRegion( void* start, void* end );
start |
Start address of the uncleared region when the system was started using OSExecl or OSExecv. Must be above address 0x8070_0000 or NULL. |
end |
End address of the uncleared region plus 1 when the system was started using OSExecl, or OSExecv. Must be below address 0x8120_0000 or NULL. |
None.
Set the area that should not be cleared by OSInit after OSExecl/OSExecv. By default, OSInit clears all the arena, but if you call this function, you can leave [start, end) uncleared. Note that this function operates on only OSInit after OSExecl/OSExecv.
[start, end) must be included in the area [0x8070_0000, 0x8120_0000) (i.e., start must be larger than or equal to 0x8070_0000 and end must be smaller than or equal to 0x8120_0000). If NULLs are specified, the default action will be taken, i.e., OSInit will clear the arena.
OSExecl/OSExecv
OSGetSaveRegion
OSGetSavedRegion
03/01/2006 Initial version.