[edk2-devel] Guideline for porting third-party library to EDK2

Kilian Kegel KILIAN_KEGEL at OUTLOOK.COM
Tue Dec 8 03:35:46 UTC 2020


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<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Michael D Kinney<mailto:michael.d.kinney at intel.com>
Sent: Monday, December 7, 2020 11:00 PM
To: devel at edk2.groups.io<mailto:devel at edk2.groups.io>; aj.shirvani at gmail.com<mailto:aj.shirvani at gmail.com>; Kinney, Michael D<mailto:michael.d.kinney at intel.com>
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
     *   https://github.com/tianocore/edk2-libc
  2.  Another C lib port with smaller footprint under development
     *   https://github.com/tianocore/edk2-staging/tree/CdePkg
  3.  Some examples that use gaskets between EDK II and a small subset of required services:
     *   https://github.com/tianocore/edk2/tree/master/CryptoPkg/Library/OpensslLib
     *   https://github.com/tianocore/edk2/blob/master/UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf
     *   https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Universal/RegularExpressionDxe
     *   https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Library/BrotliCustomDecompressLib

Best regards,

Mike

From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Ali Shirvani
Sent: Monday, December 7, 2020 10:40 AM
To: devel at 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




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#68431): https://edk2.groups.io/g/devel/message/68431
Mute This Topic: https://groups.io/mt/78785221/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201208/abafa457/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 62D68255F3FF47F48F1DC7BA4EC46BD0.png
Type: image/png
Size: 132 bytes
Desc: 62D68255F3FF47F48F1DC7BA4EC46BD0.png
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201208/abafa457/attachment.png>


More information about the edk2-devel-archive mailing list