Windows 驱动开发内核调试环境设置问题
骆驼的马甲 2016-11-14 12:48:16 初次接触WINDOWS驱动开发,最近在折腾内核调试环境,我遇到一个问题
bcdedit /enum 得到结果如下:
C:\Windows\system32>bcdedit /enum 这里显示使用的调试串口是2
Windows 启动管理器
--------------------
标识符 {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale zh-CN
inherit {globalsettings}
debugtype Serial
debugport 2
baudrate 115200[
bootdebug Yes
default {current}
resumeobject {b1c22f63-9e73-11e6-9704-af3d72110ba9}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Windows 启动加载器
-------------------
标识符 {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale zh-CN
inherit {bootloadersettings}
recoverysequence {b1c22f65-9e73-11e6-9704-af3d72110ba9}
recoveryenabled Yes
testsigning Yes
osdevice partition=C:
systemroot \Windows
resumeobject {b1c22f63-9e73-11e6-9704-af3d72110ba9}
nx OptIn
usefirmwarepcisettings No
bootlog Yes
sos Yes
debug Yes
查询全局设置,发现显示的串口是1,为什么啊?谁能指点一下?
C:\Windows\system32>bcdedit /dbgsettings
debugtype Serial
debugport 1
baudrate 115200
操作成功完成。
C:\Windows\system32>