mirror_edk2/ShellPkg/Library
Ruiyu Ni 304316f430 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
2015-12-10 04:18:35 +00:00
..
UefiDpLib ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
UefiHandleParsingLib ShellPkg: Make 'dh' support showing all spec defined protocols. 2015-12-09 23:08:07 +00:00
UefiShellBcfgCommandLib ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
UefiShellCEntryLib ShellPkg: Refine the fomat in INF/DEC files to follow spec. 2015-01-22 01:44:11 +00:00
UefiShellCommandLib ShellPkg: Refine the code to reduce time cost of 'map -r' 2015-12-08 02:00:16 +00:00
UefiShellDebug1CommandsLib ShellPkg/mm: Fix mm to support multiple root bridge platform 2015-12-10 04:18:35 +00:00
UefiShellDriver1CommandsLib ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
UefiShellInstall1CommandsLib ShellPkg: Refine the fomat in INF/DEC files to follow spec. 2015-01-22 01:44:11 +00:00
UefiShellLevel1CommandsLib ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
UefiShellLevel2CommandsLib ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
UefiShellLevel3CommandsLib ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
UefiShellLib ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir(). 2015-10-23 02:03:20 +00:00
UefiShellNetwork1CommandsLib ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
UefiShellTftpCommandLib ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00