Manager: Memory Management Utilities
While Carbon supports 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) are no longer supported.
- * Functions such as SetA5 or SetCurrentA5 do nothing when running in Mac OS X. However, these functions should work normally when running in Mac OS 8 or 9.
- * The functions GetMMUMode and SwapMMUMode are not supported because all PowerPC applications use 32-bit addressing, even if they are not Carbon-compliant.
- * The SysEnvirons function is no longer supported since the Gestalt Manager can provide the same information. You should call the functions FindFolder and Gestalt instead.
CSCopyMachineName
Available in CarbonLib 1.5 and later. Available in Mac OS X 10.0 and later.
CSCopyUserName
Available in CarbonLib 1.5 and later. Available in Mac OS X 10.0 and later.
Delay
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
Dequeue
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
DisposeDeferredTaskUPP
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.
DTInstall
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
Enqueue
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
FlushCodeCache
68K-specific.
FlushCodeCacheRange
68K-specific. Not available in CarbonLib. Not available in Mac OS X.
FlushDataCache
68K-specific.
FlushInstructionCache
68K-specific. Use MakeDataExecutable on PowerPC machines.
GetMMUMode
Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.
GetSysPPtr
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
InitUtil
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
InvokeDeferredTaskUPP
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.
IsMetric
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
MakeDataExecutable
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
NewDeferredTaskUPP
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.
ReadLocation
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
SetA5
68K-specific. Does nothing in PowerPC native code. Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
SetCurrentA5
68K-specific. Does nothing in PowerPC native code. Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
SwapDataCache
SwapInstructionCache
SwapMMUMode
Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.
SysEnvirons
Uses working directories. Use FindFolder and Gestalt instead. Not available in CarbonLib. Not available in Mac OS X.
TickCount
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
WriteLocation
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
WriteParam
Available in CarbonLib 1.0 and later when running Mac OS 8.1 or later. Available in Mac OS X 10.0 and later.
[Table of Contents] [Manager Index] [Function Index]
Generated on: 12/12/2001. Copyright © 1999-2001 Apple Computer, Inc. All rights reserved.