diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-12-10 07:30:02 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-10 07:30:02 +0000 |
commit | 5b2f873d3d5d0d2c65f3ffa6cd459822e9b06619 (patch) | |
tree | 15aab0280eb3f9dffef1ebcd445d6a3e171d5957 /ShellPkg/ShellPkg.dsc | |
parent | 09281aceec8e7eb24dab0421134f11fbf8bf9af9 (diff) | |
download | edk2-platforms-5b2f873d3d5d0d2c65f3ffa6cd459822e9b06619.tar.xz |
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.
(Sync patch r19181 from main trunk.)
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/branches/UDK2015@19209 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/ShellPkg.dsc')
-rw-r--r-- | ShellPkg/ShellPkg.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index c2ce4f9ab3..c9ed0f8fba 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -49,6 +49,7 @@ PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
+ IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
[LibraryClasses.ARM]
#
|