From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 832CA21A09132 for ; Wed, 17 May 2017 22:18:44 -0700 (PDT) Received: by mail-oi0-x231.google.com with SMTP id w10so41143951oif.0 for ; Wed, 17 May 2017 22:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=reply-to:subject:references:to:from:message-id:date:user-agent :in-reply-to:content-transfer-encoding:mime-version; bh=QZI544KFzaIGqBseXaqt+j9b0oC5i+rUAiwmju8QuyE=; b=ioHuguovG9o2MY6/4xQuAGyUD8Cig6Zgjj65evwbiAOgDzTkHPquTSMTbUiBEeVyWK eDRGFs8fkv3x696gt0qF0G2FEsxXMZ+isMFMvIfsceW5yBdTPuQmecywyb/0JqB8QIwA BO8HdPIZubN36jcJW8BMlNcotJ/UUfFwcQyLc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:references:to:from:message-id :date:user-agent:in-reply-to:content-transfer-encoding:mime-version; bh=QZI544KFzaIGqBseXaqt+j9b0oC5i+rUAiwmju8QuyE=; b=XTLsMmFQGYgB7vgFS/TuGlV/vKGZox+CEI0MnfKEKN+OYKbW1MQ2E/gX4Vq68W7+Ll TDKhLFlWI/6vuUID7LC4M3rxBnyU7h6X5XLG6CbhfTt41Z0Np+NsAGY+TG2zi83XL72z YpwpgoOCnkLkxA/TTf6QFbUfJkVSAZpnp4ZW/g/fyra7jDCY+mopfdttxDMa6QxMDZMs Mszs1rnzNZ0RxPJnYSayP94MM+Zt0y5A5hRoPfGNV6vjNyBco+IiVjbsgFXDf1/PHshP uyatBmVJohZLPEayuL2MIWonbNrPIxM13GVkWd7iGLXSep4c8uS32pVyrWc/l9UMLHUQ bipw== X-Gm-Message-State: AODbwcCfyonxNXyL8XlKJD053BMa1G4RSii0jAwsjV6Y3MP42UdvBB7x yl15Cc7eytqmnG57q2ZhLA== X-Received: by 10.157.14.112 with SMTP id n45mr1261015otd.171.1495084723088; Wed, 17 May 2017 22:18:43 -0700 (PDT) Received: from CY1PR15MB0730.namprd15.prod.outlook.com ([132.245.253.237]) by smtp.gmail.com with ESMTPSA id r138sm2132465oie.36.2017.05.17.22.18.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 May 2017 22:18:42 -0700 (PDT) Received: from BLU436-SMTP18 (10.167.130.143) by CY1PR15MB0730.namprd15.prod.outlook.com (10.169.21.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14 via Mailbox Transport; Thu, 18 May 2017 04:51:16 +0000 Reply-To: References: To: From: Haojian Zhuang Message-ID: Date: Thu, 18 May 2017 12:51:06 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: X-OriginalArrivalTime: 18 May 2017 04:51:09.0795 (UTC) FILETIME=[5E17AB30:01D2CF92] X-MS-Exchange-Organization-Network-Message-Id: 223a4573-ca25-43cd-f26a-08d49da98500 X-MS-Exchange-Organization-AuthSource: CY1PR15MB0730.namprd15.prod.outlook.com X-MS-Exchange-Organization-AuthAs: Anonymous X-Microsoft-Original-Message-ID: MIME-Version: 1.0 Subject: Re: UEFI_DRIVER dependencies 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, 18 May 2017 05:18:44 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 2017/5/18 12:43, Michael Zimmermann wrote: > I know that UEFI_DRIVERs don't need or support Depex sections, but > what if an UEFI_DRIVER depends on a protocol provided by another > UEFI_DRIVER? > Since they get loaded automatically because I put them in my > platform's fdf, it raises the question of the loading order. > > Will they get loaded in the order they're defined? How often will the > core retry if one of the drivers returns EFI_NOT_READY? > Just adjust the driver sequence in both dsc and fdf file. Then they will get loaded in your order. Regards Haojian