Carbon


SwapMMUMode

Header: OSUtils.h Carbon status: Supported

Changes the address-translation mode from 24-bit to 32- bit or vice versa.

void SwapMMUMode (
    SInt8 *mode
);
mode

The desired address-translation mode. On return, the address translation mode previously in use. See “Constants”. You can restore the previous mode by calling SwapMMUMode again.

SPECIAL CONSIDERATIONS

You might cause a system crash if you switch to 32-bit addressing mode when your application is executing a code resource you loaded into memory while 24-bit mode was in effect.

AVAILABILITY

Supported in Carbon.

CARBON NOTES

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


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