From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in6.apple.com (mail-out6.apple.com [17.151.62.28]) (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 939D51A1E4F for ; Tue, 18 Oct 2016 11:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1476815859; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jT9qO7wdDVeFu3NImQ3he4CsrvbQEYLpSchQ8aWdYqE=; b=B0IZfIDn63Kixms6YjiXdZ56ANE2CyI8LdCnV5erIpqsHVnkV/PMqZVQKG2ETo1u INQ4tzaKzVe6q7JWQrPsY74s871aadYV2+LB2LAXqKwil03rKA6e5gpN+JHhcvkA 3WFbpHZ8qFQ4UgfHAUeWXzdKq7o0weF3f+Spy8IxdDm/ZzSLM1ur8Vm4ViMOrpB6 eCbjZfl6Scm40Apo7v6U38YqCMlaeW+RFmon+DAzV+nf2LqwXdAZMAzZT9f/WCv5 /dVdSuQFEAJPK2t8RdBCJSsCQ0+aquHekm8nNk9cCRDMagt/MaXDlPVZcbk5whKx +kc28rVFEnvzjY0mG/nzQQ==; Received: from relay5.apple.com (relay5.apple.com [17.128.113.88]) by mail-in6.apple.com (Apple Secure Mail Relay) with SMTP id BC.4D.06862.2FB66085; Tue, 18 Oct 2016 11:37:39 -0700 (PDT) X-AuditID: 11973e15-945b79a000001ace-63-58066bf31c66 Received: from sesame.apple.com (sesame.apple.com [17.128.115.128]) by relay5.apple.com (Apple SCV relay) with SMTP id AC.FA.27929.2FB66085; Tue, 18 Oct 2016 11:37:38 -0700 (PDT) MIME-version: 1.0 Received: from da0601a-dhcp125.apple.com ([17.226.15.125]) by sesame.apple.com (Oracle Communications Messaging Server 8.0.1.1.0 64bit (built Jun 15 2016)) with ESMTPSA id <0OF900KL3AEQVP90@sesame.apple.com>; Tue, 18 Oct 2016 11:37:38 -0700 (PDT) Sender: afish@apple.com From: Andrew Fish In-reply-to: <4e344fbc-5d83-c963-2867-461d40832c8d@redhat.com> Date: Tue, 18 Oct 2016 11:37:38 -0700 Cc: Saqib Khan , edk2-devel@ml01.01.org Message-id: <3F7BA679-11EF-4067-92D7-CC58777CB6DC@apple.com> References: <4e344fbc-5d83-c963-2867-461d40832c8d@redhat.com> To: Laszlo Ersek X-Mailer: Apple Mail (2.3226) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKLMWRmVeSWpSXmKPExsUi2FAYofs5my3CYM9cZot1e76xWyw7toPF ouPDMUYHZo+ds+6ye0y68JjZ4/2+q2wBzFFcNimpOZllqUX6dglcGXPXtTMWHGKv2PV+G2MD YxNbFyMnh4SAiUTv7clMXYxcHEICexkl5q+eywST+LZpHitEYgujxLF5M5lBErwCghI/Jt9j 6WLk4GAWkJc4eF4WJMwsoCXx/VErC0T9H0aJJXPeM4IkhAXEJd6d2cQMYXtKnGnrBbPZBJQl Vsz/wA5icwrYSdx6OQXsIhYBVYmtW88yQwx1lFh+9DILxF4biQcnJkId1MYo0X/vINgCEQEV idkTHjCBHCQhICsx+5cXSI2EwAE2iROvNjNPYBSeheTuWQh3z0Jy9wJG5lWMQrmJmTm6mXlm eokFBTmpesn5uZsYQeE+3U50B+OZVVaHGAU4GJV4eBfYskUIsSaWFVfmHmKU5mBREudVjAAK CaQnlqRmp6YWpBbFF5XmpBYfYmTi4JRqYNRoX7FG8aPP5IdNMoUtR7UO/L3sZOC4r47pn4LL Yo4mJvFJZUvdfefesN8sM+HR00N7ZgheXPJ6I2NUxcvodGe56y4vZ4jfuB4fy3rq+f5Ju+1n f9xr8LknzzT92eydp9PfeWdqqvjUTdtcvDPCj+8+1/Tl5h9K7j/wnS96bVotR7D8/6gQViEl luKMREMt5qLiRAB6uijcWAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkeLIzCtJLcpLzFFi42IRbChu0P2UzRZh8OKJpcW6Pd/YLZYd28Fi 0fHhGKMDs8fOWXfZPSZdeMzs8X7fVbYA5igum5TUnMyy1CJ9uwSujLnr2hkLDrFX7Hq/jbGB sYmti5GTQ0LAROLbpnmsELaYxIV764HiXBxCAlsYJY7Nm8kMkuAVEJT4MfkeSxcjBwezgLzE wfOyIGFmAS2J749aWSDq/zBKLJnznhEkISwgLvHuzCZmCNtT4kxbL5jNJqAssWL+B3YQm1PA TuLWyylgR7AIqEps3XqWGWKoo8Tyo5dZIPbaSDw4MZEVYkEbo0T/vYNgC0QEVCRmT3jABHKQ hICsxOxfXhMYBWchOXUWwqmzkJy6gJF5FaNAUWpOYqWpXmJBQU6qXnJ+7iZGcNgWRuxg/L/M 6hCjAAejEg/vAlu2CCHWxLLiytxDjBIczEoivLfSgEK8KYmVValF+fFFpTmpxYcYk4Hun8gs JZqcD4ypvJJ4QxMTAxNjYzNjY3MTc9KElcR5J6axRggJpCeWpGanphakFsFsYeLglGpgPPfu 5pG+mTtKufImuph31F9aWKep6zwrctWTotrt0U0Kaq219a8M828+fRMq2OUnl9Q5r/jNTLm8 T1uMDi5++TalOGStyPlXErZzM17Und3aEp9/12anuNjXx07dej53j0iVSkcYnfy6LPvqnaIP 7RdnOWgv5lzic5PdQ7WdcYnsClf1qbx+SizFGYmGWsxFxYkAaLYiT58CAAA= Subject: Re: How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable 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: Tue, 18 Oct 2016 18:37:39 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > On Oct 18, 2016, at 10:40 AM, Laszlo Ersek wrote: > > On 10/18/16 19:18, Saqib Khan wrote: >> Hi, >> I can not find structure of BOOTXXXX variable, Can any one help how to >> extract device path from BOOTXXXX variable. > > In UEFI-related questions, the UEFI specification has a fair chance to > provide useful information. > > Please refer to "3.1.3 Load Options" in the UEFI v2.6 spec, available > for download from . > > Locating the matching structure definition in the edk2 tree is left as > an exercise to the reader ;) > Chapter 3 Boot Manager. The structure is EFI_LOAD_OPTION but some of the fields are variable length so you have to do math to figure stuff out. Thanks, Andrew Fish > Laszlo > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel