mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 14:09:59 +02:00
* Fix SIGXXX constants for mips CPU
git-svn-id: trunk@21709 -
This commit is contained in:
parent
48597c64ee
commit
022d842b06
@ -28,14 +28,20 @@ Const
|
||||
SIG_UNBLOCK = 2;
|
||||
SIG_SETMASK = 4;
|
||||
{$else CPUSPARC}
|
||||
{$if defined(cpumips) or defined(cpumipsel)}
|
||||
{$ifdef CPUMIPS}
|
||||
SA_NOCLDSTOP = 1;
|
||||
SA_NOCLDWAIT = $10000;
|
||||
SA_SIGINFO = 8;
|
||||
SIG_BLOCK = 1;
|
||||
SIG_UNBLOCK = 2;
|
||||
SIG_SETMASK = 3;
|
||||
{$else CPUMIPS}
|
||||
SA_NOCLDSTOP = 1;
|
||||
SA_NOCLDWAIT = 2;
|
||||
SA_SIGINFO = 4;
|
||||
SIG_BLOCK = 0;
|
||||
SIG_UNBLOCK = 1;
|
||||
SIG_SETMASK = 2;
|
||||
{$endif CPUMIPS}
|
||||
SA_RESTORER = $04000000;
|
||||
SA_ONSTACK = $08000000;
|
||||
@ -47,16 +53,13 @@ Const
|
||||
SA_NOMASK = SA_NODEFER;
|
||||
SA_ONESHOT = SA_RESETHAND;
|
||||
|
||||
SIG_BLOCK = 0;
|
||||
SIG_UNBLOCK = 1;
|
||||
SIG_SETMASK = 2;
|
||||
{$endif CPUSPARC}
|
||||
|
||||
SIG_DFL = 0 ;
|
||||
SIG_IGN = 1 ;
|
||||
SIG_ERR = -1 ;
|
||||
|
||||
{$ifdef cpusparc}
|
||||
{$ifdef CPUSPARC}
|
||||
SIGHUP = 1;
|
||||
SIGINT = 2;
|
||||
SIGQUIT = 3;
|
||||
@ -99,15 +102,37 @@ Const
|
||||
SIGTRAP = 5;
|
||||
SIGABRT = 6;
|
||||
SIGIOT = 6;
|
||||
SIGBUS = 7;
|
||||
SIGFPE = 8;
|
||||
SIGKILL = 9;
|
||||
SIGUSR1 = 10;
|
||||
SIGSEGV = 11;
|
||||
SIGUSR2 = 12;
|
||||
SIGPIPE = 13;
|
||||
SIGALRM = 14;
|
||||
SIGTerm = 15;
|
||||
SIGTERM = 15;
|
||||
{$ifdef CPUMIPS}
|
||||
SIGEMT = 7;
|
||||
SIGBUS = 10;
|
||||
SIGSYS = 12;
|
||||
SIGUSR1 = 16;
|
||||
SIGUSR2 = 17;
|
||||
SIGCHLD = 18;
|
||||
SIGPWR = 19;
|
||||
SIGWINCH = 20;
|
||||
SIGURG = 21;
|
||||
SIGIO = 22;
|
||||
SIGPOLL = 22;
|
||||
SIGSTOP = 23;
|
||||
SIGTSTP = 24;
|
||||
SIGCONT = 25;
|
||||
SIGTTIN = 26;
|
||||
SIGTTOU = 27;
|
||||
SIGVTALRM = 28;
|
||||
SIGPROF = 29;
|
||||
SIGXCPU = 30;
|
||||
SIGXFSZ = 31;
|
||||
{$else not CPUMIPS}
|
||||
SIGBUS = 7;
|
||||
SIGUSR1 = 10;
|
||||
SIGUSR2 = 12;
|
||||
SIGSTKFLT = 16;
|
||||
SIGCHLD = 17;
|
||||
SIGCONT = 18;
|
||||
@ -125,6 +150,7 @@ Const
|
||||
SIGPOLL = SIGIO;
|
||||
SIGPWR = 30;
|
||||
SIGUNUSED = 31;
|
||||
{$endif not CPUMIPS}
|
||||
{$endif cpusparc}
|
||||
|
||||
{ si_code field values for tsiginfo.si_code when si_signo = SIGFPE }
|
||||
|
Loading…
Reference in New Issue
Block a user