From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 03C598218E for ; Wed, 21 Dec 2016 06:27:26 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 21 Dec 2016 06:27:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,383,1477983600"; d="scan'208";a="1085066883" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 21 Dec 2016 06:27:25 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 21 Dec 2016 06:27:24 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 21 Dec 2016 06:27:24 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.177]) with mapi id 14.03.0248.002; Wed, 21 Dec 2016 22:27:22 +0800 From: "Gao, Liming" To: Andrew Fish , edk2-devel Thread-Topic: [edk2] FDF Spec question? Thread-Index: AQHSWyD6ajcIFFV2/UCS/4347so5i6EScM3Q Date: Wed, 21 Dec 2016 14:27:21 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6C1D52@shsmsx102.ccr.corp.intel.com> References: <4B9E734E-C111-4CDB-AA8E-B3FA8B06D22B@apple.com> In-Reply-To: <4B9E734E-C111-4CDB-AA8E-B3FA8B06D22B@apple.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: FDF Spec question? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 14:27:27 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Andrew: Encapsulation section data is the section stream, not raw format. Then, L= eaf section can be extracted from encapsulation section. Thanks Liming -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Andr= ew Fish Sent: Wednesday, December 21, 2016 8:27 AM To: edk2-devel Subject: [edk2] FDF Spec question? Is it possible in the FDF syntax to make the payload of a EFI_SECTION_GUID_= DEFINED (Encapsulating section) a raw binary file? I can make the contents of the GUID'ed encapsulation section a section. But= when I'm processing the GUID'ed section I just end up skipping over the ex= tra 4 byte section header so it is unused space.=20 SECTION GUIDED 4C2B8C75-C6F6-11E6-B483-B8E8562CBAFA PROCESSING_REQUIRED = =3D TRUE { SECTION RAW =3D $(WORKSPACE)/MyPackage/MyNewType/Binary/newform.bin } There is a syntax to make a leaf section a binary file.=20 SECTION SUBTYPE_GUID AFC13561-9A65-4754-9C93-E133B3B8767C =3D $(WORKSPACE= )/MyPackage/MyNewType/Binary/newform.bin Thanks, Andrew Fish _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel