OSGetPhysicalMem2Size

Syntax

#include <revolution/os.h>

u32 OSGetPhysicalMem2Size(void);

Arguments

None.

Return Values

Returns the size of external main memory. 64 MB (0x04000000) or 128 MB (0x08000000).

Description

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).

See Also

OSGetPhysicalMem1Size, OSGetConsoleSimulatedMem1Size, OSGetConsoleSimulatedMem2Size

Revision History

2006/03/01 Initial version.


CONFIDENTIAL