xref: /openbmc/qemu/include/exec/poison.h (revision 7e56accd)
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 #ifdef __GNUC__
7 
8 #pragma GCC poison TARGET_I386
9 #pragma GCC poison TARGET_X86_64
10 #pragma GCC poison TARGET_ALPHA
11 #pragma GCC poison TARGET_ARM
12 #pragma GCC poison TARGET_CRIS
13 #pragma GCC poison TARGET_LM32
14 #pragma GCC poison TARGET_M68K
15 #pragma GCC poison TARGET_MICROBLAZE
16 #pragma GCC poison TARGET_MIPS
17 #pragma GCC poison TARGET_ABI_MIPSO32
18 #pragma GCC poison TARGET_MIPS64
19 #pragma GCC poison TARGET_ABI_MIPSN64
20 #pragma GCC poison TARGET_MOXIE
21 #pragma GCC poison TARGET_NIOS2
22 #pragma GCC poison TARGET_OPENRISC
23 #pragma GCC poison TARGET_PPC
24 #pragma GCC poison TARGET_PPCEMB
25 #pragma GCC poison TARGET_PPC64
26 #pragma GCC poison TARGET_ABI32
27 #pragma GCC poison TARGET_S390X
28 #pragma GCC poison TARGET_SH4
29 #pragma GCC poison TARGET_SPARC
30 #pragma GCC poison TARGET_SPARC64
31 #pragma GCC poison TARGET_TRICORE
32 #pragma GCC poison TARGET_UNICORE32
33 #pragma GCC poison TARGET_XTENSA
34 
35 #pragma GCC poison TARGET_NAME
36 #pragma GCC poison TARGET_SUPPORTS_MTTCG
37 #pragma GCC poison TARGET_WORDS_BIGENDIAN
38 #pragma GCC poison BSWAP_NEEDED
39 
40 #pragma GCC poison TARGET_LONG_BITS
41 #pragma GCC poison TARGET_FMT_lx
42 #pragma GCC poison TARGET_FMT_ld
43 
44 #pragma GCC poison TARGET_PAGE_SIZE
45 #pragma GCC poison TARGET_PAGE_MASK
46 #pragma GCC poison TARGET_PAGE_BITS
47 #pragma GCC poison TARGET_PAGE_ALIGN
48 
49 #pragma GCC poison CPUArchState
50 
51 #pragma GCC poison CPU_INTERRUPT_HARD
52 #pragma GCC poison CPU_INTERRUPT_EXITTB
53 #pragma GCC poison CPU_INTERRUPT_HALT
54 #pragma GCC poison CPU_INTERRUPT_DEBUG
55 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_0
56 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_1
57 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_2
58 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_3
59 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_4
60 #pragma GCC poison CPU_INTERRUPT_TGT_INT_0
61 #pragma GCC poison CPU_INTERRUPT_TGT_INT_1
62 #pragma GCC poison CPU_INTERRUPT_TGT_INT_2
63 
64 #pragma GCC poison CONFIG_ALPHA_DIS
65 #pragma GCC poison CONFIG_ARM_A64_DIS
66 #pragma GCC poison CONFIG_ARM_DIS
67 #pragma GCC poison CONFIG_CRIS_DIS
68 #pragma GCC poison CONFIG_I386_DIS
69 #pragma GCC poison CONFIG_LM32_DIS
70 #pragma GCC poison CONFIG_M68K_DIS
71 #pragma GCC poison CONFIG_MICROBLAZE_DIS
72 #pragma GCC poison CONFIG_MIPS_DIS
73 #pragma GCC poison CONFIG_MOXIE_DIS
74 #pragma GCC poison CONFIG_NIOS2_DIS
75 #pragma GCC poison CONFIG_PPC_DIS
76 #pragma GCC poison CONFIG_S390_DIS
77 #pragma GCC poison CONFIG_SH4_DIS
78 #pragma GCC poison CONFIG_SPARC_DIS
79 #pragma GCC poison CONFIG_XTENSA_DIS
80 
81 #pragma GCC poison CONFIG_LINUX_USER
82 #pragma GCC poison CONFIG_VHOST_NET
83 
84 #endif
85 #endif
86