Manager: Memory Management Utilities



While Carbon will support most of the Memory Management Utilities, there are changes to functions that assume a 68K runtime environment.

* Functions that flush caches on 68K processors (such as FlushInstructionCache, FlushDataCache, and FlushCodeCacheRange) will no longer be supported.

* Functions such as SetA5 or SetCurrentA5 will do nothing when running in Mac OS X. However, these functions should work normally when running in Mac OS 8.

* The functions GetMMUMode and SwapMMUMode will not be supported because all PowerPC applications use 32-bit addressing, even if they are not Carbon­compliant.

* The SysEnvirons function will no longer be supported since the Gestalt Manager can provide the same information. You should call the functions FindFolder and Gestalt instead.

Supported  CallDeferredTaskProc

Supported  DeferredTaskProcPtr

Supported  Delay

Supported  Dequeue

Supported  DisposeDeferredTaskUPP

Supported  DTInstall

Supported  Enqueue

Unsupported  FlushCodeCache

68K-specific.

Unsupported  FlushCodeCacheRange

68K-specific.

Unsupported  FlushDataCache

68K-specific.

Unsupported  FlushInstructionCache

68K-specific. Use MakeDataExecutable on PowerPC machines.

Unsupported  GetMMUMode

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

Supported  GetSysPPtr

Supported  InitUtil

Supported  InvokeDeferredTaskUPP

Supported  IsMetric

Supported  MakeDataExecutable

Supported  NewDeferredTaskProc

Supported  NewDeferredTaskUPP

Supported  ReadLocation

Supported  SetA5

68K-specific. Does nothing in PowerPC native code.

Supported  SetCurrentA5

68K-specific. Does nothing in PowerPC native code.

Supported  SwapDataCache

Supported  SwapInstructionCache

Supported  SwapMMUMode

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

Unsupported  SysEnvirons

Uses working directories. Use FindFolder and Gestalt instead.

Supported  WriteLocation

Supported  WriteParam

[Table of Contents] [Manager Index] [Function Index]

Generated on: 7/7/99. Copyright 1999 Apple Computer, Inc. All rights reserved.