xref: /openbmc/qemu/include/exec/poison.h (revision 2c9b15ca)
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_MIPS
16 #pragma GCC poison TARGET_MIPS64
17 #pragma GCC poison TARGET_OPENRISC
18 #pragma GCC poison TARGET_PPC
19 #pragma GCC poison TARGET_PPCEMB
20 #pragma GCC poison TARGET_PPC64
21 #pragma GCC poison TARGET_ABI32
22 #pragma GCC poison TARGET_SH4
23 #pragma GCC poison TARGET_SPARC
24 #pragma GCC poison TARGET_SPARC64
25 
26 #pragma GCC poison TARGET_WORDS_BIGENDIAN
27 #pragma GCC poison BSWAP_NEEDED
28 
29 #pragma GCC poison TARGET_LONG_BITS
30 #pragma GCC poison TARGET_FMT_lx
31 #pragma GCC poison TARGET_FMT_ld
32 
33 #pragma GCC poison TARGET_PAGE_SIZE
34 #pragma GCC poison TARGET_PAGE_MASK
35 #pragma GCC poison TARGET_PAGE_BITS
36 #pragma GCC poison TARGET_PAGE_ALIGN
37 
38 #pragma GCC poison CPUArchState
39 #pragma GCC poison env
40 
41 #pragma GCC poison lduw_phys
42 #pragma GCC poison ldl_phys
43 #pragma GCC poison ldq_phys
44 #pragma GCC poison stl_phys_notdirty
45 #pragma GCC poison stw_phys
46 #pragma GCC poison stl_phys
47 #pragma GCC poison stq_phys
48 
49 #pragma GCC poison CPU_INTERRUPT_HARD
50 #pragma GCC poison CPU_INTERRUPT_EXITTB
51 #pragma GCC poison CPU_INTERRUPT_HALT
52 #pragma GCC poison CPU_INTERRUPT_DEBUG
53 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_0
54 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_1
55 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_2
56 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_3
57 #pragma GCC poison CPU_INTERRUPT_TGT_EXT_4
58 #pragma GCC poison CPU_INTERRUPT_TGT_INT_0
59 #pragma GCC poison CPU_INTERRUPT_TGT_INT_1
60 #pragma GCC poison CPU_INTERRUPT_TGT_INT_2
61 
62 #endif
63 #endif
64