audk/OptionRomPkg
mdkinney 4a823e23b1 The Driver Binding Protocol Stop() function for the UndiRuntimeDxe is performing actions in the incorrect order. The call to UninstallMultipleProtocolInterfaces() removes all the protocols from the child handle, which means ChildHandleBuffer[Index] is no longer valid. After the call to UninstallMultipleProtocolInterfaces(), ChildHandleBuffer[Index] is used again in a call to CloseProtocol(). The handle is not valid, so CloseProtocol() returns an error and generates an ASSERT().
This patch changes the order to call CloseProtocol() before calling UninstallMultipleProtocolInterfaces().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13781 6f19259b-4bc3-4df7-8a09-765794883524
2012-10-03 23:49:50 +00:00
..
Application/BltLibSample Add data type convert action to avoid warning. 2011-05-04 03:40:43 +00:00
AtapiPassThruDxe Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2011-07-06 03:44:19 +00:00
Bus/Usb/UsbNetworking/Ax88772 Fixed header comment 2012-06-14 18:36:50 +00:00
CirrusLogic5430Dxe Fix comparisons of enumerated types which may cause warnings for some compilers. 2012-08-28 06:48:28 +00:00
Include/Library update copyright line format 2011-06-07 08:07:29 +00:00
Library Refine file header format to follow coding style. 2011-12-16 05:46:57 +00:00
UndiRuntimeDxe The Driver Binding Protocol Stop() function for the UndiRuntimeDxe is performing actions in the incorrect order. The call to UninstallMultipleProtocolInterfaces() removes all the protocols from the child handle, which means ChildHandleBuffer[Index] is no longer valid. After the call to UninstallMultipleProtocolInterfaces(), ChildHandleBuffer[Index] is used again in a call to CloseProtocol(). The handle is not valid, so CloseProtocol() returns an error and generates an ASSERT(). 2012-10-03 23:49:50 +00:00
Contributions.txt EDK II Packages: Add Contributions.txt and License.txt files 2012-04-11 23:19:46 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
OptionRomPkg.dec Clean up DEC files: 2011-05-09 17:50:20 +00:00
OptionRomPkg.dsc OptionRomPkg BltLibSample: Add sample application for BltLib 2011-04-12 15:08:26 +00:00
ReadMe.txt Add preparation for FAR release. 2007-12-21 03:27:03 +00:00

ReadMe.txt

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

AtapiPassThru:
  For now, AtapiPassThru driver in this package is to test Scsi Bus support:
  ScsiBus driver should support both/either ScsiPassThru and ExtScsiPassThru
  installed on a controller handle.
   
  AtapiPassThru driver in this package can selectively produce ScsiPassThru
  and/or ExtScsiPassThru protocol based on feature flags of PcdSupportScsiPassThru
  and PcdSupportExtScsiPassThru.

CirrusLogic5430:
  Sample implementation of UGA Draw or Graphics Output Protocol for the Cirrus
  Logic 5430 family of PCI video card. It provides reference code for the GOP/UGA,
  Component Name (2), EFI driver supported Verison protocol.

Build Validation:
MYTOOLS(VS2005) IA32 X64 IPF EBC
ICC             IA32 X64 IPF
CYGWINGCC       IA32 X64