Hi Andrew, hi Jordan, hi Maciej, hi all,

this task was suggested by @ajfish and @jljusten at tianocore / 
tianocore.github.io:
https://github.com/tianocore/tianocore.github.io/wiki/Tasks#port-acpi-ca-to-a-shell-application.

All in all it could be solved within a really small amount of time, with a 
small amount of changes and extensions  some months ago


  *   build Visual-ACPICA-for-UEFI-Shell: 
https://www.youtube.com/watch?v=POfSJQXi2aM
  *   run ACPIDUMP.efi and ASLCOMPILER.efi: 
https://www.youtube.com/watch?v=oA1GA95WrF0

My concept here was to choose the existing Microsoft VisualStudio package and
adjust it to run in the UEFI environment, by reimplementing missing Win32-API 
functions (amount of 8).
This could be done using the Microsoft-C-Library compatible 
toro-C-Library<https://github.com/KilianKegel/toro-C-Library#toro-c-library-formerly-known-as-torito-c-library>

Maybe that concept is also useable for porting “openSSH” to UEFI Shell: 
https://github.com/tianocore/tianocore.github.io/wiki/Tasks#port-openssh-as-a-shell-application

@Maciej Rabeda<mailto:maciej.rab...@linux.intel.com>
The toro-C-Library source code is included in the project.
You can check what is inside, how it works internally and how I do believe a
C-Library for UEFI Shell/SMM/DXE/PEI should be constructed that guarantees
compatibility/portability+testability for POST drivers and UEFI/Windows Shell 
applications by design.

The “toro-C-Library” build engine is VisualStudio/msbuild.exe only. It takes 20 
Seconds to get it done.
The older “torito-C-Library” build engine is EDK2Build. It takes 120 seconds to 
get it done, for the same result,
on the same build machine.

If you want to build the samples, please get the entire CdePkg from 
edk2-staging that also includes the blog,
https://github.com/tianocore/edk2-staging/tree/CdePkg

If you just want to read the new blog:
https://github.com/tianocore/edk2-staging/blob/CdePkg/blogs/2022-01-16/README.md#cdepkgblog-2022-01-16

Enjoy the breathtaking speed and elegance of VisualStudio

Have fun,
Kilian




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85720): https://edk2.groups.io/g/devel/message/85720
Mute This Topic: https://groups.io/mt/88470049/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to