2
This file is part of the Free Pascal run time library.
3
Copyright (c) 1999-2000 by Pierre Muller,
4
member of the Free Pascal development team.
6
See the file COPYING.FPC, included in this distribution,
7
for details about the copyright.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
**********************************************************************}
16
{ REMARK: floating point regs are defined as arrays of
17
3 longints; I don't know if C does align this to
18
16 byte boundaries for each element of the array PM }
19
{ If C does we might need to define this as
22
tfpreg = array[0..2] of longint;
26
pcr,psr,fpiaddr : longint;
27
fpreg : array [0..7] of tfpreg;
30
{ as defined in asm_m68k/signal.h }
37
{ SigContextRec corresponds to the ucontext record
38
in linux asm-m68k/ucontext.h include file }
39
PSigContext = ^TSigContext;
42
uc_link : pSigContext;
43
uc_stack : stack_t; { what's that ?? }
44
{ fields from 'version' to 'pc'
45
correspond to the mcontext struct in asm-m68k/ucontext.h file }
46
version : longint; { SigContext version check }
47
{ 18 general registers }
48
d0,d1,d2,d3,d4,d5,d6,d7 : cardinal;
49
a0,a1,a2,a3,a4,a5 : cardinal;
50
fp,sp,ps,pc : cardinal;
51
{ fields from 'pcr' to 'fpreg'
52
are floating point part }
53
pcr,psr,fpiaddr : longint;
54
fpreg : array[0..7] of tfpreg; { how is this aligned ?? }
55
filler : array[0..79] of cardinal;