On 02/05/16 12:44, Michael Zimmermann wrote:
> Hi,
> 
> how can I boot a EFI application if I have it's 'EFI_FILE_PROTOCOL'?
> 'BdsStartEfiApplication' does only accept a 'EFI_DEVICE_PATH'.

You could do the following:
- call LocateHandle() to find all handles that have EFI_FILE_PROTOCOL
  installed
- on each handle returned, call OpenProtocol() with GET_PROTOCOL and
  the EFI_FILE_PROTOCOL GUID, and see if the returned protocol
  interface address matches the one that you already have
- if so, call OpenProtocol() with GET_PROTOCOL and the
  EFI_DEVICE_PATH_PROTOCOL GUID on the same handle.

Laszlo

> 
> Michael
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to