• Home
  • Raw
  • Download

Lines Matching refs:define

36 #define _BX_CONFIG_H_ 1
45 #define BX_EXIT(x) SIM->quit_sim (x)
48 #define BX_EXIT(x) ::exit(x)
55 #define BX_SUPPORT_SMP 0
56 #define BX_BOOTSTRAP_PROCESSOR 0
57 #define BX_MAX_SMP_THREADS_SUPPORTED 8
60 #define BX_SUPPORT_APIC 0
68 #define BX_DEBUG_LINUX 0
72 #define HAVE_LIBREADLINE 0
73 #define HAVE_READLINE_HISTORY_H 0
76 #define HAVE_LOCALE_H 0
82 #define BX_TIMER_DEBUG 0
92 #define BX_SUPPORT_A20 1
104 #define BX_SHOW_IPS 0
108 #define SIGALRM 14
116 #define BX_DMA_FLOPPY_IO 1
122 #define BX_DEFAULT_MEM_MEGS 32
126 // to emulate. BX_CPU_LEVEL_HACKED is a hack to define the
130 #define BX_CPU_LEVEL 0
131 #define BX_CPU_LEVEL_HACKED 0
134 #define BX_SUPPORT_X86_64 0
137 #define BX_PHY_ADDRESS_LONG 0
139 #define BX_HAVE_SLEEP 0
140 #define BX_HAVE_MSLEEP 0
141 #define BX_HAVE_USLEEP 0
142 #define BX_HAVE_NANOSLEEP 0
143 #define BX_HAVE_ABORT 0
144 #define BX_HAVE_SOCKLEN_T 0
145 #define BX_HAVE_SOCKADDR_IN_SIN_LEN 0
146 #define BX_HAVE_GETTIMEOFDAY 0
148 #define BX_HAVE_REALTIME_USEC 1
150 #define BX_HAVE_REALTIME_USEC (BX_HAVE_GETTIMEOFDAY)
152 #define BX_HAVE_MKSTEMP 0
153 #define BX_HAVE_SYS_MMAN_H 0
154 #define BX_HAVE_XPM_H 0
155 #define BX_HAVE_TIMELOCAL 0
156 #define BX_HAVE_GMTIME 0
157 #define BX_HAVE_MKTIME 0
158 #define BX_HAVE_NET_IF_H 0
163 #define BX_USE_IDLE_HACK 0
168 #define BX_MIN_IPS 200000
173 #define BX_SMP_QUANTUM_MIN 1
174 #define BX_SMP_QUANTUM_MAX 16
181 #define BX_USE_CPU_SMF 1
183 #define BX_USE_MEM_SMF 1
195 #define BX_USE_HD_SMF 1 // Hard drive
196 #define BX_USE_BIOS_SMF 1 // BIOS
197 #define BX_USE_CMOS_SMF 1 // CMOS
198 #define BX_USE_DMA_SMF 1 // DMA
199 #define BX_USE_FD_SMF 1 // Floppy
200 #define BX_USE_KEY_SMF 1 // Keyboard
201 #define BX_USE_PAR_SMF 1 // Parallel
202 #define BX_USE_PIC_SMF 1 // PIC
203 #define BX_USE_PIT_SMF 1 // PIT
204 #define BX_USE_SER_SMF 1 // Serial
205 #define BX_USE_UM_SMF 1 // Unmapped
206 #define BX_USE_VGA_SMF 1 // VGA
207 #define BX_USE_SB16_SMF 1 // Sound (SB 16)
208 #define BX_USE_DEV_SMF 1 // System Devices (port92)
209 #define BX_USE_PCI_SMF 1 // PCI
210 #define BX_USE_P2I_SMF 1 // PCI-to-ISA bridge
211 #define BX_USE_PIDE_SMF 1 // PCI-IDE
212 #define BX_USE_PCIVGA_SMF 1 // PCI-VGA
213 #define BX_USE_PCIDEV_SMF 1 // PCI-DEV
214 #define BX_USE_USB_UHCI_SMF 1 // USB UHCI hub
215 #define BX_USE_USB_OHCI_SMF 1 // USB OHCI hub
216 #define BX_USE_PCIPNIC_SMF 1 // PCI pseudo NIC
217 #define BX_USE_NE2K_SMF 1 // NE2K
218 #define BX_USE_EFI_SMF 1 // External FPU IRQ
219 #define BX_USE_GAMEPORT_SMF 1 // Gameport
220 #define BX_USE_CIRRUS_SMF 1 // SVGA Cirrus
221 #define BX_USE_BUSM_SMF 1 // Bus Mouse
222 #define BX_USE_ACPI_SMF 1 // ACPI
224 #define BX_PLUGINS 0
225 #define BX_HAVE_DLFCN_H 0
240 #define BX_SUPPORT_SB16 0
241 #define BX_SUPPORT_GAMEPORT 0
245 #define BX_USE_SOUND_VIRTUAL 1
251 #define BX_SOUND_OUTPUT_C bx_sound_output_c
253 #define BX_HAVE_ALSASOUND 0
256 #define USE_RAW_SERIAL 0
262 #define BX_PORT_E9_HACK 0
264 #define BX_GDBSTUB 0
267 #define BX_COMPRESSED_HD_SUPPORT 0
268 #define BX_HAVE_ZLIB 0
276 #define BX_MAX_ATA_CHANNEL 4
294 #define BX_DBG_MAX_VIR_BPOINTS 16
295 #define BX_DBG_MAX_LIN_BPOINTS 16
296 #define BX_DBG_MAX_PHY_BPOINTS 16
298 #define BX_DBG_MAX_WATCHPONTS 16
301 #define BX_MAX_PATH 256
303 #define BX_INFILE_DEPTH 10
305 #define BX_INCLUDE_CMD "source"
310 #define BX_DBG_EXTENSIONS 0
322 #define BX_WITH_X11 0
323 #define BX_WITH_BEOS 0
324 #define BX_WITH_WIN32 0
325 #define BX_WITH_MACOS 0
326 #define BX_WITH_CARBON 0
327 #define BX_WITH_NOGUI 0
328 #define BX_WITH_TERM 0
329 #define BX_WITH_RFB 0
330 #define BX_WITH_AMIGAOS 0
331 #define BX_WITH_SDL 0
332 #define BX_WITH_SVGA 0
333 #define BX_WITH_WX 0
337 #define BX_USE_TEXTCONFIG 1
344 #define CDECL __cdecl
346 #define CDECL
352 // plugins can access. The plugins should #define PLUGGABLE which will
357 # define BOCHSAPI __declspec(dllimport)
360 # define BOCHSAPI __declspec(dllexport)
364 # define BOCHSAPI
371 #define BOCHSAPI_CYGONLY BOCHSAPI
373 // define the symbol to be empty
374 #define BOCHSAPI_CYGONLY /*empty*/
381 #define BOCHSAPI_MSVCONLY BOCHSAPI
383 // define the symbol to be empty
384 #define BOCHSAPI_MSVCONLY /*empty*/
387 #define BX_DEFAULT_CONFIG_INTERFACE "defined_by_configure"
388 #define BX_DEFAULT_DISPLAY_LIBRARY "defined_by_configure"
397 #define WORDS_BIGENDIAN 0
399 #define SIZEOF_UNSIGNED_CHAR 0
400 #define SIZEOF_UNSIGNED_SHORT 0
401 #define SIZEOF_UNSIGNED_INT 0
402 #define SIZEOF_UNSIGNED_LONG 0
403 #define SIZEOF_UNSIGNED_LONG_LONG 0
404 #define SIZEOF_INT_P 0
406 #define BX_64BIT_CONSTANTS_USE_LL 1
409 #define BX_CONST64(x) (x##LL)
411 #define BX_CONST64(x) (x##I64)
413 #define BX_CONST64(x) (x)
480 #define GET32L(val64) ((Bit32u)(((Bit64u)(val64)) & 0xFFFFFFFF))
481 #define GET32H(val64) ((Bit32u)(((Bit64u)(val64)) >> 32))
490 // define physical and linear address types
494 #define BX_LIN_ADDRESS_WIDTH 48
496 #define BX_LIN_ADDRESS_WIDTH 32
501 #define BX_PHY_ADDRESS_WIDTH 40
504 #define BX_PHY_ADDRESS_WIDTH 32
514 #define BX_PHY_ADDRESS_MASK ((((Bit64u)(1)) << BX_PHY_ADDRESS_WIDTH) - 1)
516 #define BX_PHY_ADDRESS_RESERVED_BITS \
522 #define BX_MAX_BIT64U ( (Bit64u) -1 )
523 #define BX_MIN_BIT64U ( 0 )
524 #define BX_MAX_BIT64S ( ((Bit64u) -1) >> 1 )
525 #define BX_MIN_BIT64S ( (Bit64s)-(((Bit64u) -1) >> 1) )
526 #define BX_MAX_BIT32U ( (Bit32u) -1 )
527 #define BX_MIN_BIT32U ( 0 )
528 #define BX_MAX_BIT32S ( ((Bit32u) -1) >> 1 )
529 #define BX_MIN_BIT32S ( (Bit32s)-(((Bit32u) -1) >> 1) )
530 #define BX_MAX_BIT16U ( (Bit16u) -1 )
531 #define BX_MIN_BIT16U ( 0 )
532 #define BX_MAX_BIT16S ( ((Bit16u) -1) >> 1 )
533 #define BX_MIN_BIT16S ( (Bit16s)-(((Bit16u) -1) >> 1) )
534 #define BX_MAX_BIT8U ( (Bit8u) -1 )
535 #define BX_MIN_BIT8U ( 0 )
536 #define BX_MAX_BIT8S ( ((Bit8u) -1) >> 1 )
537 #define BX_MIN_BIT8S ( (Bit8s)-(((Bit8u) -1) >> 1) )
548 # error "could not define bx_ptr_equiv_t to size of int*"
556 # define bx_ptr_t char *
558 # define bx_ptr_t void *
562 # define BX_LITTLE_ENDIAN
564 # define BX_BIG_ENDIAN
567 # define BX_BIG_ENDIAN
569 # define BX_LITTLE_ENDIAN
602 #define BX_GUI_SIGHANDLER (BX_WITH_TERM)
604 #define HAVE_SIGACTION 1
610 #define inline inline
614 // the word "inline" itself may now be redefined by the above #define.
623 #define BX_C_INLINE static inline
626 // word "inline" itself may now be redefined by the above #define.
627 #define BX_CPP_INLINE inline
649 #define BX_CPP_AlignN(n) __attribute__ ((aligned (n)))
650 #define BX_CPP_AttrPrintf(formatArg, firstArg) \
652 #define BX_CPP_AttrNoReturn() __attribute__ ((noreturn))
656 #define BX_CPP_AlignN(n) /* Not supported. */
657 #define BX_CPP_AttrPrintf(formatArg, firstArg) /* Not supported. */
658 #define BX_CPP_AttrNoReturn() /* Not supported. */
662 #define BX_DEBUGGER 0
663 #define BX_DISASM 0
664 #define BX_DEBUGGER_GUI 0
670 #define BX_PROVIDE_CPU_MEMORY 1
671 #define BX_PROVIDE_DEVICE_MODELS 1
673 #define BX_PROVIDE_MAIN 1
675 #define BX_INSTRUMENTATION 0
678 #define BX_NO_LOGGING 0
681 #define BX_ASSERT_ENABLE 0
684 #define BX_SUPPORT_PCI 0
687 #define BX_SUPPORT_VBE 0
690 #define BX_SUPPORT_CLGD54XX 0
693 #define BX_SUPPORT_ACPI 0
700 #define BX_SUPPORT_PCIVGA 0
703 #define BX_SUPPORT_PCIDEV 0
710 #define BX_SUPPORT_USB_UHCI 0
711 #define BX_SUPPORT_USB_OHCI 0
712 #define BX_SUPPORT_PCIUSB (BX_SUPPORT_USB_UHCI || BX_SUPPORT_USB_OHCI)
719 #define BX_SUPPORT_BUSMOUSE 0
721 #define BX_SUPPORT_ALIGNMENT_CHECK 0
722 #define BX_SUPPORT_FPU 0
723 #define BX_SUPPORT_MMX 0
724 #define BX_SUPPORT_3DNOW 0
725 #define BX_SUPPORT_SSE 0
726 #define BX_SUPPORT_SSE_EXTENSION 0
727 #define BX_SUPPORT_SSE4A 0
728 #define BX_SUPPORT_SSE5A 0
729 #define BX_SUPPORT_DAZ 0
730 #define BX_SUPPORT_MISALIGNED_SSE 0
731 #define BX_SUPPORT_SEP 0
732 #define BX_SUPPORT_VME 0
733 #define BX_SUPPORT_POPCNT 0
734 #define BX_SUPPORT_MONITOR_MWAIT 0
735 #define BX_SUPPORT_XSAVE 0
736 #define BX_SUPPORT_AES 0
737 #define BX_SUPPORT_MOVBE 0
738 #define BX_SUPPORT_VMX 0
740 #define BX_SUPPORT_MTRR 0
741 #define BX_SUPPORT_LARGE_PAGES 0
742 #define BX_SUPPORT_GLOBAL_PAGES 0
743 #define BX_SUPPORT_PAE 0
744 #define BX_SUPPORT_1G_PAGES 0
746 #define BX_SupportRepeatSpeedups 0
747 #define BX_SupportHostAsms 0
749 #define BX_SUPPORT_ICACHE 0
750 #define BX_SUPPORT_TRACE_CACHE 0
757 #define BX_CPU_VENDOR_INTEL 0
759 #define BX_CPU_VENDOR_INTEL 1
763 #define BX_CPUID_VENDOR_LEN 12
764 #define BX_CPUID_BRAND_LEN 48
767 #define BX_IGNORE_BAD_MSR 0
769 #define BX_CONFIGURE_MSRS 0
773 #define BX_SUPPORT_CLFLUSH 1
775 #define BX_SUPPORT_CLFLUSH 0
885 #define BX_HAVE_GETENV 0
886 #define BX_HAVE_SETENV 0
887 #define BX_HAVE_SELECT 0
888 #define BX_HAVE_SNPRINTF 0
889 #define BX_HAVE_VSNPRINTF 0
890 #define BX_HAVE_STRTOULL 0
891 #define BX_HAVE_STRTOUQ 0
892 #define BX_HAVE_STRDUP 0
893 #define BX_HAVE_STRREV 0
894 #define BX_HAVE_STRICMP 0
895 #define BX_HAVE_STRCASECMP 0
896 #define BX_HAVE_STRUCT_TIMEVAL 0
899 #define BX_HAVE_COLOR_SET 0
900 #define BX_HAVE_MVHLINE 0
901 #define BX_HAVE_MVVLINE 0
905 #define BX_NO_EMPTY_STRUCTS 0
908 #define BX_NO_ATTRIBUTES 0
910 #define GCC_ATTRIBUTE(x) /* attribute not supported */
912 #define GCC_ATTRIBUTE __attribute__
916 #define BX_FAST_FUNC_CALL 0
921 # define BX_CPP_AttrRegparmN(X) __attribute__((regparm(X)))
924 # define BX_CPP_AttrRegparmN(X) /* Not defined */
927 # define BX_CPP_AttrRegparmN(X) /* Not defined */
931 #define BX_NO_BLANK_LABELS 0
934 #define BX_HAVE_HASH_MAP 0
937 #define BX_HAVE_HASH_MAP_H 0
940 #define BX_HAVE_SET 0
943 #define BX_HAVE_SET_H 0
948 #define BX_X86_DEBUGGER 0
950 #define BX_SUPPORT_CDROM 0
955 # define LOWLEVEL_CDROM cdrom_interface
959 #define BX_SUPPORT_NE2K 0
962 #define BX_SUPPORT_PCIPNIC 0
969 #define BX_NETWORKING 0
971 #define BX_ETH_NULL_LOGGING 1
972 #define BX_ETH_FBSD_LOGGING 1
976 #define ETH_NULL 1
978 # define ETH_ARPBACK 1
981 #define ETH_FBSD 1
984 #define ETH_LINUX 1
987 #define ETH_WIN32 1
991 #define HAVE_ETHERTAP 0
994 #define HAVE_TUNTAP 0
997 #define HAVE_VDE 0
1001 #define BX_SUPPORT_IODEBUG 0
1004 #define BX_FLOPPY0_NAME "Floppy Disk A:"
1005 #define BX_FLOPPY1_NAME "Floppy Disk B:"
1007 #define BX_FLOPPY0_NAME "Floppy Disk 0"
1008 #define BX_FLOPPY1_NAME "Floppy Disk 1"