<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	「Step to UEFI (36) &#8212;&#8211; 枚举Shell下的全部盘符」的评论	</title>
	<atom:link href="https://www.lab-z.com/shellfsx/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lab-z.com/shellfsx/</link>
	<description></description>
	<lastBuildDate>Thu, 30 Nov 2023 06:51:58 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		评论者：蒲公英		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-325840</link>

		<dc:creator><![CDATA[蒲公英]]></dc:creator>
		<pubDate>Thu, 30 Nov 2023 06:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-325840</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/shellfsx/#comment-325742&quot;&gt;ziv2013&lt;/a&gt;。

根据map.c可以得到FS0:;F1:，想了几种办法解析不出来FS0。]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/shellfsx/#comment-325742">ziv2013</a>。</p>
<p>根据map.c可以得到FS0:;F1:，想了几种办法解析不出来FS0。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：蒲公英		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-325811</link>

		<dc:creator><![CDATA[蒲公英]]></dc:creator>
		<pubDate>Thu, 30 Nov 2023 00:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-325811</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/shellfsx/#comment-325742&quot;&gt;ziv2013&lt;/a&gt;。

好的，我自己先看看map.c代码。]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/shellfsx/#comment-325742">ziv2013</a>。</p>
<p>好的，我自己先看看map.c代码。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：ziv2013		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-325742</link>

		<dc:creator><![CDATA[ziv2013]]></dc:creator>
		<pubDate>Wed, 29 Nov 2023 12:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-325742</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/shellfsx/#comment-325711&quot;&gt;蒲公英&lt;/a&gt;。

抽空我研究一下，估计是因为那个  Protocol 不再支持了。]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/shellfsx/#comment-325711">蒲公英</a>。</p>
<p>抽空我研究一下，估计是因为那个  Protocol 不再支持了。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：蒲公英		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-325711</link>

		<dc:creator><![CDATA[蒲公英]]></dc:creator>
		<pubDate>Wed, 29 Nov 2023 08:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-325711</guid>

					<description><![CDATA[直接运行efi不输出，源码在最新的EDK下会崩溃，
根据新的ShellPkg，\ShellPkg\Library\UefiShellLib\UefiShellLib.c
Status = gBS-&#062;OpenProtocol(
    gImageHandle,
    &#038;gEfiShellProtocolGuid,
    (VOID **)&#038;gEfiShellProtocol,
    gImageHandle,
    NULL,
    EFI_OPEN_PROTOCOL_GET_PROTOCOL
   );
改为
Status = gBS-&#062;OpenProtocol(
    ImageHandle,
    &#038;gEfiShellEnvironment2Guid,
    (VOID **)&#038;mEfiShellEnvironment2,
    ImageHandle,
    NULL,
    EFI_OPEN_PROTOCOL_GET_PROTOCOL
   );

运行报Invalid Parameter]]></description>
			<content:encoded><![CDATA[<p>直接运行efi不输出，源码在最新的EDK下会崩溃，<br />
根据新的ShellPkg，\ShellPkg\Library\UefiShellLib\UefiShellLib.c<br />
Status = gBS-&gt;OpenProtocol(<br />
    gImageHandle,<br />
    &amp;gEfiShellProtocolGuid,<br />
    (VOID **)&amp;gEfiShellProtocol,<br />
    gImageHandle,<br />
    NULL,<br />
    EFI_OPEN_PROTOCOL_GET_PROTOCOL<br />
   );<br />
改为<br />
Status = gBS-&gt;OpenProtocol(<br />
    ImageHandle,<br />
    &amp;gEfiShellEnvironment2Guid,<br />
    (VOID **)&amp;mEfiShellEnvironment2,<br />
    ImageHandle,<br />
    NULL,<br />
    EFI_OPEN_PROTOCOL_GET_PROTOCOL<br />
   );</p>
<p>运行报Invalid Parameter</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：ziv2013		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-63322</link>

		<dc:creator><![CDATA[ziv2013]]></dc:creator>
		<pubDate>Tue, 13 Aug 2019 04:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-63322</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/shellfsx/#comment-63314&quot;&gt;huaKing&lt;/a&gt;。

有一种是设置易失的环境变量应该不是写道 nvram 中的。你可以参考一下:  http://www.lab-z.com/stu97/

再不行你就自己加入一个 Protcol 用自定义的 Protocol 来传递参数试试。]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/shellfsx/#comment-63314">huaKing</a>。</p>
<p>有一种是设置易失的环境变量应该不是写道 nvram 中的。你可以参考一下:  <a href="http://www.lab-z.com/stu97/" rel="ugc">http://www.lab-z.com/stu97/</a></p>
<p>再不行你就自己加入一个 Protcol 用自定义的 Protocol 来传递参数试试。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：huaKing		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-63318</link>

		<dc:creator><![CDATA[huaKing]]></dc:creator>
		<pubDate>Tue, 13 Aug 2019 02:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-63318</guid>

					<description><![CDATA[我发现gEfiShellProtocol locate不到跟shell版本有关，在某个shell.efi环境中locateProtocol就是正常的。]]></description>
			<content:encoded><![CDATA[<p>我发现gEfiShellProtocol locate不到跟shell版本有关，在某个shell.efi环境中locateProtocol就是正常的。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：huaKing		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-63314</link>

		<dc:creator><![CDATA[huaKing]]></dc:creator>
		<pubDate>Tue, 13 Aug 2019 00:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-63314</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/shellfsx/#comment-63280&quot;&gt;ziv2013&lt;/a&gt;。

gST-&#062;SetVariable是操作NVRAM的，NVRAM在运行第三方efi程序前会被清掉，其实我做的功能就是要在更新BIOS之前做backup]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/shellfsx/#comment-63280">ziv2013</a>。</p>
<p>gST-&gt;SetVariable是操作NVRAM的，NVRAM在运行第三方efi程序前会被清掉，其实我做的功能就是要在更新BIOS之前做backup</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：ziv2013		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-63280</link>

		<dc:creator><![CDATA[ziv2013]]></dc:creator>
		<pubDate>Mon, 12 Aug 2019 11:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-63280</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/shellfsx/#comment-63264&quot;&gt;huaKing&lt;/a&gt;。

要不试试用 gST-&gt;SetVariable() 看看传一下？]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/shellfsx/#comment-63264">huaKing</a>。</p>
<p>要不试试用 gST->SetVariable() 看看传一下？</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：huaKing		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-63264</link>

		<dc:creator><![CDATA[huaKing]]></dc:creator>
		<pubDate>Mon, 12 Aug 2019 01:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-63264</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/shellfsx/#comment-63104&quot;&gt;ziv2013&lt;/a&gt;。

感谢回复！
我现在在用UDK2015和UDK2018写UEFI程序，这两个EKD2 source只有gEfiShellProtocol这个protocol有setEnv，没办法用mEfiShellEnvironment2。
我的APP要完成的功能是从文件中获取UUID的字符串作为参数传给第三方efi程序。
我是初学者，只想到把UUID SetEnv到一个var，然后xxx.efi %var%运行第三方efi。除此以外还有别的好办法吗? 谢谢！]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/shellfsx/#comment-63104">ziv2013</a>。</p>
<p>感谢回复！<br />
我现在在用UDK2015和UDK2018写UEFI程序，这两个EKD2 source只有gEfiShellProtocol这个protocol有setEnv，没办法用mEfiShellEnvironment2。<br />
我的APP要完成的功能是从文件中获取UUID的字符串作为参数传给第三方efi程序。<br />
我是初学者，只想到把UUID SetEnv到一个var，然后xxx.efi %var%运行第三方efi。除此以外还有别的好办法吗? 谢谢！</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：ziv2013		</title>
		<link>https://www.lab-z.com/shellfsx/#comment-63104</link>

		<dc:creator><![CDATA[ziv2013]]></dc:creator>
		<pubDate>Sat, 10 Aug 2019 12:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lab-z.com/?p=2673#comment-63104</guid>

					<description><![CDATA[回复给 &lt;a href=&quot;https://www.lab-z.com/shellfsx/#comment-63019&quot;&gt;huaKing&lt;/a&gt;。

要不你考虑换一个带有 mEfiShellEnvironment2 的 UEFI Shell ？]]></description>
			<content:encoded><![CDATA[<p>回复给 <a href="https://www.lab-z.com/shellfsx/#comment-63019">huaKing</a>。</p>
<p>要不你考虑换一个带有 mEfiShellEnvironment2 的 UEFI Shell ？</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
