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

linux-user: move generic signal definitions to generic/signal.h

No code change.

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

+87 -50
+2
linux-user/aarch64/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #define TARGET_ARCH_HAS_SETUP_FRAME 23 25 #endif /* AARCH64_TARGET_SIGNAL_H */
+2
linux-user/arm/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #define TARGET_ARCH_HAS_SETUP_FRAME 23 25 #endif /* ARM_TARGET_SIGNAL_H */
+2
linux-user/cris/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #define TARGET_ARCH_HAS_SETUP_FRAME 23 25 #endif /* CRIS_TARGET_SIGNAL_H */
+57
linux-user/generic/signal.h
··· 1 + /* 2 + * This program is free software; you can redistribute it and/or modify 3 + * it under the terms of the GNU General Public License version 2 as 4 + * published by the Free Software Foundation, or (at your option) any 5 + * later version. See the COPYING file in the top-level directory. 6 + */ 7 + 8 + #ifndef GENERIC_SIGNAL_H 9 + #define GENERIC_SIGNAL_H 10 + 11 + #define TARGET_SA_NOCLDSTOP 0x00000001 12 + #define TARGET_SA_NOCLDWAIT 0x00000002 /* not supported yet */ 13 + #define TARGET_SA_SIGINFO 0x00000004 14 + #define TARGET_SA_ONSTACK 0x08000000 15 + #define TARGET_SA_RESTART 0x10000000 16 + #define TARGET_SA_NODEFER 0x40000000 17 + #define TARGET_SA_RESETHAND 0x80000000 18 + #define TARGET_SA_RESTORER 0x04000000 19 + 20 + #define TARGET_SIGHUP 1 21 + #define TARGET_SIGINT 2 22 + #define TARGET_SIGQUIT 3 23 + #define TARGET_SIGILL 4 24 + #define TARGET_SIGTRAP 5 25 + #define TARGET_SIGABRT 6 26 + #define TARGET_SIGIOT 6 27 + #define TARGET_SIGBUS 7 28 + #define TARGET_SIGFPE 8 29 + #define TARGET_SIGKILL 9 30 + #define TARGET_SIGUSR1 10 31 + #define TARGET_SIGSEGV 11 32 + #define TARGET_SIGUSR2 12 33 + #define TARGET_SIGPIPE 13 34 + #define TARGET_SIGALRM 14 35 + #define TARGET_SIGTERM 15 36 + #define TARGET_SIGSTKFLT 16 37 + #define TARGET_SIGCHLD 17 38 + #define TARGET_SIGCONT 18 39 + #define TARGET_SIGSTOP 19 40 + #define TARGET_SIGTSTP 20 41 + #define TARGET_SIGTTIN 21 42 + #define TARGET_SIGTTOU 22 43 + #define TARGET_SIGURG 23 44 + #define TARGET_SIGXCPU 24 45 + #define TARGET_SIGXFSZ 25 46 + #define TARGET_SIGVTALRM 26 47 + #define TARGET_SIGPROF 27 48 + #define TARGET_SIGWINCH 28 49 + #define TARGET_SIGIO 29 50 + #define TARGET_SIGPWR 30 51 + #define TARGET_SIGSYS 31 52 + #define TARGET_SIGRTMIN 32 53 + 54 + #define TARGET_SIG_BLOCK 0 /* for blocking signals */ 55 + #define TARGET_SIG_UNBLOCK 1 /* for unblocking signals */ 56 + #define TARGET_SIG_SETMASK 2 /* for setting the signal mask */ 57 + #endif
+2
linux-user/i386/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #define TARGET_ARCH_HAS_SETUP_FRAME 23 25 #endif /* I386_TARGET_SIGNAL_H */
+2
linux-user/m68k/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #define TARGET_ARCH_HAS_SETUP_FRAME 23 25 #endif /* M68K_TARGET_SIGNAL_H */
+2
linux-user/microblaze/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #define TARGET_ARCH_HAS_SETUP_FRAME 23 25 #endif /* MICROBLAZE_TARGET_SIGNAL_H */
+2
linux-user/nios2/target_signal.h
··· 16 16 #define TARGET_MINSIGSTKSZ 2048 17 17 #define TARGET_SIGSTKSZ 8192 18 18 19 + #include "../generic/signal.h" 20 + 19 21 #endif /* TARGET_SIGNAL_H */
+2
linux-user/openrisc/target_signal.h
··· 16 16 #define TARGET_MINSIGSTKSZ 2048 17 17 #define TARGET_SIGSTKSZ 8192 18 18 19 + #include "../generic/signal.h" 20 + 19 21 #endif /* OPENRISC_TARGET_SIGNAL_H */
+2
linux-user/ppc/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #if !defined(TARGET_PPC64) 23 25 #define TARGET_ARCH_HAS_SETUP_FRAME 24 26 #endif
+2
linux-user/riscv/target_signal.h
··· 13 13 #define TARGET_MINSIGSTKSZ 2048 14 14 #define TARGET_SIGSTKSZ 8192 15 15 16 + #include "../generic/signal.h" 17 + 16 18 #endif /* TARGET_SIGNAL_H */
+2
linux-user/s390x/target_signal.h
··· 16 16 #define TARGET_MINSIGSTKSZ 2048 17 17 #define TARGET_SIGSTKSZ 8192 18 18 19 + #include "../generic/signal.h" 20 + 19 21 #define TARGET_ARCH_HAS_SETUP_FRAME 20 22 #endif /* S390X_TARGET_SIGNAL_H */
+2
linux-user/sh4/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #define TARGET_ARCH_HAS_SETUP_FRAME 23 25 #endif /* SH4_TARGET_SIGNAL_H */
-50
linux-user/syscall_defs.h
··· 471 471 #define TARGET_SA_NODEFER 0x00000020 472 472 #define TARGET_SA_RESTART 0x00000040 473 473 #define TARGET_SA_NOCLDWAIT 0x00000080 474 - #else 475 - #define TARGET_SA_NOCLDSTOP 0x00000001 476 - #define TARGET_SA_NOCLDWAIT 0x00000002 /* not supported yet */ 477 - #define TARGET_SA_SIGINFO 0x00000004 478 - #define TARGET_SA_ONSTACK 0x08000000 479 - #define TARGET_SA_RESTART 0x10000000 480 - #define TARGET_SA_NODEFER 0x40000000 481 - #define TARGET_SA_RESETHAND 0x80000000 482 - #define TARGET_SA_RESTORER 0x04000000 483 474 #endif 484 475 485 476 #include "target_signal.h" ··· 649 640 #define TARGET_SIG_BLOCK 0 650 641 #define TARGET_SIG_UNBLOCK 1 651 642 #define TARGET_SIG_SETMASK 2 652 - 653 - #else 654 - 655 - /* OpenRISC Using the general signals */ 656 - #define TARGET_SIGHUP 1 657 - #define TARGET_SIGINT 2 658 - #define TARGET_SIGQUIT 3 659 - #define TARGET_SIGILL 4 660 - #define TARGET_SIGTRAP 5 661 - #define TARGET_SIGABRT 6 662 - #define TARGET_SIGIOT 6 663 - #define TARGET_SIGBUS 7 664 - #define TARGET_SIGFPE 8 665 - #define TARGET_SIGKILL 9 666 - #define TARGET_SIGUSR1 10 667 - #define TARGET_SIGSEGV 11 668 - #define TARGET_SIGUSR2 12 669 - #define TARGET_SIGPIPE 13 670 - #define TARGET_SIGALRM 14 671 - #define TARGET_SIGTERM 15 672 - #define TARGET_SIGSTKFLT 16 673 - #define TARGET_SIGCHLD 17 674 - #define TARGET_SIGCONT 18 675 - #define TARGET_SIGSTOP 19 676 - #define TARGET_SIGTSTP 20 677 - #define TARGET_SIGTTIN 21 678 - #define TARGET_SIGTTOU 22 679 - #define TARGET_SIGURG 23 680 - #define TARGET_SIGXCPU 24 681 - #define TARGET_SIGXFSZ 25 682 - #define TARGET_SIGVTALRM 26 683 - #define TARGET_SIGPROF 27 684 - #define TARGET_SIGWINCH 28 685 - #define TARGET_SIGIO 29 686 - #define TARGET_SIGPWR 30 687 - #define TARGET_SIGSYS 31 688 - #define TARGET_SIGRTMIN 32 689 - 690 - #define TARGET_SIG_BLOCK 0 /* for blocking signals */ 691 - #define TARGET_SIG_UNBLOCK 1 /* for unblocking signals */ 692 - #define TARGET_SIG_SETMASK 2 /* for setting the signal mask */ 693 643 694 644 #endif 695 645
+2
linux-user/tilegx/target_signal.h
··· 18 18 #define TARGET_MINSIGSTKSZ 2048 19 19 #define TARGET_SIGSTKSZ 8192 20 20 21 + #include "../generic/signal.h" 22 + 21 23 #endif /* TILEGX_TARGET_SIGNAL_H */
+2
linux-user/x86_64/target_signal.h
··· 19 19 #define TARGET_MINSIGSTKSZ 2048 20 20 #define TARGET_SIGSTKSZ 8192 21 21 22 + #include "../generic/signal.h" 23 + 22 24 #endif /* X86_64_TARGET_SIGNAL_H */
+2
linux-user/xtensa/target_signal.h
··· 18 18 #define TARGET_MINSIGSTKSZ 2048 19 19 #define TARGET_SIGSTKSZ 8192 20 20 21 + #include "../generic/signal.h" 22 + 21 23 #endif