Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Mac OS Runtime Architectures


Index

Symbol, Number

'cfrg'0 resource. See code fragment resource
'CODE'0 resource [1] [2]
'CODE'6 resource
'rseg'0 resource
'rseg'1 resource [1]
'shlb' file type
32-bit everything [1]
68000 addressing limitations
68K processors
    addressing limitations
    standard registers [1] [2]

A, B

A5 register
    CFM-68K
    classic 68K
A5 world
    A5 relocation information [1] [2]
    classic 68K [1]
    version numbers
A6 frame
A7 register, use in 68K machines
accelerated resources [1]
    compared to other executable resources
    defined
    restrictions on building [1]
addressing limitations, in 68K
aliases to fragments [1] [2]
application transition vectors, in CFM-68K [1] [2]
applications
    CFM-68K file structure [1]
    defined
    launch procedure for CFM-68K runtime [1]

C

C calling conventions
    in CFM-68K [1]
    in classic 68K [1]
    in PowerPC
calling conventions. See routine calling conventions
CFM-68K implementation of CFM-based architecture
    application structure [1]
    checking for availability of
    conventions for [1]
    data types
    indirect addressing [1]
    patching segment loader routines in
    requirements to run
    routine calling conventions [1]
    shared library structure [1]
CFM-68K Runtime Enabler
changing names of newer import libraries
classic 68K code, converting to PowerPC
classic 68K far model environment [1]
    patching segment loader routines in
classic 68K runtime architecture [1]
    A5 world [1]
    conventions for [1]
    data types
    jump table [1]
    routine calling conventions [1]
closure ID, defined
closures [1]
    connection IDs
    defined
    reference count of
Code Fragment Manager
    calling from code [1]
    checking availability of on 68K machines
    fragment preparation process [1]
    import library search path [1]
    import library version checking [1]
code fragment resource
    CFM-68K application [1]
    changing application stack size in
    changing library directory in
    defined [1]
    extended entries [1]
    fat binary files
    multiple fragment entries
    PowerPC application [1]
    shared library [1]
code sections [1] [2]
    See also PEF containers
code segments
    far model modified header [1]
    far model segment relocation information
    size limitations
    standard header
compiler pragmas, to enforce alignment
connection ID, defined
container header, PEF [1]
containers, defined
    See also PEF containers

D

data alignment
    on CFM-68K stack
    on classic 68K stack
    on PowerPC stack
data sections [1] [2]
    See also PEF containers
data types, standard
    CFM-68K
    classic 68K
    PowerPC
data-only fragments [1]
definition stub library [1]
direct calls, in assembly language
direct data area
    defined
    switching in CFM-68K [1]
    switching in PowerPC
drop-in additions. See plug-ins

E

epilog, used with PowerPC stack
error handler routines
    action codes
    See also user handler routines
    used with kRTSetSegLoadErr operation [1]
ExitToShell routine, patching
Expanding global data and the jump table
export hash table, in PEF container
export key table, in PEF container
exported symbol table, in PEF container [1]
exported symbols, getting information about [1]
Extended Common Object File Format (XCOFF)
extensions to the code fragment resource [1]
extensions. See plug-ins
external entry points of CFM-68K routines

F

far model  environment
far model environment
    patching segment loader routines in
    relocation information [1] [2]
    segment header structure [1]
fat applications [1]
fat binaries. See fat programs
fat programs
    applications [1]
    defined [1]
    resources [1]
    safe fat resources
    shared libraries
fat resources [1]
fat shared libraries
file structure
    CFM-68K application [1]
    CFM-68K shared library [1]
    fragments
    See also PEF containers
file type 'shlb'
fixed-argument passing conventions
    CFM-68K [1]
    classic 68K C [1]
    classic 68K Pascal
    PowerPC
fragments
    code section [1] [2]
    data section [1] [2]
    data sharing [1]
    defined
    distinguishing by container rather than by name [1]
    loading from disk
    loading from resource
    multiple listings in 'cfrg'0 resource
    multiple names for the same fragment [1] [2]
    preparing [1] [2]
    referencing versus finding
    storage of [1]
    structure of
frame pointer, 68K
function calling conventions. See routine calling conventions
function value return
    CFM-68K [1]
    classic 68K C
    classic 68K Pascal
    PowerPC [1]

G

Gestalt function
global data world. See direct data area; A5 world
global data, references to in classic 68K
global instantiation of data. See system wide instantiation of data
glue code
    for PowerPC cross-fragment calls
    for PowerPC pointer-based calls

H

hardware, requirements for running CFM-68K programs
hash table entry, for PEF container
hashing exported symbols
hashing functions
    exported symbol count to hash table size
    hash word to hash index
    name to hash word

I

implementation library [1]
Implementation of 32-bit everything
import libraries
    aliasing [1] [2]
    assigning logical library names [1]
    changing library names
    changing to plug-ins
    compared to shared libraries
    defined
    descriptions in PEF containers [1]
    file type of
    initialization order
    maintaining compatibility when modifying [1]
    reexport libraries [1]
    search path to find [1]
    See also shared libraries
    shadow library
    version checking [1]
    weak [1]
imported data, addressing
    in CFM-68K
    in PowerPC
imported routines, addressing [1]
    in CFM-68K [1]
    in PowerPC [1]
imported symbol table, in PEF container [1]
Increasing segment size
Increasing the size of the jump table
indirect addressing
    advantages of [1]
    in PowerPC
    in the CFM-based architecture [1]
initialization functions
initialization order for import libraries
internal entry points of CFM-68K routines
intersegment references [1] [2]
Intra-segment references

J

jump table [1]
    A5 world
    conversion for CFM-68K shared libraries
    entries
    function of
    increasing size of
    references to in classic 68K
    structure in CFM-68K segmented file [1]
jump table entry
    CFM-68K shared library
    classic 68K [1]

K

kRTGetJTAddress operation
kRTGetVersion operation
kRTPostLaunch operation
kRTPreLaunch operation
kRTSetPostLoad operations
kRTSetPreLoad operations
kRTSetPreUnload operations
kRTSetSegLoadErr operations
    using error handler routine with [1]

L

leaf procedure, defined
libraries. See import libraries; shared libraries; shadow libraries
library directory, changing in 'cfrg'0  resource
linkage area, on PowerPC stack
linker, near and far data references in
loader header, PEF [1]
loader section, PEF
loader string table, in PEF container [1]
logical names for import libraries [1]

M

main entry point
main symbol [1] [2]
MakeFlat tool, changes to file structure when flattening [1]
Mixed Mode Manager [1]
    calling CFM-68K code from classic 68K code [1]
    calling classic 68K code from CFM-68K code [1]
    calling emulated classic 68K code from PowerPC code [1]
    calling PowerPC code from emulated classic 68K code [1]
    details of mode switching [1]
mode switching [1]
    CFM-68K code to classic 68K code [1]
    classic 68K code to CFM-68K code [1]
    emulated classic 68K code to PowerPC code [1]
    PowerPC code to emulated classic 68K code [1]
Modified segment header structure
multiple fragment names in 'cfrg'0 resource
multiple fragments with the same name [1]

N

near model segment header
NuRTLib.o library

O

opcodes
    for pattern-initialization [1]
    for relocations [1]

P

parameter area
    in 68K stack
    in PowerPC stack [1] [2]
parameter passing conventions. See routine calling conventions
Pascal calling conventions, for classic 68K [1]
pascal keyword
pattern-initialized data [1] [2]
PEF containers
    container header [1]
    export hash table
    export key table
    exported symbol table [1]
    hash procedure for exported symbols
    hash table entry
    imported library descriptions [1]
    imported symbol table [1]
    indicating weak libraries in
    initialization order for import libraries
    introduced
    loader header [1]
    loader section
    loader string table [1]
    major parts of
    pattern-initialized data [1] [2]
    relocation example [1]
    relocation header [1]
    relocation instructions [1]
    relocation variables
    section contents [1]
    section header [1]
    section name table
    section types [1]
    sections [1]
    size limits
    symbol classes [1]
PEF version numbers, guidelines for import libraries [1]
per-load instantiation. See private connections
per-process instantiation of data
pidata. See pattern-initialized data
plug-ins
    changing from import library
    defined
    See also shared libraries
    using main symbol with [1]
pointer-based function calls
    PowerPC glue code for
    using PowerPC transition vectors for
PowerPC implementation of CFM-based architecture
    conventions for [1]
    data types
    indirect addressing
    routine calling conventions [1]
PowerPC processor, standard registers in [1]
private connections
private resources
process, defined
prolog, used with PowerPC stack

Q

QuickDraw global variables

R

Red Zone, defined
reexport libraries [1]
reference count, defined
register types
    68K processor [1] [2]
    PowerPC processor [1]
registers, CFM-68K environment
    and function value return [1]
    preservation [1]
registers, classic 68K environment
    and function value return
    preservation [1]
registers, PowerPC environment
    and function value return [1]
    and parameter passing
    and saving local variables
    preservation [1]
    saving and restoring values in [1]
    used in indirect calls
relocation headers, in PEF container [1]
relocation instructions, in PEF container [1]
relocation variables, in PEF container
reserved frame slots, in CFM-68K
resources
    'cfrg'0. See code fragment resource
    'CODE'0 [1] [2]
    'CODE'6
    'rseg'0
    'rseg'1 [1]
root fragment, defined
routine calling conventions
    C, for classic 68K [1]
    CFM-68K [1]
    fixed arguments
      CFM-68K [1]
      classic 68K C [1]
      classic 68K Pascal
      PowerPC
    function value return
      CFM-68K [1]
      classic 68K C
      classic 68K Pascal
      PowerPC [1]
    parameter deallocation
      in CFM-68K [1]
      in classic 68K C
      in classic 68K Pascal
      in PowerPC
    parameter passing
      in CFM-68K [1]
      in classic 68K [1]
      PowerPC
    Pascal, for classic 68K [1]
    PowerPC [1]
    register preservation
      CFM-68K [1]
      classic 68K [1]
      PowerPC [1]
    stack alignment
      CFM-68K
      classic 68K
      PowerPC
    stack frames
      CFM-68K
      classic 68K
      PowerPC
    variable arguments
      CFM-68K
      classic 68K C [1]
      PowerPC
routine descriptors
    defined
    used in accelerated resources [1]
    used with universal procedure pointers
RTLib patch example
RTLib.o library
RTState data structure [1]
Runtime RTLib routine [1]
    error return values
    operations [1]

S

safe fat resources. See fat programs
search path for import libraries [1]
section contents, PEF [1]
section header, PEF [1]
section name table in PEF container
section types, PEF [1]
sections, PEF [1]
segment header structure [1]
segment loader routines, patching
segment relocation information for far model [1] [2]
segmentation, in classic 68K applications [1]
shadow libraries
shared libraries
    benefits of
    file structure in CFM-68K [1]
    forms of
    introduced [1]
    See also import libraries; plug-ins
shared library transition vectors, conversion by MakeFlat [1]
size limits, of PEF containers
soft imports [1]
special symbols in the CFM-based architecture [1]
stack alignment
    CFM-68K
    classic 68K
    PowerPC
stack frames
    CFM-68K
    classic 68K
    PowerPC
stack pointer
    68K, defined
    PowerPC, defined
stack size, changing in 'cfrg'0 resource
stack structure
    68K [1]
    PowerPC [1]
      epilog
      leaf procedure
      linkage area
      parameter area
      prolog
      Red Zone
standard data types
    CFM-68K
    classic 68K
    PowerPC
standard registers
    68K processor [1] [2]
    PowerPC processor [1]
stub libraries
switch frame
    CFM-68K code to classic 68K code [1]
    classic 68K code to CFM-68K code [1]
    emulated classic 68K code to PowerPC code [1]
    PowerPC code to emulated classic 68K code [1]
switching global data worlds. See direct data area
symbol classes, PEF [1]
symbol, main [1] [2]
syntax conventions [1]
system wide instantiation of data [1] [2]

T

target computer, requirements for CFM-68K
termination routines
transition vectors
    defined
    in CFM-68K
    in PowerPC
    structure for CFM-68K application [1]
    structure for CFM-68K shared library [1]

U

universal procedure pointers
user handler routines [1]

V

variable-argument passing conventions
    CFM-68K
    classic 68K C [1]
    PowerPC
version checking for import libraries [1]

W

weak libraries [1]
    during fragment preparation
    indicating in PEF containers
weak symbols [1]
    and PEF versioning
    and version checking
    during fragment preparation

X, Y, Z

XCOFF containers

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997