Re: [edk2] GenericBdsLib equivalent of 'BdsStartEfiApplication'

2016-02-11 Thread Leif Lindholm
On Wed, Feb 10, 2016 at 05:33:26PM +0100, Michael Zimmermann wrote:
> Hi,
> 
> I'm trying to switch from ARM's BdsLib to Intel's generic once.
> the only function that's left is 'BdsStartEfiApplication'. apparently the
> generic variant only allows booting via bootoptions.
> So, do we plan to move these functions out of ARM's BdsLib or is there
> another way?

What other methods are you looking for?
Android Fastboot?

A better way would be to update that module to use the built-in kernel
stub loader rather than the LinuxLoader module.

/
Leif

> to make it easier for you, this is the function's signature:
> /**
>   Start an EFI Application from a Device Path
> 
>   @param  ParentImageHandle Handle of the calling image
>   @param  DevicePathLocation of the EFI Application
> 
>   @retval EFI_SUCCESS   All drivers have been connected
>   @retval EFI_NOT_FOUND The Linux kernel Device Path has not been
> found
>   @retval EFI_OUT_OF_RESOURCES  There is not enough resource memory to
> store the matching results.
> 
> **/
> EFI_STATUS
> BdsStartEfiApplication (
>   IN EFI_HANDLE  ParentImageHandle,
>   IN EFI_DEVICE_PATH_PROTOCOL*DevicePath,
>   IN UINTN   LoadOptionsSize,
>   IN VOID*   LoadOptions
>   );
> 
> 
> 
> 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


[edk2] GenericBdsLib equivalent of 'BdsStartEfiApplication'

2016-02-10 Thread Michael Zimmermann
Hi,

I'm trying to switch from ARM's BdsLib to Intel's generic once.
the only function that's left is 'BdsStartEfiApplication'. apparently the
generic variant only allows booting via bootoptions.
So, do we plan to move these functions out of ARM's BdsLib or is there
another way?

to make it easier for you, this is the function's signature:
/**
  Start an EFI Application from a Device Path

  @param  ParentImageHandle Handle of the calling image
  @param  DevicePathLocation of the EFI Application

  @retval EFI_SUCCESS   All drivers have been connected
  @retval EFI_NOT_FOUND The Linux kernel Device Path has not been
found
  @retval EFI_OUT_OF_RESOURCES  There is not enough resource memory to
store the matching results.

**/
EFI_STATUS
BdsStartEfiApplication (
  IN EFI_HANDLE  ParentImageHandle,
  IN EFI_DEVICE_PATH_PROTOCOL*DevicePath,
  IN UINTN   LoadOptionsSize,
  IN VOID*   LoadOptions
  );



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