PatchHeaderStruct:
PRIVATE
TYPE ~
MACHINE
DEPENDENT
RECORD [
This is a translation of the structs declared in patch.h.
size (0:0..7): PatchSize,
relPCMS (0:8..15): RelPCMS,
relPCLS (0:16..31): RelPCLS
];
PatchSize:
TYPE ~
CARDINAL [0..255];
in words!
RelPCMS:
TYPE ~
CARDINAL [firstRelPCMS .. lastRelPCMS];
firstRelPCMS: CARDINAL ~ 0;
lastRelPCMS: CARDINAL ~ 255;
RelPCLS:
TYPE ~
CARDINAL [firstRelPCLS .. lastRelPCLS];
firstRelPCLS: CARDINAL ~ 0;
lastRelPCLS: CARDINAL ~ 65535;
RelPC:
TYPE ~ TargetArchitecture.Displacement;
firstRelPC: INT32 ~ -8388608;
lastRelPC: INT32 ~ +8388607;