<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/ShellPkg/Application/Shell/ShellProtocol.c, branch trunk</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2024-06-04T03:43:08+00:00</updated>
<entry>
<title>Renormalized end-of-lines from master@27b044605cd5f6b33a3d231576003850b3fe305b</title>
<updated>2024-06-04T03:43:08+00:00</updated>
<author>
<name>kx</name>
<email>kx@radix.pro</email>
</author>
<published>2024-06-04T03:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7e2ccccace24636f29ddc210b94606abd4c7e42b'/>
<id>urn:sha1:7e2ccccace24636f29ddc210b94606abd4c7e42b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ShellPkg: Fix conditionally uninitialized variables</title>
<updated>2023-04-03T15:29:08+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2022-11-08T20:35:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=11dd44dfbefab2ca0b9160bb5ebe40bc1c70f7c1'/>
<id>urn:sha1:11dd44dfbefab2ca0b9160bb5ebe40bc1c70f7c1</id>
<content type='text'>
Fixes CodeQL alerts for CWE-457:
https://cwe.mitre.org/data/definitions/457.html

Cc: Erich McMillan &lt;emcmillan@microsoft.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Co-authored-by: Erich McMillan &lt;emcmillan@microsoft.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Reviewed-by: Oliver Smith-Denny &lt;osd@smith-denny.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Shell: Do not set end device path if already end</title>
<updated>2022-12-13T21:12:47+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2022-12-09T15:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=592bf33a29360e8a447ed8b75daefe94c0888642'/>
<id>urn:sha1:592bf33a29360e8a447ed8b75daefe94c0888642</id>
<content type='text'>
Update Shell Protocol EfiShellGetMapFromDevicePath() to not
set the end if the device path if it is already an end of
entire device path.  This removes a write operation that can
cause failures if the Device Path Protocol is mapped to
read-only memory.  In general Device Path Protocols should not
be modified unless the API explicitly states that the device
path is modified.

Cc: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=47d20b54f9a65b08aa602a1866c1b59a69088dfc'/>
<id>urn:sha1:47d20b54f9a65b08aa602a1866c1b59a69088dfc</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the ShellPkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Ray Ni &lt;ray.ni@intel.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/ShellProtocol: sort files by FullName in RemoveDupInFileList()</title>
<updated>2021-01-19T18:23:28+00:00</updated>
<author>
<name>Laszlo Ersek</name>
<email>lersek@redhat.com</email>
</author>
<published>2021-01-13T08:54:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c8ce60eb2938c7194b317480de7f3d645aecdf6e'/>
<id>urn:sha1:c8ce60eb2938c7194b317480de7f3d645aecdf6e</id>
<content type='text'>
The current implementation of EfiShellRemoveDupInFileList():
- has quadratic time complexity, as a disadvantage, and
- needs no dynamic memory, as an advantage.

Because the UEFI Shell Spec requires
EFI_SHELL_PROTOCOL.RemoveDupInFileList() to succeed at all times, keep the
current method as a fallback (it cannot fail due to needing no dynamic
memory).

However, as a higher priority option, call the new ShellSortFileList()
function at first, separating out and releasing duplicates.
(ShellSortFileList() can fail due to EFI_OUT_OF_RESOURCES.)

Beyond improving the runtime of EfiShellRemoveDupInFileList(), this change
has the extremely desirable effect that the ShellOpenFileMetaArg()
function in the ShellPkg/Library/UefiShellLib instance will produce file
lists that are sorted by FullName.

Consequently, when used with wildcards, the ATTRIB, CP, FOR, LOAD,
LOADPCIROM, LS, MV, RM, TOUCH, TYPE commands will process files in
FullName order. (LS in recursive mode uses wildcards internally.)

Before:

&gt; FS2:\&gt; dir -r -sfo apps
&gt; [...]
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\X64"
&gt; FileInfo,"FS2:\apps\AARCH64"
&gt; FileInfo,"FS2:\"
&gt; FileInfo,"FS2:\apps\IA32"
&gt; FileInfo,"FS2:\apps\X64\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\X64\SmiHandlerProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\"
&gt; FileInfo,"FS2:\apps\X64\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\X64\Cpuid.efi"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\AARCH64\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\"
&gt; FileInfo,"FS2:\apps\AARCH64\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\IA32\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\IA32\SmiHandlerProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\"
&gt; FileInfo,"FS2:\apps\IA32\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\IA32\Cpuid.efi"
&gt; FileInfo,"FS2:\apps\"

After:

&gt; FS2:\&gt; dir -r -sfo apps
&gt; [...]
&gt; FileInfo,"FS2:\"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\AARCH64"
&gt; FileInfo,"FS2:\apps\IA32"
&gt; FileInfo,"FS2:\apps\X64"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\AARCH64\"
&gt; FileInfo,"FS2:\apps\AARCH64\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\IA32\"
&gt; FileInfo,"FS2:\apps\IA32\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\IA32\Cpuid.efi"
&gt; FileInfo,"FS2:\apps\IA32\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\IA32\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\SmiHandlerProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\X64\"
&gt; FileInfo,"FS2:\apps\X64\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\X64\Cpuid.efi"
&gt; FileInfo,"FS2:\apps\X64\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\X64\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\SmiHandlerProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\VariableInfo.efi"

Regarding LS in non-SFO mode, the stability of ShellSortFileList() shows.
The ShellSortFileList() call added to LS in the previous patch re-sorts
the output of ShellOpenFileMetaArg(); and so this patch improves the
ordering between identical FileNames:

Before:

&gt; FS2:\&gt; dir -r apps
&gt; Directory of: FS2:\apps\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  AARCH64
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  IA32
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  X64
&gt;           0 File(s)           0 bytes
&gt;           5 Dir(s)
&gt; Directory of: FS2:\apps\X64\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             126,656  AcpiViewApp.efi
&gt; 12/22/2020  17:53              38,784  Cpuid.efi
&gt; 12/22/2020  17:52              18,752  DumpDynPcd.efi
&gt; 12/22/2020  17:52              26,304  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              34,240  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              11,456  VariableInfo.efi
&gt;           6 File(s)     256,192 bytes
&gt;           2 Dir(s)
&gt; Directory of: FS2:\apps\AARCH64\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             139,264  AcpiViewApp.efi
&gt; 12/22/2020  17:52              32,768  DumpDynPcd.efi
&gt; 12/22/2020  17:52              40,960  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              20,480  VariableInfo.efi
&gt;           4 File(s)     233,472 bytes
&gt;           2 Dir(s)
&gt; Directory of: FS2:\apps\IA32\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             105,536  AcpiViewApp.efi
&gt; 12/22/2020  17:53              36,096  Cpuid.efi
&gt; 12/22/2020  17:52              17,344  DumpDynPcd.efi
&gt; 12/22/2020  17:52              24,192  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              30,720  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              10,880  VariableInfo.efi
&gt;           6 File(s)     224,768 bytes
&gt;           2 Dir(s)
&gt;
&gt; FS2:\&gt; dir apps\*\*.efi
&gt; Directory of: FS2:\apps\*\
&gt; 12/22/2020  17:53             126,656  AcpiViewApp.efi
&gt; 12/22/2020  17:53             139,264  AcpiViewApp.efi
&gt; 12/22/2020  17:53             105,536  AcpiViewApp.efi
&gt; 12/22/2020  17:53              38,784  Cpuid.efi
&gt; 12/22/2020  17:53              36,096  Cpuid.efi
&gt; 12/22/2020  17:52              18,752  DumpDynPcd.efi
&gt; 12/22/2020  17:52              32,768  DumpDynPcd.efi
&gt; 12/22/2020  17:52              17,344  DumpDynPcd.efi
&gt; 12/22/2020  17:52              26,304  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              40,960  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              24,192  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              34,240  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              30,720  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              11,456  VariableInfo.efi
&gt; 12/22/2020  17:52              20,480  VariableInfo.efi
&gt; 12/22/2020  17:52              10,880  VariableInfo.efi
&gt;          16 File(s)     714,432 bytes
&gt;           0 Dir(s)

After:

&gt; FS2:\&gt; dir -r apps
&gt; Directory of: FS2:\apps\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  AARCH64
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  IA32
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  X64
&gt;           0 File(s)           0 bytes
&gt;           5 Dir(s)
&gt; Directory of: FS2:\apps\AARCH64\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             139,264  AcpiViewApp.efi
&gt; 12/22/2020  17:52              32,768  DumpDynPcd.efi
&gt; 12/22/2020  17:52              40,960  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              20,480  VariableInfo.efi
&gt;           4 File(s)     233,472 bytes
&gt;           2 Dir(s)
&gt; Directory of: FS2:\apps\IA32\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             105,536  AcpiViewApp.efi
&gt; 12/22/2020  17:53              36,096  Cpuid.efi
&gt; 12/22/2020  17:52              17,344  DumpDynPcd.efi
&gt; 12/22/2020  17:52              24,192  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              30,720  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              10,880  VariableInfo.efi
&gt;           6 File(s)     224,768 bytes
&gt;           2 Dir(s)
&gt; Directory of: FS2:\apps\X64\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             126,656  AcpiViewApp.efi
&gt; 12/22/2020  17:53              38,784  Cpuid.efi
&gt; 12/22/2020  17:52              18,752  DumpDynPcd.efi
&gt; 12/22/2020  17:52              26,304  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              34,240  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              11,456  VariableInfo.efi
&gt;           6 File(s)     256,192 bytes
&gt;           2 Dir(s)
&gt;
&gt; FS2:\&gt; dir apps\*\*.efi
&gt; Directory of: FS2:\apps\*\
&gt; 12/22/2020  17:53             139,264  AcpiViewApp.efi
&gt; 12/22/2020  17:53             105,536  AcpiViewApp.efi
&gt; 12/22/2020  17:53             126,656  AcpiViewApp.efi
&gt; 12/22/2020  17:53              36,096  Cpuid.efi
&gt; 12/22/2020  17:53              38,784  Cpuid.efi
&gt; 12/22/2020  17:52              32,768  DumpDynPcd.efi
&gt; 12/22/2020  17:52              17,344  DumpDynPcd.efi
&gt; 12/22/2020  17:52              18,752  DumpDynPcd.efi
&gt; 12/22/2020  17:52              40,960  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              24,192  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              26,304  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              30,720  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              34,240  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              20,480  VariableInfo.efi
&gt; 12/22/2020  17:52              10,880  VariableInfo.efi
&gt; 12/22/2020  17:52              11,456  VariableInfo.efi
&gt;          16 File(s)     714,432 bytes
&gt;           0 Dir(s)

Cc: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3151
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Message-Id: &lt;20210113085453.10168-9-lersek@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Application: Fix various typos</title>
<updated>2020-02-10T22:30:07+00:00</updated>
<author>
<name>Antoine Coeur</name>
<email>coeur@gmx.fr</email>
</author>
<published>2020-02-07T01:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6a5033ca3e8868a176a9671d55ad297bac385b1b'/>
<id>urn:sha1:6a5033ca3e8868a176a9671d55ad297bac385b1b</id>
<content type='text'>
Fix various typos in comments and documentation.

Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Signed-off-by: Antoine Coeur &lt;coeur@gmx.fr&gt;
Reviewed-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Reviewed-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Signed-off-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Message-Id: &lt;20200207010831.9046-68-philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/ShellProtocol: Return error code while fail parsing cmd-line</title>
<updated>2019-12-19T05:11:00+00:00</updated>
<author>
<name>Zhichao Gao</name>
<email>zhichao.gao@intel.com</email>
</author>
<published>2019-11-29T08:51:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=95bb203861c5e19b7b7d5d9318e16d82108f2134'/>
<id>urn:sha1:95bb203861c5e19b7b7d5d9318e16d82108f2134</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2395

Errors happened in the arguments parsing is not a critical error.
And it would miss the error status code in the release version of shell.
So replace the ASSERT with returning error status code while fail
parsing command-line in UpdateArgcArgv.

Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Linson Augustine &lt;linson.augustine@intel.com&gt;
Reviewed-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Reviewed-by: Ray Ni &lt;ray.ni@intel.com&gt;
Signed-off-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T17:58:25+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=56ba37463a5ffa44df1c5741184ba0594fadbeba'/>
<id>urn:sha1:56ba37463a5ffa44df1c5741184ba0594fadbeba</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Ray Ni &lt;ray.ni@intel.com&gt;
Reviewed-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg Shell: Remove redundant functions</title>
<updated>2018-09-06T09:47:52+00:00</updated>
<author>
<name>shenglei</name>
<email>shenglei.zhang@intel.com</email>
</author>
<published>2018-08-09T03:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=22cf747fcf75dbfe51e5524ce1f9cf17b19914cd'/>
<id>urn:sha1:22cf747fcf75dbfe51e5524ce1f9cf17b19914cd</id>
<content type='text'>
The redundant functions which are never called have been
removed. They are InternalShellProtocolDebugPrintMessage,
UpdateFileName,RemoveFileTag and IsValidCommandName.
https://bugzilla.tianocore.org/show_bug.cgi?id=1066

Cc: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
Cc: Ruiyu Ni &lt;ruiyu.ni@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei &lt;shenglei.zhang@intel.com&gt;
Reviewed-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/set: Fix EfiShellSetEnv to use case sensitive compare</title>
<updated>2018-08-16T03:38:27+00:00</updated>
<author>
<name>Ruiyu Ni</name>
<email>ruiyu.ni@intel.com</email>
</author>
<published>2018-08-07T09:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0e967dff0642cedaef7bc63e5743f4b081a1db9a'/>
<id>urn:sha1:0e967dff0642cedaef7bc63e5743f4b081a1db9a</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=777

Per Shell spec, the environment variable has a case-sensitive name.
But today's implementation of EfiShellSetEnv() compares the
environment variable name case insensitively, which causes variable
like "CWD" cannot be set due to "cwd" is pre-defined variable.

The patch fixes this issue.

The EfiShellGetEnv() doesn't have such issue because it will
call into ShellFindEnvVarInList() which uses StrCmp().

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni &lt;ruiyu.ni@intel.com&gt;
Reviewed-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
Reviewed-by: Jim Dailey &lt;jim_dailey@dell.com&gt;
</content>
</entry>
</feed>
