Hi,

Please look @the issues below:

\edk2\MdeModulePkg\Universal\DebugPortDxe\DebugPort.c,

1)       InitializeDebugPortDriver() line #143:

  ASSERT_EFI_ERROR (Status);

  return EFI_SUCCESS;

This should be
  ASSERT_EFI_ERROR (Status);

  return Status;


2)       DebugPortSupported() line #244

  gBS->CloseProtocol (
        ControllerHandle,
        &gEfiSerialIoProtocolGuid,
        This->DriverBindingHandle,
        ControllerHandle
        );

  return EFI_SUCCESS;

Should be:
  Status = gBS->CloseProtocol (
                           ControllerHandle,
                           &gEfiSerialIoProtocolGuid,
                           This->DriverBindingHandle,
                           ControllerHandle
                           );

  return Status;

Alexei.



-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to