![]() |
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 );
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.
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.
Supported in Carbon.
Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.