Carbon


GetMMUMode

Header: OSUtils.h Carbon status: Unsupported

Returns the address-translation mode (24-bit or 32-bit) currently in use.

SInt8 GetMMUMode ();
function result

A constant representing the address-translation mode. See “Constants”.

DISCUSSION

To find out which addressing mode was in effect at system startup, use the Gestalt function.

CARBON NOTES

Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)