2009-11-15 23:50:41 +03:00
|
|
|
/////////////////////////////////////////////////////////////////////////
|
2011-02-25 01:05:47 +03:00
|
|
|
// $Id$
|
2009-11-15 23:50:41 +03:00
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
2020-03-03 01:04:10 +03:00
|
|
|
// Copyright (C) 2009-2020 The Bochs Project
|
2009-11-15 23:50:41 +03:00
|
|
|
//
|
|
|
|
// This library is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
|
|
// License as published by the Free Software Foundation; either
|
|
|
|
// version 2 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
// License along with this library; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef BX_PARAM_NAMES
|
|
|
|
#define BX_PARAM_NAMES
|
|
|
|
|
|
|
|
// define parameter path names. These names give the location in the
|
|
|
|
// parameter tree where each can be found. The names correspond to
|
|
|
|
// the old BXP_* enum values, which have been eliminated.
|
|
|
|
#define BXPN_SEL_CONFIG_INTERFACE "general.config_interface"
|
|
|
|
#define BXPN_BOCHS_START "general.start_mode"
|
|
|
|
#define BXPN_BOCHS_BENCHMARK "general.benchmark"
|
2014-10-14 19:59:10 +04:00
|
|
|
#define BXPN_DUMP_STATS "general.dumpstats"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_RESTORE_FLAG "general.restore"
|
|
|
|
#define BXPN_RESTORE_PATH "general.restore_path"
|
|
|
|
#define BXPN_DEBUG_RUNNING "general.debug_running"
|
2011-12-25 12:52:34 +04:00
|
|
|
#define BXPN_PLUGIN_CTRL "general.plugin_ctrl"
|
2018-05-11 10:44:49 +03:00
|
|
|
#define BXPN_UNLOCK_IMAGES "general.unlock_images"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_CPU_NPROCESSORS "cpu.n_processors"
|
|
|
|
#define BXPN_CPU_NCORES "cpu.n_cores"
|
|
|
|
#define BXPN_CPU_NTHREADS "cpu.n_threads"
|
2011-07-29 19:03:54 +04:00
|
|
|
#define BXPN_CPU_MODEL "cpu.model"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_IPS "cpu.ips"
|
|
|
|
#define BXPN_SMP_QUANTUM "cpu.quantum"
|
|
|
|
#define BXPN_RESET_ON_TRIPLE_FAULT "cpu.reset_on_triple_fault"
|
|
|
|
#define BXPN_IGNORE_BAD_MSRS "cpu.ignore_bad_msrs"
|
|
|
|
#define BXPN_CONFIGURABLE_MSRS_PATH "cpu.msrs"
|
2011-07-29 19:03:54 +04:00
|
|
|
#define BXPN_CPUID_LIMIT_WINNT "cpu.cpuid_limit_winnt"
|
2012-03-15 23:46:57 +04:00
|
|
|
#define BXPN_MWAIT_IS_NOP "cpu.mwait_is_nop"
|
2010-02-26 01:04:31 +03:00
|
|
|
#define BXPN_VENDOR_STRING "cpuid.vendor_string"
|
|
|
|
#define BXPN_BRAND_STRING "cpuid.brand_string"
|
2013-04-17 23:46:11 +04:00
|
|
|
#define BXPN_CPUID_LEVEL "cpuid.level"
|
2011-02-25 18:05:48 +03:00
|
|
|
#define BXPN_CPUID_FAMILY "cpuid.family"
|
|
|
|
#define BXPN_CPUID_MODEL "cpuid.model"
|
2010-07-17 01:03:52 +04:00
|
|
|
#define BXPN_CPUID_STEPPING "cpuid.stepping"
|
2010-03-01 21:53:53 +03:00
|
|
|
#define BXPN_CPUID_MMX "cpuid.mmx"
|
2013-09-16 23:50:36 +04:00
|
|
|
#define BXPN_CPUID_SIMD "cpuid.simd"
|
2011-09-18 20:18:22 +04:00
|
|
|
#define BXPN_CPUID_SSE4A "cpuid.sse4a"
|
2012-12-20 23:43:11 +04:00
|
|
|
#define BXPN_CPUID_MISALIGNED_SSE "cpuid.misaligned_sse"
|
2010-02-26 01:04:31 +03:00
|
|
|
#define BXPN_CPUID_AES "cpuid.aes"
|
2013-07-24 22:44:22 +04:00
|
|
|
#define BXPN_CPUID_SHA "cpuid.sha"
|
2010-02-26 01:04:31 +03:00
|
|
|
#define BXPN_CPUID_MOVBE "cpuid.movbe"
|
2012-07-12 18:51:54 +04:00
|
|
|
#define BXPN_CPUID_ADX "cpuid.adx"
|
2010-02-26 14:44:50 +03:00
|
|
|
#define BXPN_CPUID_SEP "cpuid.sep"
|
2010-02-27 01:53:43 +03:00
|
|
|
#define BXPN_CPUID_XSAVE "cpuid.xsave"
|
2011-03-25 23:32:07 +03:00
|
|
|
#define BXPN_CPUID_XSAVEOPT "cpuid.xsaveopt"
|
2011-12-25 23:35:29 +04:00
|
|
|
#define BXPN_CPUID_SVM "cpuid.svm"
|
2011-12-21 13:11:51 +04:00
|
|
|
#define BXPN_CPUID_VMX "cpuid.vmx"
|
2011-06-11 17:12:32 +04:00
|
|
|
#define BXPN_CPUID_AVX_F16CVT "cpuid.avx_f16c"
|
2011-09-30 02:20:56 +04:00
|
|
|
#define BXPN_CPUID_AVX_FMA "cpuid.avx_fma"
|
2011-08-27 17:47:16 +04:00
|
|
|
#define BXPN_CPUID_BMI "cpuid.bmi"
|
2011-10-20 00:54:04 +04:00
|
|
|
#define BXPN_CPUID_XOP "cpuid.xop"
|
|
|
|
#define BXPN_CPUID_TBM "cpuid.tbm"
|
2011-10-07 18:09:35 +04:00
|
|
|
#define BXPN_CPUID_FMA4 "cpuid.fma4"
|
2011-04-21 17:27:42 +04:00
|
|
|
#define BXPN_CPUID_APIC "cpuid.apic"
|
2010-11-21 15:02:12 +03:00
|
|
|
#define BXPN_CPUID_MWAIT "cpuid.mwait"
|
2011-09-25 21:36:20 +04:00
|
|
|
#define BXPN_CPUID_X86_64 "cpuid.x86_64"
|
2010-04-24 13:36:04 +04:00
|
|
|
#define BXPN_CPUID_1G_PAGES "cpuid.1g_pages"
|
2010-04-29 23:34:32 +04:00
|
|
|
#define BXPN_CPUID_PCID "cpuid.pcid"
|
2010-07-22 20:41:59 +04:00
|
|
|
#define BXPN_CPUID_FSGSBASE "cpuid.fsgsbase"
|
2011-05-29 20:28:26 +04:00
|
|
|
#define BXPN_CPUID_SMEP "cpuid.smep"
|
2012-09-10 19:22:26 +04:00
|
|
|
#define BXPN_CPUID_SMAP "cpuid.smap"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_MEM_SIZE "memory.standard.ram.size"
|
|
|
|
#define BXPN_HOST_MEM_SIZE "memory.standard.ram.host_size"
|
2017-02-14 00:14:34 +03:00
|
|
|
#define BXPN_ROMIMAGE "memory.standard.rom"
|
|
|
|
#define BXPN_ROM_PATH "memory.standard.rom.file"
|
|
|
|
#define BXPN_ROM_ADDRESS "memory.standard.rom.address"
|
2017-02-14 23:11:58 +03:00
|
|
|
#define BXPN_ROM_OPTIONS "memory.standard.rom.options"
|
2017-02-14 00:14:34 +03:00
|
|
|
#define BXPN_VGA_ROMIMAGE "memory.standard.vgarom"
|
|
|
|
#define BXPN_VGA_ROM_PATH "memory.standard.vgarom.file"
|
2017-02-14 23:11:58 +03:00
|
|
|
#define BXPN_OPTROM_BASE "memory.optrom"
|
|
|
|
#define BXPN_OPTRAM_BASE "memory.optram"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_CLOCK_SYNC "clock_cmos.clock_sync"
|
|
|
|
#define BXPN_CLOCK_TIME0 "clock_cmos.time0"
|
2012-05-15 21:03:45 +04:00
|
|
|
#define BXPN_CLOCK_RTC_SYNC "clock_cmos.rtc_sync"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_CMOSIMAGE_ENABLED "clock_cmos.cmosimage.enabled"
|
|
|
|
#define BXPN_CMOSIMAGE_PATH "clock_cmos.cmosimage.path"
|
|
|
|
#define BXPN_CMOSIMAGE_RTC_INIT "clock_cmos.cmosimage.rtc_init"
|
2012-11-11 12:11:17 +04:00
|
|
|
#define BXPN_PCI_ENABLED "pci.enabled"
|
|
|
|
#define BXPN_PCI_CHIPSET "pci.chipset"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_PCIDEV_VENDOR "pci.pcidev.vendor"
|
|
|
|
#define BXPN_PCIDEV_DEVICE "pci.pcidev.device"
|
|
|
|
#define BXPN_SEL_DISPLAY_LIBRARY "display.display_library"
|
|
|
|
#define BXPN_DISPLAYLIB_OPTIONS "display.displaylib_options"
|
|
|
|
#define BXPN_PRIVATE_COLORMAP "display.private_colormap"
|
|
|
|
#define BXPN_FULLSCREEN "display.fullscreen"
|
|
|
|
#define BXPN_SCREENMODE "display.screenmode"
|
|
|
|
#define BXPN_VGA_EXTENSION "display.vga_extension"
|
2011-07-27 02:16:24 +04:00
|
|
|
#define BXPN_VGA_UPDATE_FREQUENCY "display.vga_update_frequency"
|
2014-11-15 13:22:27 +03:00
|
|
|
#define BXPN_VGA_REALTIME "display.vga_realtime"
|
2013-12-22 23:50:29 +04:00
|
|
|
#define BXPN_VOODOO "display.voodoo"
|
2013-01-27 23:09:24 +04:00
|
|
|
#define BXPN_KEYBOARD "keyboard_mouse.keyboard"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_KBD_TYPE "keyboard_mouse.keyboard.type"
|
|
|
|
#define BXPN_KBD_SERIAL_DELAY "keyboard_mouse.keyboard.serial_delay"
|
|
|
|
#define BXPN_KBD_PASTE_DELAY "keyboard_mouse.keyboard.paste_delay"
|
|
|
|
#define BXPN_KBD_USEMAPPING "keyboard_mouse.keyboard.use_mapping"
|
|
|
|
#define BXPN_KBD_KEYMAP "keyboard_mouse.keyboard.keymap"
|
|
|
|
#define BXPN_USER_SHORTCUT "keyboard_mouse.keyboard.user_shortcut"
|
2013-01-20 02:37:15 +04:00
|
|
|
#define BXPN_MOUSE "keyboard_mouse.mouse"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_MOUSE_TYPE "keyboard_mouse.mouse.type"
|
|
|
|
#define BXPN_MOUSE_ENABLED "keyboard_mouse.mouse.enabled"
|
2010-05-16 13:01:36 +04:00
|
|
|
#define BXPN_MOUSE_TOGGLE "keyboard_mouse.mouse.toggle"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_BOOTDRIVE1 "boot_params.boot_drive1"
|
|
|
|
#define BXPN_BOOTDRIVE2 "boot_params.boot_drive2"
|
|
|
|
#define BXPN_BOOTDRIVE3 "boot_params.boot_drive3"
|
|
|
|
#define BXPN_FLOPPYSIGCHECK "boot_params.floppy_sig_check"
|
2017-04-17 16:26:44 +03:00
|
|
|
#if BX_LOAD32BITOSHACK
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_LOAD32BITOS_WHICH "boot_params.load32bitos.which"
|
|
|
|
#define BXPN_LOAD32BITOS_PATH "boot_params.load32bitos.path"
|
|
|
|
#define BXPN_LOAD32BITOS_IOLOG "boot_params.load32bitos.iolog"
|
|
|
|
#define BXPN_LOAD32BITOS_INITRD "boot_params.load32bitos.initrd"
|
2017-04-17 16:26:44 +03:00
|
|
|
#endif
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_FLOPPYA "floppy.0"
|
|
|
|
#define BXPN_FLOPPYA_DEVTYPE "floppy.0.devtype"
|
|
|
|
#define BXPN_FLOPPYA_PATH "floppy.0.path"
|
|
|
|
#define BXPN_FLOPPYA_TYPE "floppy.0.type"
|
|
|
|
#define BXPN_FLOPPYA_STATUS "floppy.0.status"
|
|
|
|
#define BXPN_FLOPPYB "floppy.1"
|
|
|
|
#define BXPN_FLOPPYB_DEVTYPE "floppy.1.devtype"
|
|
|
|
#define BXPN_FLOPPYB_PATH "floppy.1.path"
|
|
|
|
#define BXPN_FLOPPYB_TYPE "floppy.1.type"
|
|
|
|
#define BXPN_FLOPPYB_STATUS "floppy.1.status"
|
|
|
|
#define BXPN_ATA0_RES "ata.0.resources"
|
|
|
|
#define BXPN_ATA1_RES "ata.1.resources"
|
|
|
|
#define BXPN_ATA2_RES "ata.2.resources"
|
|
|
|
#define BXPN_ATA3_RES "ata.3.resources"
|
|
|
|
#define BXPN_ATA0_ENABLED "ata.0.resources.enabled"
|
|
|
|
#define BXPN_ATA1_ENABLED "ata.1.resources.enabled"
|
|
|
|
#define BXPN_ATA0_MASTER "ata.0.master"
|
|
|
|
#define BXPN_ATA1_MASTER "ata.1.master"
|
|
|
|
#define BXPN_ATA2_MASTER "ata.2.master"
|
|
|
|
#define BXPN_ATA3_MASTER "ata.3.master"
|
|
|
|
#define BXPN_ATA0_SLAVE "ata.0.slave"
|
|
|
|
#define BXPN_ATA1_SLAVE "ata.1.slave"
|
|
|
|
#define BXPN_ATA2_SLAVE "ata.2.slave"
|
|
|
|
#define BXPN_ATA3_SLAVE "ata.3.slave"
|
|
|
|
#define BXPN_USB_UHCI "ports.usb.uhci"
|
|
|
|
#define BXPN_UHCI_ENABLED "ports.usb.uhci.enabled"
|
|
|
|
#define BXPN_USB_OHCI "ports.usb.ohci"
|
|
|
|
#define BXPN_OHCI_ENABLED "ports.usb.ohci.enabled"
|
2015-12-06 23:03:42 +03:00
|
|
|
#define BXPN_USB_EHCI "ports.usb.ehci"
|
|
|
|
#define BXPN_EHCI_ENABLED "ports.usb.ehci.enabled"
|
2011-07-04 23:42:47 +04:00
|
|
|
#define BXPN_USB_XHCI "ports.usb.xhci"
|
|
|
|
#define BXPN_XHCI_ENABLED "ports.usb.xhci.enabled"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_NE2K "network.ne2k"
|
2012-07-12 01:03:59 +04:00
|
|
|
#define BXPN_PNIC "network.pcipnic"
|
2011-12-14 00:53:44 +04:00
|
|
|
#define BXPN_E1000 "network.e1000"
|
2013-06-30 12:21:26 +04:00
|
|
|
#define BXPN_SOUNDLOW "sound.lowlevel"
|
2015-03-07 01:54:30 +03:00
|
|
|
#define BXPN_SOUND_WAVEOUT_DRV "sound.lowlevel.waveoutdrv"
|
2013-06-30 12:21:26 +04:00
|
|
|
#define BXPN_SOUND_WAVEOUT "sound.lowlevel.waveout"
|
2015-03-07 01:54:30 +03:00
|
|
|
#define BXPN_SOUND_WAVEIN_DRV "sound.lowlevel.waveindrv"
|
2013-07-06 19:12:04 +04:00
|
|
|
#define BXPN_SOUND_WAVEIN "sound.lowlevel.wavein"
|
2015-03-07 01:54:30 +03:00
|
|
|
#define BXPN_SOUND_MIDIOUT_DRV "sound.lowlevel.midioutdrv"
|
2015-02-17 11:33:07 +03:00
|
|
|
#define BXPN_SOUND_MIDIOUT "sound.lowlevel.midiout"
|
2013-06-16 22:52:34 +04:00
|
|
|
#define BXPN_SOUND_SPEAKER "sound.speaker"
|
2011-03-12 20:37:26 +03:00
|
|
|
#define BXPN_SOUND_SB16 "sound.sb16"
|
|
|
|
#define BXPN_SOUND_ES1370 "sound.es1370"
|
2009-11-15 23:50:41 +03:00
|
|
|
#define BXPN_PORT_E9_HACK "misc.port_e9_hack"
|
|
|
|
#define BXPN_GDBSTUB "misc.gdbstub"
|
|
|
|
#define BXPN_LOG_FILENAME "log.filename"
|
|
|
|
#define BXPN_LOG_PREFIX "log.prefix"
|
|
|
|
#define BXPN_DEBUGGER_LOG_FILENAME "log.debugger_filename"
|
|
|
|
#define BXPN_MENU_DISK "menu.disk"
|
|
|
|
#define BXPN_MENU_DISK_WIN32 "menu.disk_win32"
|
|
|
|
#define BXPN_MENU_RUNTIME_CDROM "menu.runtime.cdrom"
|
|
|
|
#define BXPN_MENU_RUNTIME_USB "menu.runtime.usb"
|
|
|
|
#define BXPN_MENU_RUNTIME_MISC "menu.runtime.misc"
|
|
|
|
|
|
|
|
#endif
|