From 304316f430519b5a84cf7402d1721d22ba6f94b7 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Thu, 10 Dec 2015 04:18:35 +0000 Subject: 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 Reviewed-by: Michael Kinney git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19181 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/ShellPkg.dsc | 1 + 1 file changed, 1 insertion(+) (limited to 'ShellPkg/ShellPkg.dsc') diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index 33ee76c6e1..7e07cfb437 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] # -- cgit v1.2.3