Hi, experts:
I have a question about UEFI Shell App:

1.      UEFI App’s EntryPoint usually is as below:

UefiMain (

  IN EFI_HANDLE        ImageHandle,

  IN EFI_SYSTEM_TABLE  *SystemTable

  )



When launches App at Shell command prompt:

EFI_LOADED_IMAGE_PROTOCOL / EFI_SHELL_PARAMETERS_PROTOCOL will be installed on 
ImageHandle!



So:

How about EFI_SHELL_PROTOCOL?

Would it be also installed on ImageHandle?



I tried to :

  Status = gBS->OpenProtocol(

    ImageHandle,

    &gEfiShellProtocolGuid,

    (VOID **)&pTstEfiShellProtocol,

    ImageHandle,

    NULL,

    EFI_OPEN_PROTOCOL_GET_PROTOCOL

   );



But failed, and Status = EFI_UNSUPPORTED !

My Shell version is: (ver cmd in shell prompt)
UEFI Interactive Shell v2.1


Best wishes,



本邮件仅针对指定的收件人发送并可能含有保密或专有内容。任何非指定收件人所为之查阅、转发或使用本信息是不被允许的。
如果您误收到本邮件,请立即告知发件人并删除本邮件及所有附件。谢谢!
The information transmitted in this e-mail is intended only for the addressee 
and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
e-mail in error, please notify the sender immediately, and delete this e-mail 
and any attachments. Thank you.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to