1 ///////////////////////////////////////////////////////////////////////// 2 // $Id: param_names.h 14017 2020-12-04 17:04:40Z vruppert $ 3 ///////////////////////////////////////////////////////////////////////// 4 // 5 // Copyright (C) 2009-2020 The Bochs Project 6 // 7 // This library is free software; you can redistribute it and/or 8 // modify it under the terms of the GNU Lesser General Public 9 // License as published by the Free Software Foundation; either 10 // version 2 of the License, or (at your option) any later version. 11 // 12 // This library is distributed in the hope that it will be useful, 13 // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 // Lesser General Public License for more details. 16 // 17 // You should have received a copy of the GNU Lesser General Public 18 // License along with this library; if not, write to the Free Software 19 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 // 21 ///////////////////////////////////////////////////////////////////////// 22 23 #ifndef BX_PARAM_NAMES 24 #define BX_PARAM_NAMES 25 26 // define parameter path names. These names give the location in the 27 // parameter tree where each can be found. The names correspond to 28 // the old BXP_* enum values, which have been eliminated. 29 #define BXPN_SEL_CONFIG_INTERFACE "general.config_interface" 30 #define BXPN_BOCHS_START "general.start_mode" 31 #define BXPN_BOCHS_BENCHMARK "general.benchmark" 32 #define BXPN_DUMP_STATS "general.dumpstats" 33 #define BXPN_RESTORE_FLAG "general.restore" 34 #define BXPN_RESTORE_PATH "general.restore_path" 35 #define BXPN_DEBUG_RUNNING "general.debug_running" 36 #define BXPN_PLUGIN_CTRL "general.plugin_ctrl" 37 #define BXPN_UNLOCK_IMAGES "general.unlock_images" 38 #define BXPN_CPU_NPROCESSORS "cpu.n_processors" 39 #define BXPN_CPU_NCORES "cpu.n_cores" 40 #define BXPN_CPU_NTHREADS "cpu.n_threads" 41 #define BXPN_CPU_MODEL "cpu.model" 42 #define BXPN_IPS "cpu.ips" 43 #define BXPN_SMP_QUANTUM "cpu.quantum" 44 #define BXPN_RESET_ON_TRIPLE_FAULT "cpu.reset_on_triple_fault" 45 #define BXPN_IGNORE_BAD_MSRS "cpu.ignore_bad_msrs" 46 #define BXPN_CONFIGURABLE_MSRS_PATH "cpu.msrs" 47 #define BXPN_CPUID_LIMIT_WINNT "cpu.cpuid_limit_winnt" 48 #define BXPN_MWAIT_IS_NOP "cpu.mwait_is_nop" 49 #define BXPN_VENDOR_STRING "cpuid.vendor_string" 50 #define BXPN_BRAND_STRING "cpuid.brand_string" 51 #define BXPN_CPUID_LEVEL "cpuid.level" 52 #define BXPN_CPUID_FAMILY "cpuid.family" 53 #define BXPN_CPUID_MODEL "cpuid.model" 54 #define BXPN_CPUID_STEPPING "cpuid.stepping" 55 #define BXPN_CPUID_MMX "cpuid.mmx" 56 #define BXPN_CPUID_SIMD "cpuid.simd" 57 #define BXPN_CPUID_SSE4A "cpuid.sse4a" 58 #define BXPN_CPUID_MISALIGNED_SSE "cpuid.misaligned_sse" 59 #define BXPN_CPUID_AES "cpuid.aes" 60 #define BXPN_CPUID_SHA "cpuid.sha" 61 #define BXPN_CPUID_MOVBE "cpuid.movbe" 62 #define BXPN_CPUID_ADX "cpuid.adx" 63 #define BXPN_CPUID_SEP "cpuid.sep" 64 #define BXPN_CPUID_XSAVE "cpuid.xsave" 65 #define BXPN_CPUID_XSAVEOPT "cpuid.xsaveopt" 66 #define BXPN_CPUID_SVM "cpuid.svm" 67 #define BXPN_CPUID_VMX "cpuid.vmx" 68 #define BXPN_CPUID_AVX_F16CVT "cpuid.avx_f16c" 69 #define BXPN_CPUID_AVX_FMA "cpuid.avx_fma" 70 #define BXPN_CPUID_BMI "cpuid.bmi" 71 #define BXPN_CPUID_XOP "cpuid.xop" 72 #define BXPN_CPUID_TBM "cpuid.tbm" 73 #define BXPN_CPUID_FMA4 "cpuid.fma4" 74 #define BXPN_CPUID_APIC "cpuid.apic" 75 #define BXPN_CPUID_MWAIT "cpuid.mwait" 76 #define BXPN_CPUID_X86_64 "cpuid.x86_64" 77 #define BXPN_CPUID_1G_PAGES "cpuid.1g_pages" 78 #define BXPN_CPUID_PCID "cpuid.pcid" 79 #define BXPN_CPUID_FSGSBASE "cpuid.fsgsbase" 80 #define BXPN_CPUID_SMEP "cpuid.smep" 81 #define BXPN_CPUID_SMAP "cpuid.smap" 82 #define BXPN_MEM_SIZE "memory.standard.ram.size" 83 #define BXPN_HOST_MEM_SIZE "memory.standard.ram.host_size" 84 #define BXPN_ROMIMAGE "memory.standard.rom" 85 #define BXPN_ROM_PATH "memory.standard.rom.file" 86 #define BXPN_ROM_ADDRESS "memory.standard.rom.address" 87 #define BXPN_ROM_OPTIONS "memory.standard.rom.options" 88 #define BXPN_VGA_ROMIMAGE "memory.standard.vgarom" 89 #define BXPN_VGA_ROM_PATH "memory.standard.vgarom.file" 90 #define BXPN_OPTROM_BASE "memory.optrom" 91 #define BXPN_OPTRAM_BASE "memory.optram" 92 #define BXPN_CLOCK_SYNC "clock_cmos.clock_sync" 93 #define BXPN_CLOCK_TIME0 "clock_cmos.time0" 94 #define BXPN_CLOCK_RTC_SYNC "clock_cmos.rtc_sync" 95 #define BXPN_CMOSIMAGE_ENABLED "clock_cmos.cmosimage.enabled" 96 #define BXPN_CMOSIMAGE_PATH "clock_cmos.cmosimage.path" 97 #define BXPN_CMOSIMAGE_RTC_INIT "clock_cmos.cmosimage.rtc_init" 98 #define BXPN_PCI_ENABLED "pci.enabled" 99 #define BXPN_PCI_CHIPSET "pci.chipset" 100 #define BXPN_PCI_ADV_OPTS "pci.advopts" 101 #define BXPN_PCIDEV_VENDOR "pci.pcidev.vendor" 102 #define BXPN_PCIDEV_DEVICE "pci.pcidev.device" 103 #define BXPN_SEL_DISPLAY_LIBRARY "display.display_library" 104 #define BXPN_DISPLAYLIB_OPTIONS "display.displaylib_options" 105 #define BXPN_PRIVATE_COLORMAP "display.private_colormap" 106 #define BXPN_FULLSCREEN "display.fullscreen" 107 #define BXPN_SCREENMODE "display.screenmode" 108 #define BXPN_VGA_EXTENSION "display.vga_extension" 109 #define BXPN_VGA_UPDATE_FREQUENCY "display.vga_update_frequency" 110 #define BXPN_VGA_REALTIME "display.vga_realtime" 111 #define BXPN_DDC_MODE "display.ddc_mode" 112 #define BXPN_DDC_FILE "display.ddc_file" 113 #define BXPN_VOODOO "display.voodoo" 114 #define BXPN_KEYBOARD "keyboard_mouse.keyboard" 115 #define BXPN_KBD_TYPE "keyboard_mouse.keyboard.type" 116 #define BXPN_KBD_SERIAL_DELAY "keyboard_mouse.keyboard.serial_delay" 117 #define BXPN_KBD_PASTE_DELAY "keyboard_mouse.keyboard.paste_delay" 118 #define BXPN_KBD_USEMAPPING "keyboard_mouse.keyboard.use_mapping" 119 #define BXPN_KBD_KEYMAP "keyboard_mouse.keyboard.keymap" 120 #define BXPN_USER_SHORTCUT "keyboard_mouse.keyboard.user_shortcut" 121 #define BXPN_MOUSE "keyboard_mouse.mouse" 122 #define BXPN_MOUSE_TYPE "keyboard_mouse.mouse.type" 123 #define BXPN_MOUSE_ENABLED "keyboard_mouse.mouse.enabled" 124 #define BXPN_MOUSE_TOGGLE "keyboard_mouse.mouse.toggle" 125 #define BXPN_BOOTDRIVE1 "boot_params.boot_drive1" 126 #define BXPN_BOOTDRIVE2 "boot_params.boot_drive2" 127 #define BXPN_BOOTDRIVE3 "boot_params.boot_drive3" 128 #define BXPN_FLOPPYSIGCHECK "boot_params.floppy_sig_check" 129 #define BXPN_FLOPPYA "floppy.0" 130 #define BXPN_FLOPPYA_DEVTYPE "floppy.0.devtype" 131 #define BXPN_FLOPPYA_PATH "floppy.0.path" 132 #define BXPN_FLOPPYA_TYPE "floppy.0.type" 133 #define BXPN_FLOPPYA_STATUS "floppy.0.status" 134 #define BXPN_FLOPPYB "floppy.1" 135 #define BXPN_FLOPPYB_DEVTYPE "floppy.1.devtype" 136 #define BXPN_FLOPPYB_PATH "floppy.1.path" 137 #define BXPN_FLOPPYB_TYPE "floppy.1.type" 138 #define BXPN_FLOPPYB_STATUS "floppy.1.status" 139 #define BXPN_ATA0_RES "ata.0.resources" 140 #define BXPN_ATA1_RES "ata.1.resources" 141 #define BXPN_ATA2_RES "ata.2.resources" 142 #define BXPN_ATA3_RES "ata.3.resources" 143 #define BXPN_ATA0_ENABLED "ata.0.resources.enabled" 144 #define BXPN_ATA1_ENABLED "ata.1.resources.enabled" 145 #define BXPN_ATA0_MASTER "ata.0.master" 146 #define BXPN_ATA1_MASTER "ata.1.master" 147 #define BXPN_ATA2_MASTER "ata.2.master" 148 #define BXPN_ATA3_MASTER "ata.3.master" 149 #define BXPN_ATA0_SLAVE "ata.0.slave" 150 #define BXPN_ATA1_SLAVE "ata.1.slave" 151 #define BXPN_ATA2_SLAVE "ata.2.slave" 152 #define BXPN_ATA3_SLAVE "ata.3.slave" 153 #define BXPN_USB_UHCI "ports.usb.uhci" 154 #define BXPN_UHCI_ENABLED "ports.usb.uhci.enabled" 155 #define BXPN_USB_OHCI "ports.usb.ohci" 156 #define BXPN_OHCI_ENABLED "ports.usb.ohci.enabled" 157 #define BXPN_USB_EHCI "ports.usb.ehci" 158 #define BXPN_EHCI_ENABLED "ports.usb.ehci.enabled" 159 #define BXPN_USB_XHCI "ports.usb.xhci" 160 #define BXPN_XHCI_ENABLED "ports.usb.xhci.enabled" 161 #define BXPN_NE2K "network.ne2k" 162 #define BXPN_PNIC "network.pcipnic" 163 #define BXPN_E1000 "network.e1000" 164 #define BXPN_SOUNDLOW "sound.lowlevel" 165 #define BXPN_SOUND_WAVEOUT_DRV "sound.lowlevel.waveoutdrv" 166 #define BXPN_SOUND_WAVEOUT "sound.lowlevel.waveout" 167 #define BXPN_SOUND_WAVEIN_DRV "sound.lowlevel.waveindrv" 168 #define BXPN_SOUND_WAVEIN "sound.lowlevel.wavein" 169 #define BXPN_SOUND_MIDIOUT_DRV "sound.lowlevel.midioutdrv" 170 #define BXPN_SOUND_MIDIOUT "sound.lowlevel.midiout" 171 #define BXPN_SOUND_SPEAKER "sound.speaker" 172 #define BXPN_SOUND_SB16 "sound.sb16" 173 #define BXPN_SOUND_ES1370 "sound.es1370" 174 #define BXPN_PORT_E9_HACK "misc.port_e9_hack" 175 #define BXPN_GDBSTUB "misc.gdbstub" 176 #define BXPN_LOG_FILENAME "log.filename" 177 #define BXPN_LOG_PREFIX "log.prefix" 178 #define BXPN_DEBUGGER_LOG_FILENAME "log.debugger_filename" 179 #define BXPN_MENU_DISK "menu.disk" 180 #define BXPN_MENU_DISK_WIN32 "menu.disk_win32" 181 #define BXPN_MENU_RUNTIME_CDROM "menu.runtime.cdrom" 182 #define BXPN_MENU_RUNTIME_USB "menu.runtime.usb" 183 #define BXPN_MENU_RUNTIME_MISC "menu.runtime.misc" 184 185 #endif 186