xref: /openbmc/qemu/include/exec/poison.h (revision 6c301485)
1 /* Poison identifiers that should not be used when building
2    target independent device code.  */
3 
4 #ifndef HW_POISON_H
5 #define HW_POISON_H
6 
7 #include "config-poison.h"
8 
9 #pragma GCC poison TARGET_I386
10 #pragma GCC poison TARGET_X86_64
11 #pragma GCC poison TARGET_AARCH64
12 #pragma GCC poison TARGET_ALPHA
13 #pragma GCC poison TARGET_ARM
14 #pragma GCC poison TARGET_CRIS
15 #pragma GCC poison TARGET_HEXAGON
16 #pragma GCC poison TARGET_HPPA
17 #pragma GCC poison TARGET_LOONGARCH64
18 #pragma GCC poison TARGET_M68K
19 #pragma GCC poison TARGET_MICROBLAZE
20 #pragma GCC poison TARGET_MIPS
21 #pragma GCC poison TARGET_ABI_MIPSN32
22 #pragma GCC poison TARGET_ABI_MIPSO32
23 #pragma GCC poison TARGET_MIPS64
24 #pragma GCC poison TARGET_ABI_MIPSN64
25 #pragma GCC poison TARGET_OPENRISC
26 #pragma GCC poison TARGET_PPC
27 #pragma GCC poison TARGET_PPC64
28 #pragma GCC poison TARGET_ABI32
29 #pragma GCC poison TARGET_RX
30 #pragma GCC poison TARGET_S390X
31 #pragma GCC poison TARGET_SH4
32 #pragma GCC poison TARGET_SPARC
33 #pragma GCC poison TARGET_SPARC64
34 #pragma GCC poison TARGET_TRICORE
35 #pragma GCC poison TARGET_XTENSA
36 
37 #pragma GCC poison TARGET_HAS_BFLT
38 #pragma GCC poison TARGET_NAME
39 #pragma GCC poison TARGET_SUPPORTS_MTTCG
40 #pragma GCC poison TARGET_BIG_ENDIAN
41 #pragma GCC poison BSWAP_NEEDED
42 
43 #pragma GCC poison TARGET_LONG_BITS
44 #pragma GCC poison TARGET_FMT_lx
45 #pragma GCC poison TARGET_FMT_ld
46 #pragma GCC poison TARGET_FMT_lu
47 
48 #pragma GCC poison TARGET_PAGE_SIZE
49 #pragma GCC poison TARGET_PAGE_MASK
50 #pragma GCC poison TARGET_PAGE_BITS
51 #pragma GCC poison TARGET_PAGE_ALIGN
52 
53 #pragma GCC poison CPU_INTERRUPT_HARD
54 #pragma GCC poison CPU_INTERRUPT_EXITTB
55 #pragma GCC poison CPU_INTERRUPT_HALT
56 #pragma GCC poison CPU_INTERRUPT_DEBUG
57 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_0
58 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_1
59 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_2
60 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_3
61 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_4
62 #pragma GCC poison CPU_INTERRUPT_TGT_INT_0
63 #pragma GCC poison CPU_INTERRUPT_TGT_INT_1
64 #pragma GCC poison CPU_INTERRUPT_TGT_INT_2
65 
66 #pragma GCC poison CONFIG_ALPHA_DIS
67 #pragma GCC poison CONFIG_CRIS_DIS
68 #pragma GCC poison CONFIG_HPPA_DIS
69 #pragma GCC poison CONFIG_I386_DIS
70 #pragma GCC poison CONFIG_HEXAGON_DIS
71 #pragma GCC poison CONFIG_LOONGARCH_DIS
72 #pragma GCC poison CONFIG_M68K_DIS
73 #pragma GCC poison CONFIG_MICROBLAZE_DIS
74 #pragma GCC poison CONFIG_MIPS_DIS
75 #pragma GCC poison CONFIG_PPC_DIS
76 #pragma GCC poison CONFIG_RISCV_DIS
77 #pragma GCC poison CONFIG_S390_DIS
78 #pragma GCC poison CONFIG_SH4_DIS
79 #pragma GCC poison CONFIG_SPARC_DIS
80 #pragma GCC poison CONFIG_XTENSA_DIS
81 
82 #pragma GCC poison CONFIG_HVF
83 #pragma GCC poison CONFIG_LINUX_USER
84 #pragma GCC poison CONFIG_KVM
85 #pragma GCC poison CONFIG_WHPX
86 #pragma GCC poison CONFIG_XEN
87 
88 #endif
89