From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 9F73A80297 for ; Wed, 15 Mar 2017 19:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489631394; x=1521167394; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=DmECUDPYCIyudq4bPQIKjNuuc0NTh8vQ1whTucUrIKo=; b=K3505JUwjOcIT1EZMV033GEqHc910tXX/NTARovlZ1tFLKryuSPpUNoo 4VEC0LSKVRmFKo/E8QgOgfyuaUh8yA==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2017 19:29:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,170,1486454400"; d="scan'208";a="944823305" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 15 Mar 2017 19:29:50 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 15 Mar 2017 19:29:45 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 15 Mar 2017 19:29:45 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Thu, 16 Mar 2017 10:29:43 +0800 From: "Gao, Liming" To: Michael Zimmermann , Andrew Fish CC: Laszlo Ersek , "Tian, Feng" , "edk2-devel@lists.01.org" , "Zeng, Star" Thread-Topic: [edk2] how to load drivers from additional FV's? Thread-Index: AQHSnZ3xWjPw6G/YmEq05V8vLvlNeqGVfACAgAAG7QCAAASIgIAAA8IAgAEu3AA= Date: Thu, 16 Mar 2017 02:29:42 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6F0AC8@shsmsx102.ccr.corp.intel.com> References: <426920F0-4266-4BB2-BF19-40715A0F1C01@apple.com> <385c68bb-4a3f-e586-f62b-9dd9f9c6490b@redhat.com> <75A865F3-53E6-4C54-91A0-46A32E3CAB84@apple.com> In-Reply-To: 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: how to load drivers from additional FV's? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 02:29:54 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TWljaGFlbDoNCiAgSSBhZ3JlZSB0aGlzIGlzIGFuIGlzc3VlIGluIFBlaUNvcmUgYW5kIER4ZUNv cmUsIGJlY2F1c2UgUEkgc3BlYyBoYXMgbm8gbGltaXRhdGlvbiB0byBuZXN0IEZWIG51bWJlci4g Q291bGQgeW91IGhlbHAgc3VibWl0IG9uZSB0cmFja2VyIGluIGJ1Z3ppbGxhcj8gV2Ugd2lsbCBm aXggaXQuIA0KDQpUaGFua3MNCkxpbWluZw0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0K PiBGcm9tOiBNaWNoYWVsIFppbW1lcm1hbm4gW21haWx0bzpzaWdtYWVwc2lsb245MkBnbWFpbC5j b21dDQo+IFNlbnQ6IFRodXJzZGF5LCBNYXJjaCAxNiwgMjAxNyAxMjowOCBBTQ0KPiBUbzogQW5k cmV3IEZpc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