![]() |
ProcInfo Field Offset And Width Constants |
Header: MixedMode.h |
enum { kCallingConventionWidth = 4, kCallingConventionPhase = 0, kCallingConventionMask = 15, kResultSizeWidth = 2, kResultSizePhase = 4, kResultSizeMask = 48, kStackParameterWidth = 2, kStackParameterPhase = 6, kStackParameterMask = -64, kRegisterResultLocationWidth = 5, kRegisterResultLocationPhase = 6, kRegisterParameterWidth = 5, kRegisterParameterPhase = 11, kRegisterParameterMask = 2147481600, kRegisterParameterSizePhase = 0, kRegisterParameterSizeWidth = 2, kRegisterParameterWhichPhase = 2, kRegisterParameterWhichWidth = 3, kDispatchedSelectorSizeWidth = 2, kDispatchedSelectorSizePhase = 6, kDispatchedParameterPhase = 8, kSpecialCaseSelectorWidth = 6, kSpecialCaseSelectorPhase = 4, kSpecialCaseSelectorMask = 1008 };
The number of bits in the procedure information that encode the calling convention information.
The offset from the least significant bit in the procedure information to the calling convention information.
The number of bits in the procedure information that encode the function result size information.
The offset from the least significant bit in the procedure information to the function result size information.
A mask for the bits in the procedure information that encode the function result size information.
The number of bits in the procedure information that encode the size of a stack-based parameter.
The offset from the least significant bit in the procedure information to the stack parameter information.
The number of bits in the procedure information that encode which register the result will be stored in.
The offset from the least significant bit in the procedure information to the result register information.
The number of bits in the procedure information that encode the information about a register-based parameter.
The offset from the least significant bit in the procedure information to the register parameter information.
The offset from the beginning of a register parameter information field to the encoded size of the parameter.
The offset from the beginning of a register parameter information field to the encoded register.
The number of bits in the procedure information that encode the size of a routine-dispatching selector.
The offset from the least significant bit in the procedure information to the selector size information of a routine that is dispatched though a selector.
The offset from the least significant bit in the procedure information to the parameter information of a routine that is dispatched though a selector.
The offsets to fields and the widths of the fields within a value of type ProcInfoType are defined by constants.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)