qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

linux-user: move alpha signal definitions to alpha/target_signal.h

No code change.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180529194207.31503-14-laurent@vivier.eu>

+47 -49
+45
linux-user/alpha/target_signal.h
··· 1 1 #ifndef ALPHA_TARGET_SIGNAL_H 2 2 #define ALPHA_TARGET_SIGNAL_H 3 3 4 + #define TARGET_SIGHUP 1 5 + #define TARGET_SIGINT 2 6 + #define TARGET_SIGQUIT 3 7 + #define TARGET_SIGILL 4 8 + #define TARGET_SIGTRAP 5 9 + #define TARGET_SIGABRT 6 10 + #define TARGET_SIGSTKFLT 7 /* actually SIGEMT */ 11 + #define TARGET_SIGFPE 8 12 + #define TARGET_SIGKILL 9 13 + #define TARGET_SIGBUS 10 14 + #define TARGET_SIGSEGV 11 15 + #define TARGET_SIGSYS 12 16 + #define TARGET_SIGPIPE 13 17 + #define TARGET_SIGALRM 14 18 + #define TARGET_SIGTERM 15 19 + #define TARGET_SIGURG 16 20 + #define TARGET_SIGSTOP 17 21 + #define TARGET_SIGTSTP 18 22 + #define TARGET_SIGCONT 19 23 + #define TARGET_SIGCHLD 20 24 + #define TARGET_SIGTTIN 21 25 + #define TARGET_SIGTTOU 22 26 + #define TARGET_SIGIO 23 27 + #define TARGET_SIGXCPU 24 28 + #define TARGET_SIGXFSZ 25 29 + #define TARGET_SIGVTALRM 26 30 + #define TARGET_SIGPROF 27 31 + #define TARGET_SIGWINCH 28 32 + #define TARGET_SIGPWR 29 /* actually SIGINFO */ 33 + #define TARGET_SIGUSR1 30 34 + #define TARGET_SIGUSR2 31 35 + #define TARGET_SIGRTMIN 32 36 + 37 + #define TARGET_SIG_BLOCK 1 38 + #define TARGET_SIG_UNBLOCK 2 39 + #define TARGET_SIG_SETMASK 3 40 + 4 41 /* this struct defines a stack used during syscall handling */ 5 42 6 43 typedef struct target_sigaltstack { ··· 16 53 */ 17 54 #define TARGET_SS_ONSTACK 1 18 55 #define TARGET_SS_DISABLE 2 56 + 57 + #define TARGET_SA_ONSTACK 0x00000001 58 + #define TARGET_SA_RESTART 0x00000002 59 + #define TARGET_SA_NOCLDSTOP 0x00000004 60 + #define TARGET_SA_NODEFER 0x00000008 61 + #define TARGET_SA_RESETHAND 0x00000010 62 + #define TARGET_SA_NOCLDWAIT 0x00000020 /* not supported yet */ 63 + #define TARGET_SA_SIGINFO 0x00000040 19 64 20 65 #define TARGET_MINSIGSTKSZ 4096 21 66 #define TARGET_SIGSTKSZ 16384
+2 -49
linux-user/syscall_defs.h
··· 426 426 || defined(TARGET_TILEGX) || defined(TARGET_HPPA) || defined(TARGET_NIOS2) \ 427 427 || defined(TARGET_RISCV) || defined(TARGET_XTENSA) 428 428 429 - #if defined(TARGET_ALPHA) 430 - #define TARGET_SA_ONSTACK 0x00000001 431 - #define TARGET_SA_RESTART 0x00000002 432 - #define TARGET_SA_NOCLDSTOP 0x00000004 433 - #define TARGET_SA_NODEFER 0x00000008 434 - #define TARGET_SA_RESETHAND 0x00000010 435 - #define TARGET_SA_NOCLDWAIT 0x00000020 /* not supported yet */ 436 - #define TARGET_SA_SIGINFO 0x00000040 437 - #elif defined(TARGET_HPPA) 429 + #if defined(TARGET_HPPA) 438 430 #define TARGET_SA_ONSTACK 0x00000001 439 431 #define TARGET_SA_RESETHAND 0x00000004 440 432 #define TARGET_SA_NOCLDSTOP 0x00000008 ··· 450 442 #define TARGET_ARCH_HAS_SA_RESTORER 1 451 443 #endif 452 444 453 - #if defined(TARGET_ALPHA) 454 - 455 - #define TARGET_SIGHUP 1 456 - #define TARGET_SIGINT 2 457 - #define TARGET_SIGQUIT 3 458 - #define TARGET_SIGILL 4 459 - #define TARGET_SIGTRAP 5 460 - #define TARGET_SIGABRT 6 461 - #define TARGET_SIGSTKFLT 7 /* actually SIGEMT */ 462 - #define TARGET_SIGFPE 8 463 - #define TARGET_SIGKILL 9 464 - #define TARGET_SIGBUS 10 465 - #define TARGET_SIGSEGV 11 466 - #define TARGET_SIGSYS 12 467 - #define TARGET_SIGPIPE 13 468 - #define TARGET_SIGALRM 14 469 - #define TARGET_SIGTERM 15 470 - #define TARGET_SIGURG 16 471 - #define TARGET_SIGSTOP 17 472 - #define TARGET_SIGTSTP 18 473 - #define TARGET_SIGCONT 19 474 - #define TARGET_SIGCHLD 20 475 - #define TARGET_SIGTTIN 21 476 - #define TARGET_SIGTTOU 22 477 - #define TARGET_SIGIO 23 478 - #define TARGET_SIGXCPU 24 479 - #define TARGET_SIGXFSZ 25 480 - #define TARGET_SIGVTALRM 26 481 - #define TARGET_SIGPROF 27 482 - #define TARGET_SIGWINCH 28 483 - #define TARGET_SIGPWR 29 /* actually SIGINFO */ 484 - #define TARGET_SIGUSR1 30 485 - #define TARGET_SIGUSR2 31 486 - #define TARGET_SIGRTMIN 32 487 - 488 - #define TARGET_SIG_BLOCK 1 489 - #define TARGET_SIG_UNBLOCK 2 490 - #define TARGET_SIG_SETMASK 3 491 - 492 - #elif defined(TARGET_HPPA) 445 + #if defined(TARGET_HPPA) 493 446 494 447 #define TARGET_SIGHUP 1 495 448 #define TARGET_SIGINT 2