Alexei,
You are right. Thanks for your comments.
Br
Feng
From: Alexei Fedorov [mailto:[email protected]]
Sent: Monday, February 10, 2014 19:33
To: [email protected]
Subject: [edk2] InitializeDebugPortDriver() & DebugPortSupported() always
return EFI_SUCCESS
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
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel