Hi Ali,

 

CdePkg sub-project aims to get Standard C90 programs running in POST.

 

It is still under construction and works in EmulatorPkg and on a real MinnowBoard,

and currently builds in VisualStudio VS2019 environment only.

More improvements on CdePkg are coming soon…

 

Best regards,

Kilian

 

 

Sent from Mail for Windows 10

 

From: Michael D Kinney
Sent: Monday, December 7, 2020 11:00 PM
To: devel@edk2.groups.io; aj.shirvani@gmail.com; Kinney, Michael D
Subject: Re: [edk2-devel] Guideline for porting third-party library to EDK2

 

Hi Ali,

 

There are no specific guidelines.

 

However, there are a few resources and examples you can consult:

 

  1. Full C lib at
    1. https://github.com/tianocore/edk2-libc
  2. Another C lib port with smaller footprint under development
    1. https://github.com/tianocore/edk2-staging/tree/CdePkg
  3. Some examples that use gaskets between EDK II and a small subset of required services:
    1. https://github.com/tianocore/edk2/tree/master/CryptoPkg/Library/OpensslLib
    2. https://github.com/tianocore/edk2/blob/master/UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf
    3. https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Universal/RegularExpressionDxe
    4. https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Library/BrotliCustomDecompressLib

 

Best regards,

 

Mike

 

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ali Shirvani
Sent: Monday, December 7, 2020 10:40 AM
To: devel@edk2.groups.io
Subject: [edk2-devel] Guideline for porting third-party library to EDK2

 

Hi all,

 

I want to port some third-party libraries, written in C/C++ to EDK2.

Is there any guideline or tutorial about the procedure?

 

Regards,

Ali