* Guideline for porting third-party library to EDK2
@ 2020-12-07 18:39 Ali Shirvani
2020-12-07 21:59 ` [edk2-devel] " Michael D Kinney
0 siblings, 1 reply; 3+ messages in thread
From: Ali Shirvani @ 2020-12-07 18:39 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 148 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] Guideline for porting third-party library to EDK2
2020-12-07 18:39 Guideline for porting third-party library to EDK2 Ali Shirvani
@ 2020-12-07 21:59 ` Michael D Kinney
2020-12-08 3:35 ` Kilian Kegel
0 siblings, 1 reply; 3+ messages in thread
From: Michael D Kinney @ 2020-12-07 21:59 UTC (permalink / raw)
To: devel@edk2.groups.io, aj.shirvani@gmail.com, Kinney, Michael D
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
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@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
[-- Attachment #2: Type: text/html, Size: 45997 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] Guideline for porting third-party library to EDK2
2020-12-07 21:59 ` [edk2-devel] " Michael D Kinney
@ 2020-12-08 3:35 ` Kilian Kegel
0 siblings, 0 replies; 3+ messages in thread
From: Kilian Kegel @ 2020-12-08 3:35 UTC (permalink / raw)
To: devel@edk2.groups.io, michael.d.kinney@intel.com,
aj.shirvani@gmail.com
[-- Attachment #1.1: Type: text/plain, Size: 1943 bytes --]
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@intel.com>
Sent: Monday, December 7, 2020 11:00 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; aj.shirvani@gmail.com<mailto:aj.shirvani@gmail.com>; Kinney, Michael D<mailto:michael.d.kinney@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@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
[-- Attachment #1.2: Type: text/html, Size: 8425 bytes --]
[-- Attachment #2: 62D68255F3FF47F48F1DC7BA4EC46BD0.png --]
[-- Type: image/png, Size: 132 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-08 3:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-07 18:39 Guideline for porting third-party library to EDK2 Ali Shirvani
2020-12-07 21:59 ` [edk2-devel] " Michael D Kinney
2020-12-08 3:35 ` Kilian Kegel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox