OSGetSaveRegion

Syntax

#include <revolution/os.h>

void OSGetSaveRegion(void** start, void** end);

Arguments

start Pointer to a pointer that stores the start address of the memory region that will not be cleared the next time OSExecl, OSExecv, or OSRestart is executed.
end Pointer to a pointer that stores the end address + 1 of the memory region that will not be cleared the next time that OSExecl, OSExecv, or OSRestart is executed.

Return Values

None.

Description

Gets the region specified by OSSetSaveRegion. This memory region will be saved the next time OSExecl, OSExecv, or OSRestart is executed. For details about the memory region saved in the most recent OSExecl, OSExecv, or OSRestart, see the OSGetSavedRegion function.

See Also

OSExecl/OSExecv, OSRestart, OSSetSaveRegion, OSGetSavedRegion

Revision History

2008/05/12 Revised explanation.

2006/03/01 Initial version.


CONFIDENTIAL