Nico,
You want to develop an application which needs file system access support but 
doesn't depend on Shell environment. So you link your application to 
UefiShellLib and change the shell library to handle the case when it's not in 
the Shell environment.
Is my understanding correct?

If yes, I suggest you directly use MdePkg/Library/UefiFileHandleLib. It 
provides file system access support while doesn't depend on Shell environment.

It's a bit strange to remove the hard dependency of Shell environment from 
Uefi*Shell*Lib.

Regards,
Ray

From: [email protected] [mailto:[email protected]]
Sent: Tuesday, September 6, 2016 8:02 PM
To: [email protected]
Cc: Carsey, Jaben <[email protected]>; Ni, Ruiyu <[email protected]>
Subject: [PATCH] ShellPkg: More fallbacks + error handling in UefiShellLib

Dear edk2 developers,
I've made a patch in the edk2 ShellPkg CodeModule. It improves compatibility 
when no Efi Shell is available. I've noted all details on Github. To not 
duplicate the information, please visit this link below. You can also find and 
compare the code there:
https://github.com/tianocore/edk2/pull/111

It would be really nice if you can have a look at the patch. Some further 
discussion might be required before this patch gets applied. Feedback is highly 
welcome. Thanks a lot :)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by:  Nico Schulz 
[email protected]<mailto:[email protected]>

Cheers,
Nico

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to