Instruction Changes 29
For More Information 29
Compiling 64-Bit Code 31
Compiling 64-Bit Code Using GCC 31
New Flags and Features for 64-Bit Architectures 31
Compiling 64-Bit Code Using Xcode 32
Using Architecture-Specific Flags 33
High-Level 64-Bit API Support 35
High-Level API Changes at a Glance 35
Changes to Data Types 35
New/Replaced/Deprecated APIs 36
Technology Area Changes at a Glance 37
Cocoa and Objective-C Application APIs 37
Kernel and I/O Kit APIs 38
QuickTime 38
Carbon 38
Other C Application APIs 39
Cross-Architecture Plug-in Support 40
Choosing a Helper Host Architecture Model 40
Programmatic Function-Call Marshaling 40
Limited Function-Call Marshaling 41
Remote Hosting 42
Using Interprocess Communication 43
Remote Procedure Call APIs 44
Client/Server Messaging APIs 45
Memory Mapping for Bulk Data Transport 49
Launching the Helper Host 52
Performance Optimization 54
Data Structure Bloat 54
Cache-Line Misses 56
Avoiding Unaligned Accesses 57
Kernel Extensions and Drivers 58
Why a 64-bit Kernel? 58
What You Must Do 59
64-Bit Kernel Data Type Changes 60
2012-12-13 | Copyright © 2004, 2012 Apple Inc. All Rights Reserved.
3
Contents
Commentaires sur ces manuels