![]() |
RoutineRecord |
Header: MixedMode.h |
struct RoutineRecord { ProcInfoType procInfo; SInt8 reserved1; ISAType ISA; RoutineFlagsType routineFlags; ProcPtr procDescriptor; UInt32 reserved2; UInt32 selector; }; typedef RoutineRecord RoutineRecordPtr;
A value of type ProcInfoType that encodes essential information about the routines calling conventions and parameters. See
Reserved. This field must be 0.
The instruction set architecture of the routine. See
A value of type RoutineFlagsType that contains a set of flags describing the routine. See
A pointer to the routines code. If the routine consists of 680x0 code and the kProcDescriptorIsAbsolute flag is set in the routineFlags field, then this field contains the address of the routines entry point. If the routine consists of 680x0 code and the kProcDescriptorIsRelative flag is set, then this field contains the offset from the beginning of the routine descriptor to the routines entry point. If the routine consists of PowerPC code, the kFragmentIsPrepared flag is set, and the kProcDescriptorIsAbsolute flag is set, then this field contains the address of the routines transition vector. If the routine consists of PowerPC code, the kFragmentNeedsPreparing flag is set, and the kProcDescriptorIsRelative flag is set, then this field contains the offset from the beginning of the routine descriptor to the routines entry point.
Reserved. This field must be 0.
Reserved. This field must be 0. For routines that are dispatched, this field contains the routine selector.
A routine record is a data structure that contains information about a particular routine. The routine descriptor specifies, among other things, the instruction set architecture of the routine, the number and size of the routines parameters, the routines calling conventions, and the routines location in memory. At least one routine record is contained in the routineRecords field of a routine descriptor. A routine record is defined by the RoutineRecord data type.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)