42 #ifndef __X86EMU_X86EMU_H
43 #define __X86EMU_X86EMU_H
47 #define X86API _ASMAPI
48 #define X86APIP _ASMAPIP
162 printk("halt_sys: file %s, line %d\n", __FILE__, __LINE__), \
165 #define HALT_SYS() X86EMU_halt_sys()
170 #define DEBUG_DECODE_F 0x000001
171 #define DEBUG_TRACE_F 0x000002
172 #define DEBUG_STEP_F 0x000004
173 #define DEBUG_DISASSEMBLE_F 0x000008
174 #define DEBUG_BREAK_F 0x000010
175 #define DEBUG_SVC_F 0x000020
176 #define DEBUG_SAVE_IP_CS_F 0x000040
177 #define DEBUG_FS_F 0x000080
178 #define DEBUG_PROC_F 0x000100
179 #define DEBUG_SYSINT_F 0x000200
180 #define DEBUG_TRACECALL_F 0x000400
181 #define DEBUG_INSTRUMENT_F 0x000800
182 #define DEBUG_MEM_TRACE_F 0x001000
183 #define DEBUG_IO_TRACE_F 0x002000
184 #define DEBUG_TRACECALL_REGS_F 0x004000
185 #define DEBUG_DECODE_NOPRINT_F 0x008000
186 #define DEBUG_EXIT 0x010000
187 #define DEBUG_SYS_F (DEBUG_SVC_F|DEBUG_FS_F|DEBUG_PROC_F)