From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR06-DB8-obe.outbound.protection.outlook.com (EUR06-DB8-obe.outbound.protection.outlook.com [40.92.51.25]) by mx.groups.io with SMTP id smtpd.web09.3493.1607398549175352932 for ; Mon, 07 Dec 2020 19:35:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@outlook.com header.s=selector1 header.b=TFeuVlpU; spf=pass (domain: outlook.com, ip: 40.92.51.25, mailfrom: kilian_kegel@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SKOZEzgS1mr/WeS6FkYtxsLNvTroc07HiwQ+ejmKs9lFS+jyPImUiTgpTBFOJo/UlLiOwt42pdcotFHTsq2RsNgRPxB1xsmazV90ptGK+C+4olYJ0eOewjYDNyfUjNbB7eThqHKhAsinjfZnI6oE48rLS4q0hyHthauBBKeCkdgQiBTchyrWmGObGUSP39zp+QcKUS6pAZI7GiySQGtD6MpOXPRW7cZXlbanX1YM2Dx4MOtXdKWxXLbuyokHQ7ajYUUFadsgqPPeOkK/nwa7h/5RZEaDlHuJtjEZpnrdC16Kz9ctYZFXOQ0O3ejOy4iCsATa3/GSE1Y7X9DlxukjPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1NmWbfEmW/cIzlxgWHlgtYONByYTjflRYp59Bsl3uI0=; b=T90DuC6ACDso6nP9ZzwdDWGUIwm6r9k0km74MBTmaVQk/BPbB+Y4ewVJTsufyByCy576nmox/pwtwLybhU8tJJAXX+XYzKkaC4tdZn9nEy0GBRnWpTgkUbT0aEY125xmAUqpi/kBKof1/b3ETAPeFIu4e7UjJaT9fBBsA+5cyoLyorLsGl7azH6iCy3PbuY5M3vW4bu0NZZuALYiyoqPjZbrZ64CUlG8klNB3wVjD74fmfkFyK5tcb8MheV87vIPODI0NgpdAM/UyWr4Qn2HPAdW06vIl6G2vAGPOli9CbJIznloP+YTuaf/3cFMOCV0EEAFtYffZB3lPMtAjIrCrA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1NmWbfEmW/cIzlxgWHlgtYONByYTjflRYp59Bsl3uI0=; b=TFeuVlpUzhyCnrVjP8DzdrJkCXQi3KWo4jrnM4sJ2k0pqmRYAV0QIq1Jw3UHvc2yKKq9HLd5z6YG6+5+QVwEKhajXaszDO0hB4yniUeLA1pqk1W0yK34Y1eoP8pDhMNfU5mIah+iIZbZt5pmdnSg9e9LUDl4Aca3jTt/qC6sJv9gOAgP5JDztHcJQKZgrimWBGqjn27YmDPg3jDQR/hBnQJLNQQMKXK1/Gf6Jvzl5zv4DPMwQxG43EZqZrQq1r2mgbTMWyoyXhOX7qjFGW/QcW0/C3oVGSdq1ZLBVK7yNQXjNettobCTWL/OjPi8OWS2VifnKIgFu+/lpxG0xp2NqA== Received: from VI1EUR06FT062.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::48) by VI1EUR06HT110.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::398) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Tue, 8 Dec 2020 03:35:47 +0000 Received: from AM8P190MB0945.EURP190.PROD.OUTLOOK.COM (2a01:111:e400:fc37::49) by VI1EUR06FT062.mail.protection.outlook.com (2a01:111:e400:fc37::85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Tue, 8 Dec 2020 03:35:47 +0000 Received: from AM8P190MB0945.EURP190.PROD.OUTLOOK.COM ([fe80::a81e:4115:7b05:5437]) by AM8P190MB0945.EURP190.PROD.OUTLOOK.COM ([fe80::a81e:4115:7b05:5437%6]) with mapi id 15.20.3632.023; Tue, 8 Dec 2020 03:35:46 +0000 From: "Kilian Kegel" To: "devel@edk2.groups.io" , "michael.d.kinney@intel.com" , "aj.shirvani@gmail.com" Subject: Re: [edk2-devel] Guideline for porting third-party library to EDK2 Thread-Topic: [edk2-devel] Guideline for porting third-party library to EDK2 Thread-Index: AQHWzMhc9ISbFXCgoUOjekm1mDfDqansLwuAgABaR6k= Date: Tue, 8 Dec 2020 03:35:46 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:97E1EC0814C0A6F437225FB6ED7AC66618CFE810450D60A8074B0F74B120CC75;UpperCasedChecksum:7ED8B0526FE0C0C17C6F53D8E2CA9750FEDEA460B542EA051D87B2B23C291415;SizeAsReceived:7062;Count:43 x-tmn: [Qe3Kh21LJE8p4pWeKqAXe8sxOcn2nXHG] x-ms-publictraffictype: Email x-incomingheadercount: 43 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: d554dab7-a1f4-45ce-d85a-08d89b2a59a3 x-ms-traffictypediagnostic: VI1EUR06HT110: x-ms-exchange-minimumurldomainage: groups.io#3683 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VcGliw104SEavzc01Kei0VzA227ABXEIJ3pi3Eq3Zw2aRVvyhZRmmBxgh+BrvsEdCXTb/keG4EJNgRjECXvqXKvQrDiT7qtv4PGT8tQxRslZOPOdRefOm974L8743beJhN+OhLAHBKlKd+7TUkg1/GAFhxWFlRg1yaL/ws8+68NEIiYv9jJbqmwJ/xOUxf0sxrUHdOLrGhVWArLEnW8yaWD6lF3I8AT+QX81tDdCbnnoRcJMxWE9WiPI32Mn3x0V x-ms-exchange-antispam-messagedata: jmxEgNvGZ8cyF1yIHuTHPT6LWSNkHZnTtiSp6D/9BCU1CjTS6fkxC239Jji9QeYRozlHFUK5iFs+WF+jt+9akhuzWdgOVp6DdzjFRGCPwSxOxzSvOAY8gU2rCO7sWUtDxsXmD+Oeo1w2Bq2kslOCTA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: VI1EUR06FT062.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: d554dab7-a1f4-45ce-d85a-08d89b2a59a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2020 03:35:46.6741 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR06HT110 X-Groupsio-MsgNum: 68431 Content-Language: en-US Content-Type: multipart/related; boundary="_004_AM8P190MB09458520DC7CED5685C372A0EBCD0AM8P190MB0945EURP_"; type="multipart/alternative" --_004_AM8P190MB09458520DC7CED5685C372A0EBCD0AM8P190MB0945EURP_ Content-Type: multipart/alternative; boundary="_000_AM8P190MB09458520DC7CED5685C372A0EBCD0AM8P190MB0945EURP_" --_000_AM8P190MB09458520DC7CED5685C372A0EBCD0AM8P190MB0945EURP_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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 Minn= owBoard, and currently builds in VisualStudio VS2019 environment only. More improvements on CdePkg are coming soon=85 Best regards, Kilian Sent from Mail for Windo= ws 10 From: Michael D Kinney Sent: Monday, December 7, 2020 11:00 PM To: devel@edk2.groups.io; aj.shirvani@gmail.c= om; Kinney, Michael D Subject: Re: [edk2-devel] Guideline for porting third-party library to EDK= 2 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/O= pensslLib * https://github.com/tianocore/edk2/blob/master/UnitTestFrameworkPk= g/Library/CmockaLib/CmockaLib.inf * https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Univer= sal/RegularExpressionDxe * https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Librar= y/BrotliCustomDecompressLib Best regards, Mike From: devel@edk2.groups.io On Behalf Of Ali Shirvan= i 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 --_000_AM8P190MB09458520DC7CED5685C372A0EBCD0AM8P190MB0945EURP_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Hi Ali,

 

CdePkg sub-project aims to get Standard C90 program= s running in POST.

 

It is still under construction and works in Emulato= rPkg and on a real MinnowBoard,

and currently builds in VisualStudio VS2019 environ= ment only.

More improvements on CdePkg are coming soon=85

 

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; K= inney, 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.co= m/tianocore/edk2-libc
  2. Another C lib port with smaller footprint under development
    1. ht= tps://github.com/tianocore/edk2-staging/tree/CdePkg
    2. 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/L= ibrary/CmockaLib/CmockaLib.inf
      3. https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Universa= l/RegularExpressionDxe
      4. https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Library/Brotl= iCustomDecompressLib

     

    Best regards,

     

    Mike

     

    From: devel@edk2.groups.io <devel@edk2.gr= oups.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 proced= ure?

     

    Regards,

    Ali

     

    --_000_AM8P190MB09458520DC7CED5685C372A0EBCD0AM8P190MB0945EURP_-- --_004_AM8P190MB09458520DC7CED5685C372A0EBCD0AM8P190MB0945EURP_ Content-Type: image/png; name="62D68255F3FF47F48F1DC7BA4EC46BD0.png" Content-Description: 62D68255F3FF47F48F1DC7BA4EC46BD0.png Content-Disposition: inline; filename="62D68255F3FF47F48F1DC7BA4EC46BD0.png"; size=132; creation-date="Tue, 08 Dec 2020 03:35:46 GMT"; modification-date="Tue, 08 Dec 2020 03:35:46 GMT" Content-ID: Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAsQAAAABCAYAAADZ77itAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZSURBVEhL7cEBAQAAAIIg/69uSEAAAPCrBgsR AAHZdg1RAAAAAElFTkSuQmCC --_004_AM8P190MB09458520DC7CED5685C372A0EBCD0AM8P190MB0945EURP_--