Re: [edk2-devel] Refactoring the UEFI shell
Hi, Sheng: Could you help to implement a new redirection mechanism? For example: User wants to output messages on screen, and also redirect the output messages into a file at the same time . Current redirection mechanism is a alternative choice. At 2024-03-27 18:27:34, "Sheng Lean Tan" wrote: Hi all, Any feedback regarding this? :P Any thoughts? Much appreciated! Best Regards, Sheng On Tue, 19 Mar 2024 at 18:44, Benjamin Doron wrote: Hi all, We're planning to refactor the shell into a library so that shell apps possibly used in the field for testing can be easily adapted for automation. Our plan is: Refactor ShellInfoObject into base internals and interactive elements Migrate functions that imply interactivity into a new library class, and write some stubs in a LibNull Refactor last shell app files (file interface, shell env var) into another (or same) library Implement non-interactive functions, as required Write an example implementation in MdeModulePkg/Application/ We're looking for thoughts and ideas on our approach, as well as opinions on the concept. Best regards, Benjamin -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117356): https://edk2.groups.io/g/devel/message/117356 Mute This Topic: https://groups.io/mt/105028827/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] Refactoring the UEFI shell
Hi all, Any feedback regarding this? :P Any thoughts? Much appreciated! Best Regards, Sheng On Tue, 19 Mar 2024 at 18:44, Benjamin Doron wrote: > Hi all, > We're planning to refactor the shell into a library so that shell apps > possibly used in the field for testing can be easily adapted for automation. > > Our plan is: > >- Refactor ShellInfoObject into base internals and interactive elements >- Migrate functions that imply interactivity into a new library class, >and write some stubs in a LibNull >- Refactor last shell app files (file interface, shell env var) into >another (or same) library >- Implement non-interactive functions, as required >- Write an example implementation in MdeModulePkg/Application/ > > > We're looking for thoughts and ideas on our approach, as well as opinions > on the concept. > > Best regards, > Benjamin > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117165): https://edk2.groups.io/g/devel/message/117165 Mute This Topic: https://groups.io/mt/105028827/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[edk2-devel] Refactoring the UEFI shell
Hi all, We're planning to refactor the shell into a library so that shell apps possibly used in the field for testing can be easily adapted for automation. Our plan is: - Refactor ShellInfoObject into base internals and interactive elements - Migrate functions that imply interactivity into a new library class, and write some stubs in a LibNull - Refactor last shell app files (file interface, shell env var) into another (or same) library - Implement non-interactive functions, as required - Write an example implementation in MdeModulePkg/Application/ We're looking for thoughts and ideas on our approach, as well as opinions on the concept. Best regards, Benjamin -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116903): https://edk2.groups.io/g/devel/message/116903 Mute This Topic: https://groups.io/mt/105028827/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-