]> git.proxmox.com Git - mirror_edk2.git/commit
updated the Bus Driver that is able to create all or one of its child handles on...
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Sep 2009 08:55:03 +0000 (08:55 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Sep 2009 08:55:03 +0000 (08:55 +0000)
commitaf4a63857cd189964cc2c6b53b54483efaba78a3
tree791e8df39b79520e7e3c7cbb9bb33bc2d0bb89c5
parent0cd118f7799602a88a5feb8ff1ef3e011a04b8ad
updated the Bus Driver that is able to create all or one of its child handles on each call to Start() 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 IO protocol 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@9262 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c
IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.c
Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c
UnixPkg/UnixBusDriverDxe/UnixBusDriver.c
UnixPkg/UnixSerialIoDxe/UnixSerialIo.c