OSGetPhysicalMem2Size

C Specification

#include <revolution/os.h>
u32 OSGetPhysicalMem2Size(void);

Arguments

None.

Return Values

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

OSGetPhysicalMem2Size, OSGetConsoleSimulatedMem1Size, OSGetConsoleSimulatedMem2Size

Revision History

03/01/2006 Initial version.