]> git.proxmox.com Git - mirror_edk2.git/commit
updated WinNtSerialIoDxe driver not to create new child handle if RemainingDeviepath...
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 10 Sep 2009 08:42:52 +0000 (08:42 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 10 Sep 2009 08:42:52 +0000 (08:42 +0000)
commitf22911b49e8be58d364f9e21f5af6bd3f0513cf7
treee3c75d96eb32bdddd956603a9c71a3efc77c0b20
parent3831f3e9a921eb7b8dbfcaf06acdf9eef9127204
updated WinNtSerialIoDxe driver not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.

The others changes include:
1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
2. Check efiWinNtIoProtocolGuid firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9256 6f19259b-4bc3-4df7-8a09-765794883524
Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c