History log of /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f87b742ab4c984986e0ff70ba64ffd4e6e36a25b 14-Dec-2015 Michael Kinney <michael.d.kinney@intel.com> ShellPkg/Mm: Fix build warnings

Fix build warnings for potentially uninitialized local variables
in the functions ShellMmLocateIoProtocol() and ShellCommandRunMm()
in the Shell implementation of the 'mm' command.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19233 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
02d3482574ed2b0b5435563c234563bea2167634 13-Dec-2015 Qiu Shumin <shumin.qiu@intel.com> ShellPkg: Initialize the local pointer to avoid potential suspicious dereference.

1. Initialize the local pointer 'HandleBuffer'.
2. When 'LocateHandleBuffer' return error 'HandleBuffer' is expected unchanged, add code make sure this.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19229 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
304316f430519b5a84cf7402d1721d22ba6f94b7 10-Dec-2015 Ruiyu Ni <ruiyu.ni@intel.com> ShellPkg/mm: Fix mm to support multiple root bridge platform

In multiple root bridge platforms, different root bridges may
share the same segment but occupy different range of buses,
or may occupy different segments.
The fix is to find the correct root bridge IO instance by
comparing not only the segment but also the bus ranges.
It tries to access the MMIO and IO in the following order:
PciRootBridgeIo, CpuIo and direct IO.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19181 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
c011b6c9e2baf57fc0557117e9875ceb3dca55a3 04-Feb-2015 Tapan Shah <tapandshah@hp.com> ShellPkg: Standardized HP Copyright Message String

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16759 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
4092a8f6d01ae22513dc0cf4b4ec547be265bbbf 03-Feb-2015 Tapan Shah <tapandshah@hp.com> ShellPkg: Update Debug1 profile commands response output

Updates to Debug1 profile commands response output.
Updating Debug1 profile commands source code to include command name as a prefix in error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16729 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
81cd2f536ef0097392b51f96405321ce7b01350c 26-Jun-2014 Eric Dong <eric.dong@intel.com> Refine code to make it more safely.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15593 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
f79868cd18238805fe64d2ceca573e7c85ea8146 20-Nov-2013 Jaben Carsey <jaben.carsey@intel.com> ShellPkg: Change MM command output during script execution
- Automatically use non-interactive mode during script execution.
- Automatically use non-interactive mode when a specific value is read (omitting this behavior was a violation of the UEFI Shell Spec)
- Only output the value read in when reading a value in a script; this allows automated use of the MM command.


Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Chris Phillips <chrisp@hp.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14874 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
e755a4ca10aad316c3620223206d63982793b26c 07-May-2013 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> ShellPkg: Fixed build error 'variable set but not used'

GCC toolchain cannot build ShellPkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14326 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
a7e57bd9e046508269db426766e4443bbf676fc5 07-Aug-2012 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> The format strings are using notations that require UINTNs (like "0x%02x") but a UINT64 type was being passed instead. This patch adds a typecast to UINTN so the print processing works correctly.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen eugene@hp.com
Reviewed-by: Eric Dong <eric.dong@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13597 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
a0cd353dd2c9db074dfa90cb8df90f52c61f832f 08-Sep-2011 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> ShellPkg: allow for mm command to properly write PCIe in non-interactive mode.

Submitted-by: jcarsey
Reviewed-by: jljusten
Reviewed-by: marothma



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12299 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
e0c2cc6f8975adde2c8605ae7fd76237bbcc7539 07-Apr-2011 andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> Fix Xcode, clang, and ARM build and link issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11513 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
f3c59716269340784b2045b483f4c1c0deab017e 05-Apr-2011 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> add some parens.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11506 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
3737ac2bc3c2e6589d88be97345d641ea2006933 25-Mar-2011 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> comp - add comments and add input verification
bcfg - updated for bugs.
compress - rename for coding standards. add comments.
dblk - add comments, input verification, and a header line
dmem - add comments, add input verification, add system table info
dmpstore - add comments
eficompress - add comments and add input verification
efidecompress - add comments and add input verification
loadpcirom - add comments and more output messages
memmap - add more output to exceed the spec.
mm - move functions, add comments, add input verification.
mode - add comment
pci - add input verification.
SerMode - add comments and add input verification
setsize - add comments and add input verification
setvar - add comments and add input verification
smbiosview - add input verification.

clarify error messages.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11438 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c
5d73d92f560b079f41f62e91d15ddc1fda897867 16-Nov-2010 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> Add "Debug1" profile (all but Edit and HexEdit commands)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11068 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Mm.c