Debugging Tools for Windows

BCD引导选项参考

引导入口参数,又称引导参数,是可选的针对特定系统的配置选项。可以为某个操作系统的引导入口添加引导参数。

本节描述在基于x86、x64和Itanium处理器的运行Windows Vista和之后版本的Windows机器上与驱动程序开发、测试和调试相关的引导选项。可以将这些引导参数添加到Windows的引导入口中。

BCDEdit选项和成员到Boot.ini选项的映射

下表描述了Windows Vista之前使用Boot.ini的引导参数到Windows Vista和之后的系统BCDEdit选项、BCD元素之间的对应关系。关于BCD引导元素的信息,可以在MSDN中查看  BCD Reference

Boot.ini BCDEdit 选项 BCD 成员类型
/3GB increaseuserva BcdOSLoaderInteger_IncreaseUserVa
/BASEVIDEO vga



BcdOSLoaderBoolean_UseVgaDriver
/BOOTLOG bootlog



BcdOSLoaderBoolean_BootLogInitialization
/BREAK halbreakpoint



BcdOSLoaderBoolean_DebuggerHalBreakpoint
/CRASHDEBUG /dbgsettings /start



/DEBUG, BOOTDEBUG /debug

/bootdebug





BcdLibraryBoolean_DebuggerEnabled

/DEBUG /debug



BcdOSLoaderBoolean_KernelDebuggerEnabled
/DEBUG, /DEBUGPORT= /dbgsettings



BcdLibraryInteger_DebuggerType
/DEBUGPORT= /dbgsettings DebugType [debugport:Port] [baudrate:Baud] [channel:Channel] [targetname:TargetName] [/start {Active |Autoenable |Disable} /noemux]



BcdLibraryInteger_SerialDebuggerPort

BcdLibraryInteger_SerialDebuggerBaudRate

BcdLibraryInteger_1394DebuggerChannel

BcdLibraryString_UsbDebuggerTargetName

/EXECUTE nx



BcdOSLoaderInteger_NxPolicy
/FASTDETECT
/HAL= hal



BcdOSLoaderString_HalPath
/KERNEL= kernel



BcdOSLoaderString_KernelPath
/MAXMEM= truncatememory



BcdLibraryInteger_TruncatePhysicalMemory
/NODEBUG /debug



/NOEXECUTE nx {



BcdOSLoaderInteger_NxPolicy
/NOGUIBOOT quietboot



BcdOSLoaderBoolean_DisableBootDisplay
/NOLOWMEM nolowmem



BcdOSLoaderBoolean_NoLowMemory
/NOPAE pae BcdOSLoaderInteger_PAEPolicy
/ONECPU onecpu



BcdOSLoaderBoolean_UseBootProcessorOnly
/PAE pae BcdOSLoaderInteger_PAEPolicy
/PCILOCK usefirmwarepcisettings



BcdOSLoaderInteger_UseFirmwarePciSettings
/REDIRECT /ems



/emssettings [ BIOS ] |

[ EMSPORT:{port} | [EMSBAUDRATE: {baudrate}] ]





BcdOSLoaderBoolean_EmsEnabled
/SOS sos



Build machine: CAPEBUILD